[CI] DEBUG test develop with Paddle release/3.3 latest build#7588
[CI] DEBUG test develop with Paddle release/3.3 latest build#7588EmmonsCurse wants to merge 2 commits intoPaddlePaddle:developfrom
Conversation
|
Thanks for your contribution! |
|
/skip-ci ci_iluvatar |
PaddlePaddle-bot
left a comment
There was a problem hiding this comment.
🤖 AI Code Review |
2026-04-23 19:32:37
📋 Review 摘要
PR 概述:将 CI 中 PaddlePaddle 的安装方式从 nightly 源替换为指向 BOS 上一个特定临时构建 wheel 的硬编码 URL,用于调试 FastDeploy develop 分支与 Paddle release/3.3 的兼容性。
变更范围:CI workflow(_build_linux.yml、_pre_ce_test.yml)
影响面 Tag:[CI]
问题
| 级别 | 文件 | 概述 |
|---|---|---|
| 🔴 P0 | _build_linux.yml:199 |
硬编码 BOS 临时构建 URL,随时可能过期导致 CI 全量失败;且 cp310 硬编码限制 Python 版本兼容性 |
| 🔴 P0 | _pre_ce_test.yml:204 |
同上,pre-CE 测试阶段同样依赖该临时包 |
| 🟡 P1 | 整体 PR | 此为调试 PR(标题含 "DEBUG",描述明确说明 "temporary"),不建议长期驻留 develop 主分支,验证完成后应及时 Revert 或提交正式升级 PR |
总体评价
此 PR 属于临时调试性变更,两处 CI 脚本均硬编码了一个含 commit hash 和构建日期的 BOS 临时 wheel URL,一旦该对象被清理将导致全量 CI 失败,且 cp310 限制使其对其他 Python 版本不兼容。建议完成兼容性验证后,使用稳定版本号(如 paddlepaddle-gpu==3.3.1)或恢复 nightly 安装方式提交正式 PR。
| python -m pip install paddlepaddle-gpu==${PADDLEVERSION} -i https://www.paddlepaddle.org.cn/packages/stable/cu126/ | ||
| else | ||
| python -m pip install --pre paddlepaddle-gpu -i https://www.paddlepaddle.org.cn/packages/nightly/cu126/ | ||
| python -m pip install https://paddle-qa.bj.bcebos.com/paddle-pipeline/Release-TagBuild-Training-Linux-Gpu-Cuda12.6-Cudnn9.5-Trt10.5-Mkl-Avx-Gcc11-SelfBuiltPypiUse/2b9f8b689bc8988f97a5ede056c8c81bfa0332c2/paddlepaddle_gpu-3.3.1.post20260420+2b9f8b689bc-cp310-cp310-linux_x86_64.whl --extra-index-url https://www.paddlepaddle.org.cn/packages/stable/cu126/ |
There was a problem hiding this comment.
🔴 P0 临时构建 URL 硬编码,存在 CI 永久失效风险
此 URL 指向 paddle-qa.bj.bcebos.com 下的 QA pipeline 临时构建产物,路径中包含特定 commit hash(2b9f8b689bc...)和构建日期(20260420),该对象随时可能被清理或过期,一旦失效将导致所有 CI job 全部失败。
此外,wheel 文件名硬编码 cp310-cp310-linux_x86_64,若 CI 容器使用 Python 3.9/3.11 则安装会直接报错。
建议:完成兼容性验证后,恢复为 nightly 源或升级到稳定版本号安装:
# 推荐:使用稳定版本号
python -m pip install paddlepaddle-gpu==3.3.1 -i https://www.paddlepaddle.org.cn/packages/stable/cu126/
# 或恢复 nightly
python -m pip install --pre paddlepaddle-gpu -i https://www.paddlepaddle.org.cn/packages/nightly/cu126/| git config --global --add safe.directory /workspace/FastDeploy | ||
| cd FastDeploy | ||
| python -m pip install --pre paddlepaddle-gpu -i https://www.paddlepaddle.org.cn/packages/nightly/cu126/ | ||
| python -m pip install https://paddle-qa.bj.bcebos.com/paddle-pipeline/Release-TagBuild-Training-Linux-Gpu-Cuda12.6-Cudnn9.5-Trt10.5-Mkl-Avx-Gcc11-SelfBuiltPypiUse/2b9f8b689bc8988f97a5ede056c8c81bfa0332c2/paddlepaddle_gpu-3.3.1.post20260420+2b9f8b689bc-cp310-cp310-linux_x86_64.whl --extra-index-url https://www.paddlepaddle.org.cn/packages/stable/cu126/ |
There was a problem hiding this comment.
🔴 P0 同 _build_linux.yml:临时构建 URL 硬编码,存在 CI 永久失效风险
与构建阶段相同问题:BOS 临时路径可能过期,且 cp310 硬编码限制了 Python 版本兼容性。本次修改导致 pre-CE 测试依赖一个不稳定的临时包,验证完成后请及时还原。
Motivation
Validate compatibility between FastDeploy develop branch and the latest build from Paddle release/3.3. This is used for debugging and verification before making any version alignment or upgrade decisions.
Modifications
Usage or Command
N/A
Accuracy Tests
N/A
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.