-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
install failure of TensorRT #3721
Comments
Maybe network problem, you need a stable vpn |
I'm facing same problem at |
you can offline download |
@lix19937 It's not about network problem. |
I've just resolved the problem by the steps below.
TensorRT/docker/ubuntu-20.04.Dockerfile Line 113 in c0c633c
> ./docker/build.sh --file docker/ubuntu-20.04.Dockerfile --tag tensorrt-ubuntu20.04-cuda12.1
|
hello,do you know why this step was stucked ? “echo "no-apikey\nascii\n" | ngc-cli/ngc config set” |
doing echo "no-apikey\Nascii\n" | ... is really weird. |
for some reason, you have to run ngc-cli/ngc config twice in order for it to work! |
I finally found it. RUN mkdir -p /root/.ngc
RUN echo -e ";WARNING - This is a machine generated file. Do not edit manually.\n\n[COMMAND_MAP]\n\n[UPGRADE]\nlast_upgrade_msg_date = 2024-03-26::09:43:31\n\n[USER_ROLES]\n\n[PRODUCT_NAMES]\n" > /root/.ngc/meta_data
RUN /usr/local/bin/ngc-cli/ngc config set --format_type ascii This works directly. I can do a PR to fix it |
It happened after release new CLI version. I installed specific previous version and it fixed. you can change this line 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 To -> RUN cd /usr/local/bin && wget --content-disposition https://api.ngc.nvidia.com/v2/resources/nvidia/ngc-apps/ngc_cli/versions/3.38.0/files/ngccli_linux.zip -O ngccli_linux.zip && unzip ngccli_linux.zip && chmod u+x ngc-cli/ngc && rm ngccli_linux.zip ngc-cli.md5 && echo "no-apikey\nascii\n" | ngc-cli/ngc config set p.s you can choose specific version here -> https://org.ngc.nvidia.com/setup/installers/cli |
@Goodluckhf Thanks it work for me. |
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.
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 ".
The text was updated successfully, but these errors were encountered: