Skip to content

[CI] DEBUG test develop with Paddle release/3.3 latest build#7588

Open
EmmonsCurse wants to merge 2 commits intoPaddlePaddle:developfrom
EmmonsCurse:debug_dev_with_33_latest
Open

[CI] DEBUG test develop with Paddle release/3.3 latest build#7588
EmmonsCurse wants to merge 2 commits intoPaddlePaddle:developfrom
EmmonsCurse:debug_dev_with_33_latest

Conversation

@EmmonsCurse
Copy link
Copy Markdown
Collaborator

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

  • Updated CI to test FastDeploy develop branch with the latest Paddle package from release/3.3.
  • Used for temporary debugging and compatibility verification.

Usage or Command

N/A

Accuracy Tests

N/A

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.

@paddle-bot
Copy link
Copy Markdown

paddle-bot Bot commented Apr 23, 2026

Thanks for your contribution!

@EmmonsCurse
Copy link
Copy Markdown
Collaborator Author

EmmonsCurse commented Apr 23, 2026

/skip-ci ci_iluvatar
/skip-ci ci_hpu
/skip-ci build_xpu
/skip-ci coverage
/skip-ci stable_test
/skip-ci base_test
/skip-ci logprob_test
/skip-ci gpu_4cards_test

PaddlePaddle-bot

This comment was marked as outdated.

Copy link
Copy Markdown

@PaddlePaddle-bot PaddlePaddle-bot left a comment

Choose a reason for hiding this comment

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

🤖 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/
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🔴 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/
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🔴 P0 同 _build_linux.yml:临时构建 URL 硬编码,存在 CI 永久失效风险

与构建阶段相同问题:BOS 临时路径可能过期,且 cp310 硬编码限制了 Python 版本兼容性。本次修改导致 pre-CE 测试依赖一个不稳定的临时包,验证完成后请及时还原。

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.

2 participants