python3Packages.onnxscript: use pynvml instead of deprecated nvidia-ml-py (#513986)
This commit is contained in:
@@ -15,7 +15,8 @@
|
||||
onnx-ir,
|
||||
packaging,
|
||||
typing-extensions,
|
||||
pynvml,
|
||||
# cuda-only:
|
||||
nvidia-ml-py,
|
||||
|
||||
# tests
|
||||
onnxruntime,
|
||||
@@ -58,7 +59,7 @@ buildPythonPackage (finalAttrs: {
|
||||
typing-extensions
|
||||
]
|
||||
++ lib.optionals cudaSupport [
|
||||
pynvml
|
||||
nvidia-ml-py
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "onnxscript" ];
|
||||
|
||||
Reference in New Issue
Block a user