DiamondLightSource / httomo

High-throughput tomography pipeline
https://diamondlightsource.github.io/httomo/
BSD 3-Clause "New" or "Revised" License
4 stars 3 forks source link

HTTomo CPU run #373

Closed dkazanc closed 5 hours ago

dkazanc commented 1 week ago

I've noticed that the pure CPU (GPU is unavailable) run HTTomo is possible if we extend this condition to simply return an array instead of using cupy API xp.asnumpy. Then one can simply use the CPU environment and run HTTomo with the CPU backends only. Can be useful to consider this case for the GPU-less users.