Update Docker deploy to YOLO11 benchmarks (#16564)
This commit is contained in:
parent
1797506c9f
commit
3e896eae13
1 changed files with 2 additions and 2 deletions
4
.github/workflows/docker.yaml
vendored
4
.github/workflows/docker.yaml
vendored
|
|
@ -140,7 +140,7 @@ jobs:
|
|||
with:
|
||||
timeout_minutes: 120
|
||||
retry_wait_seconds: 60
|
||||
max_attempts: 2 # retry once
|
||||
max_attempts: 3 # retry twice
|
||||
command: |
|
||||
docker build \
|
||||
--platform ${{ matrix.platforms }} \
|
||||
|
|
@ -156,7 +156,7 @@ jobs:
|
|||
- name: Run Benchmarks
|
||||
# WARNING: Dockerfile (GPU) error on TF.js export 'module 'numpy' has no attribute 'object'.
|
||||
if: (github.event_name == 'push' || github.event.inputs[matrix.dockerfile] == 'true') && matrix.platforms == 'linux/amd64' && matrix.dockerfile != 'Dockerfile' && matrix.dockerfile != 'Dockerfile-conda' # arm64 images not supported on GitHub CI runners
|
||||
run: docker run ultralytics/ultralytics:${{ matrix.tags }} yolo benchmark model=yolov8n.pt imgsz=160 verbose=0.318
|
||||
run: docker run ultralytics/ultralytics:${{ matrix.tags }} yolo benchmark model=yolo11n.pt imgsz=160 verbose=0.309
|
||||
|
||||
- name: Push Docker Image with Ultralytics version tag
|
||||
if: (github.event_name == 'push' || (github.event.inputs[matrix.dockerfile] == 'true' && github.event.inputs.push == 'true')) && steps.check_tag.outputs.exists == 'false' && matrix.dockerfile != 'Dockerfile-conda'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue