It looks like that installing the cpu only version of the reg toolkit conda package and requesting to run a routine on GPU is possible and leads to an exception: TomographicImaging/CIL#2288
In this function GPU_FUNC in this case is None when the CPU only package is installed and the function raises the exception. This could raise a warning saying that the GPU function is not available and that we will be running on CPU instead, or a better error message.
It looks like that installing the cpu only version of the reg toolkit conda package and requesting to run a routine on GPU is possible and leads to an exception: TomographicImaging/CIL#2288
In this function
GPU_FUNCin this case isNonewhen the CPU only package is installed and the function raises the exception. This could raise a warning saying that the GPU function is not available and that we will be running on CPU instead, or a better error message.