gpuopenanalytics / pynvml

Provide Python access to the NVML library for GPU diagnostics
BSD 3-Clause "New" or "Revised" License
205 stars 31 forks source link

Wrong exn for wsl #42

Open lmeyerov opened 2 years ago

lmeyerov commented 2 years ago

For unsupported wsl calls, downstream projects are expecting exn Unsupported but receiving Unknown, and thus failing fast instead of proceeding w/ partial nvidia support: See https://github.com/rapidsai/cudf/issues/9955 + https://github.com/dask/distributed/issues/5628

Instead, wsl calls should realize they're unsupported and pass that along. I'm guessing this may be difficult based on the linked issues.

This falls under the general pynvml wsl support issue: https://github.com/gpuopenanalytics/pynvml/issues/26