Fix TensorRT export issue by removing redundant package (#19343)

This commit is contained in:
Lakshantha Dissanayake 2025-02-21 00:42:59 -08:00 committed by GitHub
parent c8697bf186
commit 1e908e4374
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -41,8 +41,7 @@ ADD https://github.com/ultralytics/assets/releases/download/v8.3.0/yolo11n.pt .
# Install pip packages
RUN pip install uv
# Note -cu12 must be used with tensorrt
RUN uv pip install --system -e ".[export]" tensorrt-cu12 "albumentations>=1.4.6" comet pycocotools
RUN uv pip install --system -e ".[export]" "albumentations>=1.4.6" comet pycocotools
# Run exports to AutoInstall packages
# Edge TPU export fails the first time so is run twice here