|
|
|
@ -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' |
|
|
|
|