Skip to content

[CI] Remove retired internal pypi cache mirror from citest_npu - #10620

Open
ccijunk wants to merge 1 commit into
modelscope:mainfrom
ccijunk:ci/remove-internal-pypi-mirror
Open

ccijunk wants to merge 1 commit into
modelscope:mainfrom
ccijunk:ci/remove-internal-pypi-mirror

Conversation

@ccijunk

@ccijunk ccijunk commented Nov 23, 2026

Copy link
Copy Markdown

PR type

  • Bug Fix
  • New Feature
  • Document Updates
  • More Models or Datasets Support

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.yaml runs on our self-hosted Ascend runners inside a cluster where public indexes used to be reached through the internal cache-service.nginx-pypi-cache.svc.cluster.local mirror. 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):

  • drop UV_INDEX_URL, UV_INSECURE_HOST, PIP_INDEX_URL, PIP_TRUSTED_HOST
  • drop the APT source rewrite (sed ... :8081 ...) and the two pip config set lines
  • rename the now trivial step from Config mirrors to Install uv

UV_EXTRA_INDEX_URL (public Huawei Cloud Ascend index) and the remaining uv settings are unchanged, so resolution still prefers the Ascend index for torch_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:

$ grep -rIn "cache-service\|nginx-pypi-cache" .
# no output

$ python3 -c "import yaml; yaml.safe_load(open('.github/workflows/citest_npu.yaml'))"
# parsed OK

pre-commit is not installed in my environment, so the lint job will be the first full run of the hooks on this file.

Checklist

  • I have linked the related issue above, if there is one.
  • I have reviewed and understand every changed line, and I can explain how the change works and why it is correct.
  • I have run the relevant tests or reproductions locally, and included the commands and results above (if applicable).
  • I am responsible for the content of this PR, regardless of how it was produced.

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.

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

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant