Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
70c094ad
Unverified
Commit
70c094ad
authored
Aug 25, 2024
by
youkaichao
Committed by
GitHub
Aug 25, 2024
Browse files
[misc][cuda] improve pynvml warning (#7852)
parent
2059b8d9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
vllm/platforms/cuda.py
vllm/platforms/cuda.py
+3
-1
No files found.
vllm/platforms/cuda.py
View file @
70c094ad
...
...
@@ -21,7 +21,9 @@ _R = TypeVar("_R")
if
pynvml
.
__file__
.
endswith
(
"__init__.py"
):
logger
.
warning
(
"You are using a deprecated `pynvml` package. Please install"
" `nvidia-ml-py` instead. See https://pypi.org/project/pynvml "
" `nvidia-ml-py` instead, and make sure to uninstall `pynvml`."
" When both of them are installed, `pynvml` will take precedence"
" and cause errors. See https://pypi.org/project/pynvml "
"for more information."
)
# NVML utils
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment