install failure of TensorRT
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 13.4k
- Forks
- 2.4k
- Avg merge
- 5d 3h
- Merged PRs (30d)
- 2
Description
Description
When I install TrensorRT in my Ubuntu22.04 as step No.1 in setup, it always failed at "extracting: ngc-cli.md5 ". And I do not know how to fix this.
...
9.464 inflating: ngc-cli/opentelemetry/proto/common/v1/common_pb2.pyi
9.464 inflating: ngc-cli/opentelemetry/proto/version.py
9.464 creating: ngc-cli/opentelemetry/util/
9.464 inflating: ngc-cli/opentelemetry/util/_once.py
9.464 creating: ngc-cli/opentelemetry/util/__pycache__/
9.464 inflating: ngc-cli/opentelemetry/util/__pycache__/_once.cpython-39.pyc
9.464 inflating: ngc-cli/opentelemetry/util/__pycache__/_providers.cpython-39.pyc
9.464 inflating: ngc-cli/opentelemetry/util/__pycache__/re.cpython-39.pyc
9.464 inflating: ngc-cli/opentelemetry/util/__pycache__/_importlib_metadata.cpython-39.pyc
9.464 inflating: ngc-cli/opentelemetry/util/__pycache__/types.cpython-39.pyc
9.464 inflating: ngc-cli/opentelemetry/util/_importlib_metadata.py
9.464 inflating: ngc-cli/opentelemetry/util/_providers.py
9.464 inflating: ngc-cli/opentelemetry/util/re.py
9.464 inflating: ngc-cli/opentelemetry/util/types.py
9.464 extracting: ngc-cli.md5
71.87 Connection failed; retrying... (Retries left: 5)
137.0 Connection failed; retrying... (Retries left: 4)
202.1 Connection failed; retrying... (Retries left: 3)
267.3 Connection failed; retrying... (Retries left: 2)
332.4 Connection failed; retrying... (Retries left: 1)
332.4 Error: Request timed out.
------
ubuntu-20.04.Dockerfile:109
--------------------
107 |
108 | # Download NGC client
109 | >>> RUN cd /usr/local/bin && wget https://ngc.nvidia.com/downloads/ngccli_cat_linux.zip && unzip ngccli_cat_linux.zip && chmod u+x ngc-cli/ngc && rm ngccli_cat_linux.zip ngc-cli.md5 && echo "no-apikey\nascii\n" | ngc-cli/ngc config set
110 |
111 | # Set environment and working directory
--------------------
ERROR: failed to solve: process "/bin/bash -c cd /usr/local/bin && wget https://ngc.nvidia.com/downloads/ngccli_cat_linux.zip && unzip ngccli_cat_linux.zip && chmod u+x ngc-cli/ngc && rm ngccli_cat_linux.zip ngc-cli.md5 && echo \"no-apikey\\nascii\\n\" | ngc-cli/ngc config set" did not complete successfully: exit code: 1
Environment
TensorRT Version: latest
NVIDIA GPU: 3090
NVIDIA Driver Version: 12.2
CUDA Version: 12.1
Operating System: Ubuntu22.04
Steps To Reproduce
just as step No.1 in setup, it always failed at "extracting: ngc-cli.md5 ".
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with ubuntu-20.04.Dockerfile at line 109 and reproduce the setup step from the linked TensorRT instructions on Ubuntu 22.04. Inspect the NGC client download and extraction output around ngc-cli.md5, then verify the Docker build completes successfully without the reported timeout.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, dockerfile, ubuntu
- Domain
- build-system, devops, operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100