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

Tensorrt_llm install issues

Open KarihaZach opened this issue 2 years ago • 6 comments

System Info

When i install tensorrt_llm and type follow code : pip install tensorrt_llm --extra-index-url https://pypi.nvidia.com --extra-index-url https://download.pytorch.org/whl/cu121 it returns these error: Looking in indexes: https://pypi.org/simple, https://pypi.nvidia.com, https://download.pytorch.org/whl/cu121 Collecting tensorrt_llm Downloading tensorrt-llm-0.7.1.tar.gz (6.9 kB) Preparing metadata (setup.py) ... error error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [6 lines of output] Traceback (most recent call last): File "", line 2, in File "", line 34, in File "C:\Users\KarihaZach\AppData\Local\Temp\pip-install-hqtiy0_9\tensorrt-llm_f9311b1469704ce2bde863e0350fbfed\setup.py", line 90, in raise RuntimeError("Bad params") RuntimeError: Bad params [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed

× Encountered error while generating package metadata. ╰─> See above for output.

note: This is an issue with the package mentioned above, not pip. hint: See above for details. The environment of my computer is win10,cudnn9.0,cuda12.2.2,python 3.10.11.and i was already installed Microsoft MPI(including two file),Every time when i run the wheel,the error always stuck in the "Bad params". Please help me to handle this,thanks a lot!

Who can help?

@juney-nvidia;@ncomly-nvidia;@kaiyux

KarihaZach avatar Feb 22 '24 04:02 KarihaZach

Are you sure you are using Python 3.10?

wimueller avatar Feb 22 '24 22:02 wimueller

same problem.

Edit: changed python3.12 to 3.10 and working now.

nignal avatar Feb 24 '24 03:02 nignal

same here.

I cannot install this package on ubuntu 22.04.

pfldy2850 avatar Mar 05 '24 15:03 pfldy2850

same here.

I cannot install this package on ubuntu 22.04.

Are you using Python 3.10?

Shixiaowei02 avatar Mar 13 '24 06:03 Shixiaowei02

Same here, python 3.10.12 on Ubuntu 22.04.

Install of latest tensorrt_llm-0.9.0.dev2024031200-cp310-cp310-linux_x86_64.whl gives "bad params", previous version works fine.

stephanbertl avatar Mar 13 '24 09:03 stephanbertl

for me it failes on 3.10.12 and works on 3.10.11 (Docker python:3.10.11-slim-buster)

aimestereo avatar Aug 08 '24 20:08 aimestereo

@KarihaZach Do you still have the question? If not, we will close it soon.

hello-11 avatar Nov 15 '24 10:11 hello-11