Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 20 additions & 3 deletions .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,11 @@ on:
required: false
default: ''
type: string
target:
required: false
default: ''
type: string
skip_push:
description: 'Skip pushing benchmark results to the bucket'
required: false
default: false
type: boolean
Expand All @@ -22,14 +25,15 @@ permissions:

jobs:
bench:
if: ${{ !inputs.target }}
name: ${{ matrix.backend.id }}:${{ matrix.target }}
runs-on: ${{ matrix.backend.runner }}
container:
image: ${{ matrix.backend.container }}
strategy:
fail-fast: false
matrix:
backend:
backend: &backend
- id: gfx1151
runner: [self-hosted, Linux, devlab-dispatch, strix-halo]
container: ''
Expand Down Expand Up @@ -143,7 +147,7 @@ jobs:
- unsloth/gpt-oss-20b-GGUF:Q5_K_S
- unsloth/gpt-oss-20b-GGUF:Q6_K
- unsloth/gpt-oss-20b-GGUF:Q8_0
steps:
steps: &steps
- uses: actions/checkout@v5

- name: Install
Expand Down Expand Up @@ -196,3 +200,16 @@ jobs:
VERSION=b$N
python3 -m pip install -U --break-system-packages huggingface_hub
python3 scripts/upload.py "$REPO/$VERSION"

custom:
if: ${{ inputs.target != '' }}
name: ${{ matrix.backend.id }}:${{ matrix.target }}
runs-on: ${{ matrix.backend.runner }}
container:
image: ${{ matrix.backend.container }}
strategy:
matrix:
backend: *backend
target:
- ${{ inputs.target }}
steps: *steps
Loading