ultralytics 8.3.49 Docker images uv pip install (#18115)
Signed-off-by: UltralyticsAssistant <web@ultralytics.com> Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com> Co-authored-by: UltralyticsAssistant <web@ultralytics.com> Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com> Co-authored-by: Lakshantha Dissanayake <lakshantha@ultralytics.com>
This commit is contained in:
parent
5c31766b0d
commit
6c65d756e4
9 changed files with 24 additions and 23 deletions
|
|
@ -34,12 +34,12 @@ ADD https://github.com/ultralytics/assets/releases/download/v8.3.0/yolo11n.pt .
|
|||
ADD https://nvidia.box.com/shared/static/48dtuob7meiw6ebgfsfqakc9vse62sg4.whl onnxruntime_gpu-1.18.0-cp310-cp310-linux_aarch64.whl
|
||||
|
||||
# Pip install onnxruntime-gpu, torch, torchvision and ultralytics
|
||||
RUN python3 -m pip install --upgrade pip wheel
|
||||
RUN pip install \
|
||||
RUN python3 -m pip install --upgrade pip uv
|
||||
RUN uv pip install --system \
|
||||
onnxruntime_gpu-1.18.0-cp310-cp310-linux_aarch64.whl \
|
||||
https://github.com/ultralytics/assets/releases/download/v0.0.0/torch-2.3.0-cp310-cp310-linux_aarch64.whl \
|
||||
https://github.com/ultralytics/assets/releases/download/v0.0.0/torchvision-0.18.0a0+6043bc2-cp310-cp310-linux_aarch64.whl
|
||||
RUN pip install -e ".[export]"
|
||||
RUN uv pip install --system -e ".[export]"
|
||||
|
||||
# Remove extra build files
|
||||
RUN rm -rf *.whl /root/.config/Ultralytics/persistent_cache.json
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue