TensorRT-LLM icon indicating copy to clipboard operation
TensorRT-LLM copied to clipboard

ModuleNotFoundError: No module named 'tensorrt_llm.bindings'

Open FightingMan opened this issue 2 years ago • 4 comments

System Info

CPU:AMD EPYC 7K83 64-Core Processor GPU:A10 OS:linux

Who can help?

No response

Information

  • [X] The official example scripts
  • [ ] My own modified scripts

Tasks

  • [ ] An officially supported task in the examples folder (such as GLUE/SQuAD, ...)
  • [ ] My own task or dataset (give details below)

Reproduction

follow the official guide:https://nvidia.github.io/TensorRT-LLM/installation/linux.html

Expected behavior

OK

actual behavior

root@a2968a9db901:/TensorRT-LLM# python3 -c "import tensorrt_llm" Traceback (most recent call last): File "", line 1, in File "/TensorRT-LLM/tensorrt_llm/init.py", line 32, in import tensorrt_llm.functional as functional File "/TensorRT-LLM/tensorrt_llm/functional.py", line 29, in from . import graph_rewriting as gw File "/TensorRT-LLM/tensorrt_llm/graph_rewriting.py", line 12, in from .network import Network File "/TensorRT-LLM/tensorrt_llm/network.py", line 26, in from tensorrt_llm.module import Module File "/TensorRT-LLM/tensorrt_llm/module.py", line 17, in from ._common import default_net File "/TensorRT-LLM/tensorrt_llm/_common.py", line 30, in from ._utils import str_dtype_to_trt File "/TensorRT-LLM/tensorrt_llm/_utils.py", line 32, in from tensorrt_llm.bindings.BuildInfo import ENABLE_MULTI_DEVICE ModuleNotFoundError: No module named 'tensorrt_llm.bindings'

additional notes

1

FightingMan avatar May 07 '24 07:05 FightingMan

I encountered the same issue, have you resolved it?

tyfeld avatar May 20 '24 15:05 tyfeld

me too, it seems that the latest tensorrt_llm didn't work well

dh12306 avatar May 28 '24 09:05 dh12306

I'm seeing the same issue

avinashahuja avatar Jun 14 '24 06:06 avinashahuja

@FightingMan @avinashahuja @dh12306 @tyfeld @pathorn

Thanks for the reply, has it been resolved yet? I'm experiencing the same problem.

WGS-note avatar Dec 20 '24 07:12 WGS-note