Skip to content

[CI][XPU]Update run_ci_xpu.sh to lock paddlepaddle-xpu version#4949

Merged
plusNew001 merged 1 commit intoPaddlePaddle:developfrom
plusNew001:fix-dev-bug
Nov 11, 2025
Merged

[CI][XPU]Update run_ci_xpu.sh to lock paddlepaddle-xpu version#4949
plusNew001 merged 1 commit intoPaddlePaddle:developfrom
plusNew001:fix-dev-bug

Conversation

@plusNew001
Copy link
Collaborator

Temporarily lock paddlepaddle-xpu version due to framework update.

Motivation

Modifications

Usage or Command

Accuracy Tests

Checklist

  • Add at least a tag in the PR title.
    • Tag list: [[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]]
    • You can add new tags based on the PR content, but the semantics must be clear.
  • Format your code, run pre-commit before commit.
  • Add unit tests. Please write the reason in this PR if no unit tests.
  • Provide accuracy results.
  • If the current PR is submitting to the release branch, make sure the PR has been submitted to the develop branch, then cherry-pick it to the release branch with the [Cherry-Pick] PR tag.

Temporarily lock paddlepaddle-xpu version due to framework update.
Copilot AI review requested due to automatic review settings November 11, 2025 06:58
@paddle-bot
Copy link

paddle-bot bot commented Nov 11, 2025

Thanks for your contribution!

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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/
#由于主框架更新 暂时锁死版本
Copy link

Copilot AI Nov 11, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

注释应该包含更多上下文信息:(1) 说明何时可以解锁版本或如何决定何时更新;(2) 添加对应的英文注释以提高代码可维护性。建议改为:'# Temporarily lock version due to framework update. TODO: Monitor framework stability and update to latest nightly when stable.' 或者中英文双语注释。

Suggested change
#由于主框架更新 暂时锁死版本
# 由于主框架更新,暂时锁定 paddlepaddle-xpu 版本。TODO: 监控主框架稳定性,待稳定后更新到最新 nightly 版本。
# Temporarily lock paddlepaddle-xpu version due to framework update. TODO: Monitor framework stability and update to latest nightly when stable.

Copilot uses AI. Check for mistakes.
Comment on lines +41 to +42
# python -m pip install paddlepaddle-xpu -i https://www.paddlepaddle.org.cn/packages/nightly/xpu-p800/
#由于主框架更新 暂时锁死版本
Copy link

Copilot AI Nov 11, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

被注释的代码应该被删除而不是保留。如果需要保留这个信息作为参考,建议在注释中说明原始安装方式,例如:'# Original nightly installation (replaced with pinned version): pip install paddlepaddle-xpu -i https://...'。更好的做法是依赖版本控制系统来追踪历史变更。

Suggested change
# 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/

Copilot uses AI. Check for mistakes.

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/
#由于主框架更新 暂时锁死版本
Copy link

Copilot AI Nov 11, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

硬编码的日期版本缺乏更新机制说明。建议:(1) 在注释中添加如何验证新版本可用性的说明;(2) 考虑添加版本检查或fallback机制;(3) 在PR描述或文档中记录解锁版本的条件和流程。这样可以避免版本长期锁定而被遗忘。

Suggested change
#由于主框架更新 暂时锁死版本
# 由于主框架更新,暂时锁定 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 维护者每月检查一次是否有新版本可用。

Copilot uses AI. Check for mistakes.
@plusNew001 plusNew001 merged commit 8b61f01 into PaddlePaddle:develop Nov 11, 2025
18 of 20 checks passed
@plusNew001 plusNew001 deleted the fix-dev-bug branch November 13, 2025 11:57
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