[CI] DEBUG validate installation of paddleformers[paddlefleet]==1.1.0.dev20260507#7916
[CI] DEBUG validate installation of paddleformers[paddlefleet]==1.1.0.dev20260507#7916xiaoguoguo626807 wants to merge 5 commits into
Conversation
|
Thanks for your contribution! |
2e8fc12 to
e87813c
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #7916 +/- ##
==========================================
Coverage ? 72.74%
==========================================
Files ? 404
Lines ? 56833
Branches ? 8890
==========================================
Hits ? 41344
Misses ? 12684
Partials ? 2805
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
CI报告基于以下代码生成(30分钟更新一次): 1 任务总览当前 Required 任务 5/10 通过,仍有 5 个 Required 失败任务,会阻塞合入。已确认失败主要集中在 PR 修改的依赖安装/兼容性:
2 任务状态汇总2.1 Required任务 : 5/10 通过
2.2 可选任务 — 28/32 通过
3 失败详情(仅 required)Run FastDeploy Unit Tests and Coverage / run_tests_with_coverage — 测试失败/依赖兼容(置信度: 中)Run FastDeploy Unit Tests and Coverage / run_tests_with_coverage
失败用例:
根因详情: 关键日志: 修复建议:
修复建议摘要: 回退/验证 paddleformers 与 transformers 版本 Run FastDeploy LogProb Tests / run_tests_logprob — 依赖安装失败(置信度: 高)Run FastDeploy LogProb Tests / run_tests_logprob
失败详情:
根因详情: 关键日志: 修复建议:
修复建议摘要: 给 logprob 安装命令补 Paddle 包源 Run Stable Tests / stable_tests — 依赖安装失败(置信度: 高)Run Stable Tests / stable_tests
失败用例:
根因详情: 关键日志: 修复建议:
修复建议摘要: 给 stable 安装命令补包源或回退版本 xpu_4cards_case_test / run_xpu_4cards_cases — 依赖安装失败(置信度: 高)xpu_4cards_case_test / run_xpu_4cards_cases
失败用例:
根因详情: 关键日志: 修复建议:
修复建议摘要: 给 XPU 安装命令补包源或回退版本 xpu_8cards_case_test / run_xpu_8cards_cases — 依赖安装失败(置信度: 高)xpu_8cards_case_test / run_xpu_8cards_cases
失败用例:
根因详情: 关键日志: 修复建议:
修复建议摘要: 给 XPU 安装命令补包源或回退版本 |
PaddlePaddle-bot
left a comment
There was a problem hiding this comment.
🤖 Paddle-CI-Agent | pr_review |
2026-05-26 16:20:48
📋 Review 摘要
PR 概述:调试验证 paddleformers[paddlefleet]==1.1.0.dev20260507 的安装兼容性,同时为 CI workflow 添加额外 pip 索引源
变更范围:.github/workflows/(8 个 CI 文件)、requirements.txt
影响面 Tag:CI
问题
| 级别 | 文件 | 概述 |
|---|---|---|
| 🔴 兼容性 | requirements.txt:50 |
transformers>5.0.0 强制要求 5.x,移除对 4.x 的兼容,属破坏性变更 |
| 🟡 建议 | requirements.txt:13 |
paddleformers==1.1.0.dev20260507 为 dev 预发布版本,不应固化到 develop 分支 |
| 🟡 建议 | .github/workflows/_logprob_test_linux.yml:192 |
未添加 --extra-index-url,与其他 7 个 workflow 不一致 |
| 📝 PR 规范 | — | Checklist "Add unit tests" 已勾选但未添加单测,也未说明原因 |
📝 PR 规范检查
描述结构完整,但 Checklist 中 "Add unit tests" 已勾选([x]),而本 PR 未添加任何单测,也未在描述中说明原因(checklist 要求"Please write the reason in this PR if no unit tests")。建议将该项改为 [ ] 并补充说明(如"CI-only change, no unit tests needed")。
总体评价
本 PR 为调试性变更,requirements.txt 中将 transformers 从 >=4.55.1,<5.0.0 改为 >5.0.0 是破坏性变更,需修复后才能合入;paddleformers 固化到 dev 版本也不适合长期保留在 develop 分支。
| py-cpuinfo | ||
| flashinfer-python-paddle @ https://xly-devops.bj.bcebos.com/flashinfer/flashinfer_python_paddle-0.4.1.2-py3-none-any.whl | ||
| transformers>=4.55.1,<5.0.0 | ||
| transformers>5.0.0 |
There was a problem hiding this comment.
🔴 兼容性 transformers>5.0.0 是破坏性变更
原版本约束 transformers>=4.55.1,<5.0.0 明确排除了 transformers 5.x(因 5.0 有大量 API 变更)。改为 >5.0.0 后:
- 强制要求 transformers 5.x,移除对 4.x 的兼容
- 可能导致依赖 transformers 4.x API 的代码运行时报错
建议修复方式:
- 若确认已适配 transformers 5.x,改为
transformers>=5.0.0并在 PR 中说明适配情况 - 若仅为调试目的,恢复原约束
transformers>=4.55.1,<5.0.0
| uvicorn>=0.38.0 | ||
| fastapi | ||
| paddleformers>=1.1.1 | ||
| paddleformers==1.1.0.dev20260507 |
There was a problem hiding this comment.
🟡 建议 paddleformers==1.1.0.dev20260507 为 dev 预发布版本
PR 描述明确说明这是 "temporary CI changes for debugging",但 dev 版本固化到 requirements.txt 会影响所有使用该文件安装依赖的场景:
- dev 版本可能随时从 PyPI 下线
- 不适合作为 develop 分支的长期依赖
建议:调试完成后恢复为稳定版本约束(如 paddleformers>=1.1.1)。
| @@ -190,11 +190,9 @@ jobs: | |||
| -e "no_proxy=localhost,127.0.0.1,0.0.0.0,bcebos.com,.bcebos.com,bj.bcebos.com,su.bcebos.com,paddle-ci.gz.bcebos.com,apiin.im.baidu.com,baidu-int.com,.baidu.com,aliyun.com,gitee.com,pypi.tuna.tsinghua.edu.cn,.tuna.tsinghua.edu.cn" \ | |||
| --gpus '"device='"${DEVICES}"'"' ${docker_image} /bin/bash -xc ' | |||
| python -m pip install --pre paddlepaddle-gpu -i https://www.paddlepaddle.org.cn/packages/nightly/cu126/ | |||
There was a problem hiding this comment.
🟡 建议 缺少 --extra-index-url,与其他 workflow 不一致
其他 7 个 workflow(_accuracy_test.yml、_base_test.yml、_golang_router_test.yml 等)均已添加:
--extra-index-url https://www.paddlepaddle.org.cn/packages/stable/cu126/ --extra-index-url https://www.paddlepaddle.org.cn/packages/nightly/cu126/
但本文件的 python -m pip install ${fastdeploy_wheel_url} 未添加,可能导致 logprob 测试因依赖解析失败而与其他测试行为不一致。
建议同步添加相同的 --extra-index-url 参数。
Motivation
Validate the installation behavior and compatibility of paddleformers[paddlefleet]==1.1.0.dev20260507 in the current CI environment for debugging and verification purposes.
Modifications
Added temporary CI changes to verify installation of:
paddleformers[paddlefleet]==1.1.0.dev20260507
Used for debugging package installation and dependency compatibility issues.
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.