Runner config #26
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Benchmark v2 Scheduled Runner | |
| on: | |
| schedule: | |
| # Run daily at 2:30 AM UTC | |
| - cron: "30 2 * * *" | |
| push: | |
| branches: | |
| - benchmarking-gh-actions* | |
| workflow_dispatch: | |
| inputs: | |
| model_id: | |
| description: 'Model ID to benchmark (leave empty for default models)' | |
| required: false | |
| default: '' | |
| warmup_iterations: | |
| description: 'Number of warmup iterations' | |
| required: false | |
| type: number | |
| default: 3 | |
| measurement_iterations: | |
| description: 'Number of measurement iterations' | |
| required: false | |
| type: number | |
| default: 5 | |
| num_tokens_to_generate: | |
| description: 'Number of tokens to generate' | |
| required: false | |
| type: number | |
| default: 100 | |
| include_benchmarks: | |
| description: 'Benchmarks to include (comma-separated, e.g., "llama")' | |
| required: false | |
| type: string | |
| default: '' | |
| exclude_benchmarks: | |
| description: 'Benchmarks to exclude (comma-separated)' | |
| required: false | |
| type: string | |
| default: '' | |
| repository_dispatch: | |
| types: [benchmark_v2_trigger] | |
| jobs: | |
| benchmark-v2-default: | |
| name: Benchmark v2 - Default Models | |
| uses: ./.github/workflows/benchmark_v2.yml | |
| with: | |
| runner: aws-g5-4xlarge-cache-use1-public-80 | |
| warmup_iterations: ${{ inputs.warmup_iterations || 3 }} | |
| measurement_iterations: ${{ inputs.measurement_iterations || 5 }} | |
| num_tokens_to_generate: ${{ inputs.num_tokens_to_generate || 100 }} | |
| commit_sha: ${{ github.sha }} | |
| upload_to_hub: true | |
| run_id: ${{ github.run_id }} | |
| benchmark_repo_id: ahadnagy/transformers-benchmarks | |
| secrets: inherit |