docs: add package cache usage guide (en/zh)#136
Open
Goalina wants to merge 1 commit into
Open
Conversation
Add a guide explaining how to use the in-cluster package cache (PyPI/pip, PyTorch wheels, APT, yum/dnf, rustup) on Ascend NPU runners. The cache is opt-in and configured per package manager inside the job container. Wire both pages into the mkdocs nav and link from the Getting Started page.
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.
What
Adds a new documentation page explaining how to use the in-cluster package cache on Ascend NPU runners, in both English and Chinese:
docs/user-manual-cache-en.mddocs/user-manual-cache-zh.mdRepo.mdalready shows a per-repo PyPI/APT cache audit table, but there was no page describing what the cache is or how to enable it. This fills that gap.Contents
Covers all package managers the cache proxy supports (
nginx-pypi-cache):/pypi/simple/whl/<variant>:8081:8082:8083Each section gives copy-paste setup commands, a verification step (
X-*-Cacheheaders), plus a full end-to-end workflow example and FAQ. Notes that the cache is opt-in, cluster-internal (only reachable from inside the job container), and configured manually per package manager.Also
mkdocs.ymlnav (after the Buildkite guides).Commands are sourced directly from the
nginx-pypi-cachedeployment config and its README.