Skip to content

ci: target benchmark runners by group, not nonexistent label - #2090

Merged
ArthurZucker merged 1 commit into
mainfrom
ci/benchmark-runner-group
Jun 8, 2026
Merged

ArthurZucker merged 1 commit into
mainfrom
ci/benchmark-runner-group

Conversation

@ArthurZucker

Copy link
Copy Markdown
Collaborator

Why

#2084 pinned the benchmark and benchmark-python jobs to runs-on: ubuntu-latest-8-cores to get stable, comparable timings. But no runner with that label is provisioned. The org's larger runners are self-hosted AWS instances in the runner group aws-general-8-plus:

aws-general-8-plus-use1-public-80-t5kbn-runner-7nz7b
aws-general-8-plus-use1-public-80-t5kbn-runner-hdl82
aws-general-8-plus-use1-public-80-t5kbn-runner-756qz
...
Runner group: aws-general-8-plus

Those names are ephemeral/autoscaled, so they can't be pinned individually — and ubuntu-latest-8-cores matches nothing, so both benchmark jobs queue indefinitely.

What

Target the runner group instead of a label:

```yaml
runs-on:
group: aws-general-8-plus
```

for both the Rust (benchmark) and Python (benchmark-python) jobs. The orchestration-only benchmark-trigger job stays on ubuntu-latest.

This fixes the dangling-queue regression introduced by #2084 while keeping its goal: stable baselines on 8+ vCPU runners.

#2084 pinned the benchmark jobs to `ubuntu-latest-8-cores`, but no runner
with that label is provisioned — the org's larger runners live in the
self-hosted runner group `aws-general-8-plus` (ephemeral, autoscaled AWS
instances whose individual names can't be pinned). With the wrong label
the `benchmark` and `benchmark-python` jobs queue indefinitely.

Switch both jobs to `runs-on: { group: aws-general-8-plus }` so they
schedule onto any available runner in that group.
@ArthurZucker
ArthurZucker merged commit 00911f8 into main Jun 8, 2026
30 checks passed
@ArthurZucker
ArthurZucker deleted the ci/benchmark-runner-group branch June 8, 2026 11:40
@HuggingFaceDocBuilderDev

Copy link
Copy Markdown

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants