Closed nyck33 closed 1 year ago
To test your pip package, you'd need to move the tests outside of cuda-python
:
cp cuda-python/examples/ .
cp -r cuda-python/examples/ .
cp -r cuda-python/cuda/tests/ .
python -m pytest tests/
python -m pytest examples/
This is a name conflict between folder structure cuda-python/cuda
and the import call from cuda import cuda
. Therefor importing cuda while inside cuda-python
will look for locally built CUDA Python library.