Importing certain nabu modules unrelated to cuda will still create cuda contexts
Currently, importing some nabu modules (ex. nabu.pipeline.fullfield.processconfig
) will initialize cuda contexts (mainly because of scikit-cuda).
Example:
python -c "import nabu.pipeline.estimators"
/scisoft/tomotools_env/nabu/ubuntu20.04/cuda11.0.3/x86_64/nabu_2021.2.0/lib/python3.9/site-packages/skcuda/cublas.py:284: UserWarning: creating CUBLAS context to get version number
warnings.warn('creating CUBLAS context to get version number')