-
Notifications
You must be signed in to change notification settings - Fork 744
[CI] DEBUG validate installation of paddleformers[paddlefleet]==1.1.0.dev20260507 #7916
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
xiaoguoguo626807
wants to merge
3
commits into
PaddlePaddle:develop
Choose a base branch
from
xiaoguoguo626807:updatefleet
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -224,7 +224,6 @@ jobs: | |
| git config --global --add safe.directory /workspace/FastDeploy | ||
| cd FastDeploy | ||
| git diff origin/${BASE_REF}..HEAD --unified=0 > diff.txt | ||
| python -m pip install --pre paddlepaddle-gpu -i https://www.paddlepaddle.org.cn/packages/nightly/cu126/ | ||
| pip config set global.extra-index-url https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple | ||
|
|
||
| python -m pip install -r scripts/unittest_requirement.txt | ||
|
|
@@ -240,6 +239,13 @@ jobs: | |
| else | ||
| echo "Warning: tests/plugins directory not found, skipping setup.py install" | ||
| fi | ||
| python -m pip cache remove transformers | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ❓ 疑问 其他 7 个 workflow 均未添加此步骤,仅 |
||
| python -m pip cache remove paddleformers | ||
| python -m pip cache remove fastdeploy-gpu | ||
| python -m pip install paddleformers[paddlefleet]==1.1.0.dev20260507 --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 uninstall paddlepaddle-gpu -y || true | ||
| python -m pip install --pre paddlepaddle-gpu -i https://www.paddlepaddle.org.cn/packages/nightly/cu126/ | ||
|
|
||
| export COVERAGE_FILE=/workspace/FastDeploy/coveragedata/.coverage | ||
| export COVERAGE_RCFILE=/workspace/FastDeploy/scripts/.coveragerc | ||
| TEST_EXIT_CODE=0 | ||
|
|
||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🟡 建议 安装顺序存在依赖冲突风险
当前顺序:先安装
paddleformers[paddlefleet]==1.1.0.dev20260507(其依赖解析会拉取特定版本的 paddlepaddle-gpu),随即uninstall paddlepaddle-gpu,再重装 nightly 版本。这会导致 paddleformers 安装时声明的 paddlepaddle 版本依赖被 nightly 版本覆盖,实际验证的是「paddleformers + nightly paddlepaddle」的组合,而非 paddleformers 自身声明的依赖组合。
建议修复方式:若目的是验证 paddleformers 能与 nightly paddlepaddle 共存,应先安装 nightly paddlepaddle,再安装 paddleformers(去掉中间的 uninstall 步骤):