Fixed accelerator assignement
The CUDA_VISIBLE_DEVICES environement variable is set if a device is specified or we raise an error if it has not been set. Code for accelerator handling has been moved to its own utils script.
parent
2a7513e8
No related branches found
No related tags found
src/ptbench/utils/accelerator.py
0 → 100644
Please register or sign in to comment