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
{{ message }}
Repository navigation
Strange error messages after installation on clean Windows 11 #1062
Traceback (most recent call last):
File "C:\Users\erofm\projects\TensorRT-LLM\examples\llama\convert_checkpoint.py", line 27, in <module>
from tensorrt_llm.models.llama.weight import (load_from_fp8_llama,
ImportError: cannot import name 'load_from_fp8_llama' from 'tensorrt_llm.models.llama.weight' (C:\Program Files\Python310\lib\site-packages\tensorrt_llm\models\llama\weight.py)
changed the title [-]Strang error messages after installation on clean Windows 11[/-][+]Strange error messages after installation on clean Windows 11[/+]on Feb 8, 2024
This maybe because torch and tensorrt are shipped with their own cuDNN libraries, and there are symbol clashes. Clicking OK makes them go away, but a more saner fix is the following
Can you try executing this before doing pip install tensorrt_llm --extra-index-url https://pypi.nvidia.com/ --extra-index-url https://pypi.nvidia.com/ --extra-index-url https://download.pytorch.org/whl/cu121?
Activity
[-]Strang error messages after installation on clean Windows 11[/-][+]Strange error messages after installation on clean Windows 11[/+]gleberof commentedon Feb 8, 2024
I manually replaced the files in C:\Program Files\Python310\Lib\site-packages\nvidia\cudnn from version 8 (installed automatically with tensorrt-llm wheel) by newer version from tar file https://developer.nvidia.com/cudnn-downloads?target_os=Windows&target_arch=x86_64&target_version=Agnostic&cuda_version=12
v9
the error messages are gone.
But the export error still remain - trying to setup docker and build package from scratch
gleberof commentedon Feb 9, 2024
After some struggle manage to build the docker.
main brunch are not buildable
trying to build from rel branch
tp5uiuc commentedon Feb 20, 2024
This maybe because
torchandtensorrtare shipped with their owncuDNNlibraries, and there are symbol clashes. Clicking OK makes them go away, but a more saner fix is the followingCan you try executing this before doing
pip install tensorrt_llm --extra-index-url https://pypi.nvidia.com/ --extra-index-url https://pypi.nvidia.com/ --extra-index-url https://download.pytorch.org/whl/cu121?ryomo commentedon Feb 21, 2024
I had the same issue which has been fixed by your commands.
Thank you !
tp5uiuc commentedon Feb 27, 2024
Marking this as closed, please re-open if you re-encounter the bug :)