[CI][XPU]Update run_ci_xpu.sh to lock paddlepaddle-xpu version#4949
[CI][XPU]Update run_ci_xpu.sh to lock paddlepaddle-xpu version#4949plusNew001 merged 1 commit intoPaddlePaddle:developfrom
Conversation
Temporarily lock paddlepaddle-xpu version due to framework update.
|
Thanks for your contribution! |
There was a problem hiding this comment.
Pull Request Overview
This PR temporarily locks the paddlepaddle-xpu version in the CI script due to upstream framework updates. Instead of using the latest nightly build, it pins to a specific dated version (20251109) to maintain stability.
Key Changes:
- Replaces dynamic nightly installation with a fixed version build from November 9, 2025
- Comments out the original nightly installation command for potential future restoration
|
|
||
| python -m pip install paddlepaddle-xpu -i https://www.paddlepaddle.org.cn/packages/nightly/xpu-p800/ | ||
| # python -m pip install paddlepaddle-xpu -i https://www.paddlepaddle.org.cn/packages/nightly/xpu-p800/ | ||
| #由于主框架更新 暂时锁死版本 |
There was a problem hiding this comment.
注释应该包含更多上下文信息:(1) 说明何时可以解锁版本或如何决定何时更新;(2) 添加对应的英文注释以提高代码可维护性。建议改为:'# Temporarily lock version due to framework update. TODO: Monitor framework stability and update to latest nightly when stable.' 或者中英文双语注释。
| #由于主框架更新 暂时锁死版本 | |
| # 由于主框架更新,暂时锁定 paddlepaddle-xpu 版本。TODO: 监控主框架稳定性,待稳定后更新到最新 nightly 版本。 | |
| # Temporarily lock paddlepaddle-xpu version due to framework update. TODO: Monitor framework stability and update to latest nightly when stable. |
| # python -m pip install paddlepaddle-xpu -i https://www.paddlepaddle.org.cn/packages/nightly/xpu-p800/ | ||
| #由于主框架更新 暂时锁死版本 |
There was a problem hiding this comment.
被注释的代码应该被删除而不是保留。如果需要保留这个信息作为参考,建议在注释中说明原始安装方式,例如:'# Original nightly installation (replaced with pinned version): pip install paddlepaddle-xpu -i https://...'。更好的做法是依赖版本控制系统来追踪历史变更。
| # python -m pip install paddlepaddle-xpu -i https://www.paddlepaddle.org.cn/packages/nightly/xpu-p800/ | |
| #由于主框架更新 暂时锁死版本 | |
| # Original nightly installation (replaced with pinned version below due to main framework update): | |
| # python -m pip install paddlepaddle-xpu -i https://www.paddlepaddle.org.cn/packages/nightly/xpu-p800/ |
|
|
||
| python -m pip install paddlepaddle-xpu -i https://www.paddlepaddle.org.cn/packages/nightly/xpu-p800/ | ||
| # python -m pip install paddlepaddle-xpu -i https://www.paddlepaddle.org.cn/packages/nightly/xpu-p800/ | ||
| #由于主框架更新 暂时锁死版本 |
There was a problem hiding this comment.
硬编码的日期版本缺乏更新机制说明。建议:(1) 在注释中添加如何验证新版本可用性的说明;(2) 考虑添加版本检查或fallback机制;(3) 在PR描述或文档中记录解锁版本的条件和流程。这样可以避免版本长期锁定而被遗忘。
| #由于主框架更新 暂时锁死版本 | |
| # 由于主框架更新,暂时锁定 paddlepaddle-xpu 版本为 3.3.0.dev${data} | |
| # 解锁/更新流程说明: | |
| # 1. 访问 https://paddle-whl.bj.bcebos.com/nightly/xpu-p800/paddlepaddle-xpu/ 查看最新 nightly 版本。 | |
| # 2. 验证新版本是否兼容本项目(可在测试环境安装并运行回归测试)。 | |
| # 3. 如需解锁或升级版本,请在 PR 描述中说明原因、验证过程,并同步更新此脚本注释。 | |
| # 4. 责任人:CI 维护者每月检查一次是否有新版本可用。 |
Temporarily lock paddlepaddle-xpu version due to framework update.
Motivation
Modifications
Usage or Command
Accuracy Tests
Checklist
[FDConfig],[APIServer],[Engine],[Scheduler],[PD Disaggregation],[Executor],[Graph Optimization],[Speculative Decoding],[RL],[Models],[Quantization],[Loader],[OP],[KVCache],[DataProcessor],[BugFix],[Docs],[CI],[Optimization],[Feature],[Benchmark],[Others],[XPU],[HPU],[GCU],[DCU],[Iluvatar],[Metax]]pre-commitbefore commit.releasebranch, make sure the PR has been submitted to thedevelopbranch, then cherry-pick it to thereleasebranch with the[Cherry-Pick]PR tag.