ci: pull CI images from the domestic mirror on self-hosted runners - #7762
Closed
Critsium-xy wants to merge 1 commit into
Closed
ci: pull CI images from the domestic mirror on self-hosted runners#7762Critsium-xy wants to merge 1 commit into
Critsium-xy wants to merge 1 commit into
Conversation
The self-hosted runner pools give every job a fresh pod, so no Docker
layer cache is ever reused: in 37 consecutive CUDA jobs, 37 distinct
runner pods pulled all 17 layers cold ("Already exists" never appears).
Every GPU run therefore pays a full 3.98 GB pull from ghcr.io, which
takes 8.7 min at best.
When the link degrades, the two nvidia/cuda base layers (2343 MB and
1099 MB, together 86% of the image) hit connection failures and restart
from scratch, since a failed blob download is not resumed. Job
91378883548 retried them 5 and 4 times respectively and spent 39m09s in
docker pull alone, which is the whole of its 41-minute
"Initialize containers" step.
registry.dp.tech is the Aliyun (cn-zhangjiakou) mirror already published
by devcontainer.yml. It is anonymously pullable and serves an identical
digest, so no credentials are needed and the images are unchanged:
abacus-cuda resolves to sha256:499d7bdc7f9f..., the same digest ghcr.io
returned in the pull log above.
Only workflows on self-hosted runners are switched. Those on
ubuntu-latest (ase_plugin_test, build_test_cmake, build_test_makefile,
pytest) keep ghcr.io, which is the fast path from GitHub-hosted runners.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
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.
No description provided.