[CI][AMD] Add opt-in Hugging Face Hub retries#429
Draft
AndreasKaratzas wants to merge 1 commit into
Draft
Conversation
AndreasKaratzas
force-pushed
the
akaratza_hf_hub_offline_ci
branch
from
July 22, 2026 03:54
db02b74 to
e87cac4
Compare
Signed-off-by: Andreas Karatzas <akaratza@amd.com>
AndreasKaratzas
force-pushed
the
akaratza_hf_hub_offline_ci
branch
from
July 22, 2026 21:58
e87cac4 to
a20f748
Compare
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Cached CI jobs should not contact Hugging Face Hub unless the cache is missing something. This change makes the AMD policy opt-in through
VLLM_CI_HF_HUB_MODE. When the variable is unset or empty, both pipeline generators preserve the existing step environment and retry policy.Using the Hub cache in online mode still performs metadata checks, which creates unnecessary traffic and exposes otherwise healthy jobs to rate limits and network timeouts. This PR supports an opt-in AMD rollout in both pipeline generators:
VLLM_CI_HF_HUB_MODEonly to wrapped AMD test steps when it is explicitly enabled. Nightly and PyTorch-nightly builds promote an enabled mode toonline.no_plugincommands, AMD infrastructure steps, the existingAMD_RETRYpolicy, and native source gating.The error classification and request statistics live in vLLM; ci-infra only selects the mode and configures the Buildkite retry. Companion vLLM PR: vllm-project/vllm#49401.
Testing
pytest -q buildkite/tests— 54 passed.pytest -q buildkite/tests/test_amd_template_render.py— 8 passed with MiniJinja 2.3.1.ruff check buildkite/pipeline_generator/amd.py buildkite/pipeline_generator/buildkite_step.py buildkite/tests/pipeline_generator/test_amd.py buildkite/tests/test_amd_template_render.py— passed.git diff --check— passed.