Closed FHof closed 2 years ago
This only affects the torch backend. enable_cuda is still needed in the tests where __init__.py is not executed.
enable_cuda
__init__.py
CUDA can be disabled with an environment variable if needed:
CUDA_VISIBLE_DEVICES= python3 -c "from torchquad import enable_cuda; enable_cuda()"
This only affects the torch backend.
enable_cuda
is still needed in the tests where__init__.py
is not executed.CUDA can be disabled with an environment variable if needed: