Skip to content

Commit

Permalink
[misc][cuda] improve pynvml warning (#7852)
Browse files Browse the repository at this point in the history
  • Loading branch information
youkaichao authored Aug 25, 2024
1 parent 2059b8d commit 70c094a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion vllm/platforms/cuda.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
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
Expand Down

0 comments on commit 70c094a

Please sign in to comment.