You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An officially supported task in the examples folder (such as GLUE/SQuAD, ...)
My own task or dataset (give details below)
Reproduction
Looks like the pynvml version needs to be fixed in the latest release. pip install tensorrt-llm leads to pynvml 12.0.0 but import tensorrt_llm leads to
File "/root/.pyenv/versions/3.10.15/lib/python3.10/site-packages/tensorrt_llm/__init__.py", line 35, in <module>
import tensorrt_llm
File "/root/.pyenv/versions/3.10.15/lib/python3.10/site-packages/tensorrt_llm/__init__.py", line 35, in <module>
import tensorrt_llm.runtime as runtime
File "/root/.pyenv/versions/3.10.15/lib/python3.10/site-packages/tensorrt_llm/runtime/__init__.py", line 22, in <module>
import tensorrt_llm.runtime as runtime
File "/root/.pyenv/versions/3.10.15/lib/python3.10/site-packages/tensorrt_llm/runtime/__init__.py", line 22, in <module>
from .model_runner import ModelRunner
File "/root/.pyenv/versions/3.10.15/lib/python3.10/site-packages/tensorrt_llm/runtime/model_runner.py", line 26, in <module>
from .model_runner import ModelRunner
File "/root/.pyenv/versions/3.10.15/lib/python3.10/site-packages/tensorrt_llm/runtime/model_runner.py", line 26, in <module>
from .. import profiler
File "/root/.pyenv/versions/3.10.15/lib/python3.10/site-packages/tensorrt_llm/profiler.py", line 121, in <module>
from .. import profiler
File "/root/.pyenv/versions/3.10.15/lib/python3.10/site-packages/tensorrt_llm/profiler.py", line 121, in <module>
if pynvml.__version__ < '11.5.0' or driver_version < '526':
if pynvml.__version__ < '11.5.0' or driver_version < '526':
AttributeError: module 'pynvml' has no attribute '__version__'
AttributeError: module 'pynvml' has no attribute '__version__'
Downgrading pynvml to 11.5.0 leads the error to go away.
Expected behavior
import tensorrt-llm should work without error
actual behavior
It is leading to the error above.
additional notes
Maybe there should be additional handling of the pynvml versions in the code
The text was updated successfully, but these errors were encountered:
System Info
Tensorrt-llm v0.14.0
Who can help?
No response
Information
Tasks
examples
folder (such as GLUE/SQuAD, ...)Reproduction
Looks like the pynvml version needs to be fixed in the latest release.
pip install tensorrt-llm
leads topynvml 12.0.0
butimport tensorrt_llm
leads toDowngrading pynvml to
11.5.0
leads the error to go away.Expected behavior
import tensorrt-llm
should work without erroractual behavior
It is leading to the error above.
additional notes
Maybe there should be additional handling of the pynvml versions in the code
The text was updated successfully, but these errors were encountered: