Skip to content

[AMD][CI] Temporarily bypass local-registry image pulls - #36171

Merged
yctseng0211 merged 1 commit into
mainfrom
bingxche/disable-amd-local-registry-pull
Aug 24, 2026
Merged

yctseng0211 merged 1 commit into
mainfrom
bingxche/disable-amd-local-registry-pull

Conversation

@bingxche

@bingxche bingxche commented Aug 24, 2026

Copy link
Copy Markdown
Collaborator

Motivation

AMD CI currently tries the shared local registry before Docker Hub. The nightly jobs that explicitly push newly published images into the local registry are disabled, so a cold image can still trigger a large upstream transfer through that shared path.

During the current incident, job 97284747841 spent about 4 hours 16 minutes pulling rocm/sgl-dev:v0.5.18-rocm724-mi30x-20260823 through the local registry while many AMD runners were active.

Changes

  • Bypass the automatic local-registry pull/tag path in both the standard and disaggregated AMD container launchers.
  • Pull the selected public rocm/sgl-dev image with the existing authenticated, six-attempt exponential-backoff path.
  • Preserve the local Docker daemon cache check.
  • Preserve explicit local-registry custom images passed by --custom-image; this only changes automatic prebuilt-image selection.

This is an intentionally narrow incident-mitigation change. Image selection and container launch behavior are otherwise unchanged.

Risk and rollback

This shifts CI image traffic to Docker Hub and may expose jobs to rate limits or public-network instability. The existing optional Docker Hub login and retry path reduce that risk.

Rollback is straightforward: restore the local-first blocks after local-registry publishing or pre-warming is enabled and the path is verified under expected concurrency.

Testing

bash -n scripts/ci/amd/amd_ci_start_container.sh
bash -n scripts/ci/amd/amd_ci_start_container_disagg.sh
git diff --check

CI States

Latest PR Test (Base): ✅ Run #32711860839
Latest PR Test (Extra): ❌ Run #32711860836
Latest PR Test (AMD ROCm 7.2): ❌ Run #32711860962

@github-actions github-actions Bot added the amd label Aug 24, 2026
@bingxche
bingxche marked this pull request as ready for review August 24, 2026 09:41
@yctseng0211
yctseng0211 merged commit d843386 into main Aug 24, 2026
115 of 121 checks passed
@yctseng0211
yctseng0211 deleted the bingxche/disable-amd-local-registry-pull branch August 24, 2026 09:44
cursor Bot pushed a commit that referenced this pull request Aug 25, 2026
The cache probe measured hits at up to 13-way concurrency, but the pull it
is compared against was only ever measured at low concurrency, so the
speedup mixed two regimes. This adds the same 24-way, no-max-parallel
fan-out with AMD_CI_IMAGE_TARBALL_CACHE=0, so every job pulls from Docker
Hub and the comparison is like-for-like.

The in-network registry is deliberately left unmeasured: #36171 removed
that path from main because concurrent CI pulls saturate it, so no code
remains to exercise, and aiming 24 simultaneous 64 GB pulls at a host
already known to be overloaded would disrupt unrelated jobs.

Co-authored-by: quitenode <quitenode@users.noreply.github.com>
saturn-acc pushed a commit to saturn-acc/sglang that referenced this pull request Aug 31, 2026
nzr-niu pushed a commit to nzr-niu/sglang that referenced this pull request Sep 1, 2026
jakki-amd pushed a commit to jakki-amd/sglang that referenced this pull request Sep 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants