Skip to content

docs: drop remaining in-cluster nginx-pypi-cache references - #315

Open
ccijunk wants to merge 5 commits into
Ascend:mainfrom
ccijunk:ci-remove-cache-service-upstream-paths
Open

ccijunk wants to merge 5 commits into
Ascend:mainfrom
ccijunk:ci-remove-cache-service-upstream-paths

Conversation

@ccijunk

@ccijunk ccijunk commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

背景

集群内 nginx pypi 缓存(cache-service.nginx-pypi-cache.svc.cluster.local)已下线,改用 runner 侧 squid 正向代理。本 PR 是从 #291 拆出的清理部分:这些路径的 CI 目前因既有/上游问题失败,为保证 #291 只包含可通过的改动,单独提交在这里。

改动内容

  • sources/lmcache/quick_start.md、sources/onnxruntime/quick_start.md:删除注释掉的 cache-service apt 探测片段
  • examples-guards/{ms-swift,specforge,slime,tgi,bitsandbytes,peft}/scripts/setup_example.sh:
    • 删除 CLUSTER_PIP_HOST / CLUSTER_PIP_INDEX
    • select_pip_index() 改为直接使用公网镜像,并 unset PIP_TRUSTED_HOST
  • tests/{tgi,peft}/test_quick_start_ascend.py:_CLUSTER_INDEX 由集群缓存地址改为 https://pypi.org/simple

为什么单独拆出

#291 的 CI 分析见 #291 (comment) :

  • lmcache-quick-start:vllm 0.23.0 wheel + vllm-ascend 0.23.0 的 numpy ABI 问题(doc hash 变化后首次真实执行才暴露)
  • onnxruntime-quick-start:monitor 解析 microsoft/onnxruntime ref 失败(main 上同样失败)
  • ms-swift-examples:ModuleNotFoundError: No module named 'megatron_adaptor'(main 上同样失败)
  • specforge-examples:sglang / sgl-kernel API 漂移(main 上同样失败)
  • slime-examples:slime-ascend fork 的 setuptools flat-layout 问题(main 上测试被 monitor 缓存跳过)
  • tgi-quick-start:check-npu-runtime 期望 torch_npu=2.10.0.post6、实际 2.10.0.post7(main 自 11-25 起同样失败,doc 的 #test-result 与上游 torch_npu 版本漂移;见 https://github.com/Ascend/docs/actions/runs/46119667425/job/140901215007 )
  • bitsandbytes-examples:ModuleNotFoundError: No module named 'tiktoken' + cannot import name 'runtime_version' from 'google.protobuf'(main 上 11-28 02:28 的定时运行同样失败;见 https://github.com/Ascend/docs/actions/runs/46098209384/job/140834493676 )
  • peft-examples:ERROR: Package 'peft' requires a different Python: 3.10.20 not in '>=3.11.0'(main 上自 11-24 起每天失败;见 https://github.com/Ascend/docs/actions/runs/46107158196/job/140862459745 )

以上问题与本次引用清理无关,需要单独修复;本 PR 只做清理。

验证

  • 这 10 个文件中 grep -rIn "cache-service\|nginx-pypi-cache" 无命中
  • 6 个 setup_example.sh 通过 bash -n
  • 文档 build 由 CI 验证

关联

Split out of Ascend#291: the lmcache/onnxruntime quick-start doctests and the ms-swift/specforge/slime example guards currently fail for pre-existing or upstream reasons, so their cleanup is submitted separately.

- lmcache / onnxruntime quick_start.md: remove the commented cache-service apt probe
- ms-swift / specforge / slime setup_example.sh: drop CLUSTER_PIP_* helpers and use the public mirror fallback
@github-actions

github-actions Bot commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

📖 文档预览:https://ascend.github.io/docs/pr-preview/pr-315/

本 PR 改动了多个项目:

构建自 7bd48574bed9e0302be2d0e3f0f0685baf9ef05d。
每次推送后自动更新,PR 关闭时自动清理。

ccijunk added a commit to ccijunk/docs that referenced this pull request Nov 28, 2026
github-actions Bot pushed a commit that referenced this pull request Nov 28, 2026
github-actions Bot pushed a commit that referenced this pull request Nov 28, 2026
ccijunk added a commit to ccijunk/docs that referenced this pull request Nov 30, 2026
ccijunk added a commit to ccijunk/docs that referenced this pull request Nov 30, 2026
github-actions Bot pushed a commit that referenced this pull request Nov 30, 2026
ccijunk added a commit to ccijunk/docs that referenced this pull request Dec 2, 2026
github-actions Bot pushed a commit that referenced this pull request Dec 2, 2026

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