Add benchmarks to Docker publish workflow (#3931)

This commit is contained in:
Glenn Jocher 2023-07-25 04:16:02 +02:00 committed by GitHub
parent 2ee147838a
commit 9f5ab67ba2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 54 additions and 43 deletions

View file

@ -76,7 +76,7 @@ jobs:
- name: Run Benchmarks
if: matrix.platforms == 'linux/amd64' # arm64 images not supported on GitHub CI runners
run: |
docker run ultralytics/ultralytics:${{ matrix.tags }} yolo benchmark model=yolov8n.pt imgsz=160
docker run ultralytics/ultralytics:${{ matrix.tags }} yolo benchmark model=yolov8n.pt imgsz=160 verbose=0.26
- name: Push Image
if: github.event_name == 'push' || github.event.inputs.push == true