Repository navigation
Conversation
The workflow pinned uv and pip to `cache-service.nginx-pypi-cache`, an internal service that only exists inside our self-hosted Ascend runner cluster and is being retired in favor of the cluster's caching proxy. Drop the internal index/trusted-host variables, the APT source rewrite and the pip config lines; installs now use the public Huawei Cloud Ascend index (UV_EXTRA_INDEX_URL) and PyPI. Refs modelscope#10619 Signed-off-by: chenqi49 <479148871@qq.com> Co-authored-by: Trae AI <noreply@trae.ai>
This branch has not been deployed
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.
PR type
CI maintenance only — no product code touched.
PR information
Refs #10619
Remove the retired internal nginx-pypi-cache mirror from the Ascend NPU CI workflow.
.github/workflows/citest_npu.yamlruns on our self-hosted Ascend runners inside a cluster where public indexes used to be reached through the internalcache-service.nginx-pypi-cache.svc.cluster.localmirror. That service is being decommissioned (the runners now reach public sources through the cluster-level caching proxy), so the workflow must stop pinning itself to the internal host.Changes (
-8 / +1, single file):UV_INDEX_URL,UV_INSECURE_HOST,PIP_INDEX_URL,PIP_TRUSTED_HOSTsed ... :8081 ...) and the twopip config setlinesConfig mirrorstoInstall uvUV_EXTRA_INDEX_URL(public Huawei Cloud Ascend index) and the remaining uv settings are unchanged, so resolution still prefers the Ascend index fortorch_npu.Experiment results
No behavior change for the tests themselves; only the download source changes. The NPU smoke tests in this workflow cannot be run outside the Ascend runner cluster, so no end-to-end run is attached.
Local checks:
pre-commitis not installed in my environment, so the lint job will be the first full run of the hooks on this file.Checklist
AI assistance disclosure: an AI agent (Trae) prepared the diff and this description; I reviewed every changed line before submitting and I am responsible for the content.