Lunderberg commented on PR #16903:
URL: https://github.com/apache/tvm/pull/16903#issuecomment-2064832536

   @vinx13 Thank you for the info on it.  I'm wondering if that's a difference 
in driver versions, because I'm definitely seeing different behavior in 
`cudaGetDeviceCount` based on the environment variable `CUDA_VISIBLE_DEVICES`.  
The screenshot below shows the behavior I am seeing (prior to this PR), where 
checking `kExist` returns the correct output when `CUDA_VISIBLE_DEVICES` is 
used to hide some of the GPUs, but raised an exception when 
`CUDA_VISIBLE_DEVICES` is used to hide every GPU.
   
   
![image](https://github.com/apache/tvm/assets/3888575/2575645d-9d8c-4d0b-804c-4fe1c1d34fe1)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to