Skip to content
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

Nvidia Orin Deployment #1

Open
iMbaGong opened this issue Sep 20, 2024 · 3 comments
Open

Nvidia Orin Deployment #1

iMbaGong opened this issue Sep 20, 2024 · 3 comments
Assignees
Labels
good first issue Good for newcomers

Comments

@iMbaGong
Copy link

iMbaGong commented Sep 20, 2024

Hi, thank for great work!
When I try to build and run the yolo-world tensorrt model on nvidia orin nx(with cuda11.4 and tensorrt8.5.2), i meet a mistake. It's output score all became 100%. When i test on host machine, when docker build from nvcr.io/nvidia/tensorrt:24.02-py3, it is ok. But when it build from nvcr.io/nvidia/tensorrt:23.01-py3, the same problem happened.

@PrinceP PrinceP added the good first issue Good for newcomers label Sep 20, 2024
@PrinceP PrinceP self-assigned this Sep 20, 2024
@PrinceP
Copy link
Owner

PrinceP commented Sep 21, 2024

@iMbaGong Can you provide examples for the output scores of 100%. Is confidence only getting wrong or the boxes are also issue?

Also, The operator einsum might cause issues with older 23.01
https://github.com/AILab-CVC/YOLO-World/blob/master/docs/deploy.md#faq

@iMbaGong
Copy link
Author

iMbaGong commented Sep 21, 2024

just like this
yoloworld_5
And the operator einsum didn't cause a error in 23.01

@iMbaGong
Copy link
Author

iMbaGong commented Sep 21, 2024

@PrinceP You can reproduce the problem by docker below

FROM nvcr.io/nvidia/cuda:11.4.3-devel-ubuntu20.04

# Install required packages for building and running the sample project
RUN apt-get -y update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y tzdata \
&& apt-get update && apt-get install -y \
    build-essential \
    cmake \
    git \
    pkg-config \
    libavcodec-dev \
    libhdf5-dev \
    libavformat-dev \
    libavdevice-dev \
    libcurl4-openssl-dev \
    libssl-dev \
    wget

RUN apt-get install -y \
    libopencv-dev

ENV cuda_version cuda11.8
ENV cudnn_version 8.6.0.163
ENV trt_version 8.5.2

RUN apt-get update \
&& apt-get install libcudnn8=${cudnn_version}-1+${cuda_version} \
    libcudnn8-dev=${cudnn_version}-1+${cuda_version} \
    libnvinfer8=${trt_version}-1+${cuda_version} \
    libnvinfer-plugin8=${trt_version}-1+${cuda_version} \
    libnvonnxparsers8=${trt_version}-1+${cuda_version} \
    libnvparsers8=${trt_version}-1+${cuda_version} \
    libnvinfer-dev=${trt_version}-1+${cuda_version} \
    libnvinfer-plugin-dev=${trt_version}-1+${cuda_version} \
    libnvonnxparsers-dev=${trt_version}-1+${cuda_version} \
    libnvparsers-dev=${trt_version}-1+${cuda_version}


ENV SPDLOGGER_VERSION 1.12.0
RUN wget -P /tmp https://github.com/gabime/spdlog/archive/v${SPDLOGGER_VERSION}.tar.gz
RUN tar -C /tmp -xzf /tmp/v${SPDLOGGER_VERSION}.tar.gz
RUN cp -R /tmp/spdlog-${SPDLOGGER_VERSION}/include/spdlog /usr/include/
RUN rm /tmp/v${SPDLOGGER_VERSION}.tar.gz

RUN rm -rf /workspace
WORKDIR /app

ENV NVIDIA_VISIBLE_DEVICES=all
ENV OPENCV_FFMPEG_LOGLEVEL=0

CMD [ "sleep", "infinity"]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants