Closed SamStudio8 closed 4 years ago
GPUutil returns the desired number of GPU interfaces that are currently available. However, if all the devices are busy, it will return an empty list. We should raise an error here, to prevent a GPU-task being carried out on the CPU only.
GPUutil returns the desired number of GPU interfaces that are currently available. However, if all the devices are busy, it will return an empty list. We should raise an error here, to prevent a GPU-task being carried out on the CPU only.