[CI] Enable XPU-only PR CI skip for non-XPU hardware jobs#78524
Open
onecatcn wants to merge 1 commit intoPaddlePaddle:developfrom
Open
[CI] Enable XPU-only PR CI skip for non-XPU hardware jobs#78524onecatcn wants to merge 1 commit intoPaddlePaddle:developfrom
onecatcn wants to merge 1 commit intoPaddlePaddle:developfrom
Conversation
When a PR only modifies XPU-specific paths, skip non-XPU hardware CI jobs (GPU, DCU, NPU, IXUCA, Mac-CPU, Coverage, etc.) to save CI resources. This activates the observe-mode detection added in PaddlePaddle#78431 by adding `if: needs.clone.outputs.xpu-only != 'true'` conditions to the relevant CI jobs across CI.yml, CI-Build.yml, Coverage.yml, and H-Coverage.yml. Safety: uses != 'true' comparison so missing/empty values default to running all CI. Override with test=all in commit message or DISABLE_HW_CI_SKIP repo variable. Week 2 observation: 57 PRs, 0% false positive rate.
|
你的PR提交成功,感谢你对开源项目的贡献! |
ZhangX-21
approved these changes
Mar 30, 2026
Contributor
Author
|
/rerun-failed-ci |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
PR Category
Execute Infrastructure
PR Types
Improvements
Description
Enable the XPU-only CI skip logic introduced in #78431 (observe mode). When a PR only modifies XPU-specific paths, non-XPU hardware CI jobs are now skipped to save CI resources.
This is the Week 3 activation PR — the second phase of the XPU-only PR CI optimization plan.
What changed:
if: needs.clone.outputs.xpu-only != 'true'to 7 jobs:sot,mac,dcu,cpu,npu,ixuca,distributeinference,ce-framework,ce-cinn-framework,api-benchmark,model-benchmark,doc-preview,slice,deepmd-test&& needs.clone.outputs.xpu-only != 'true'to thebuildjob'sifcondition (cascades totestvianeeds)buildjob'sifcondition (cascades totest,fleet-build,fleet_single_card_test,fleet-multi-card_test)What is NOT changed (always run):
Linux-XPU): Always runs — no condition added_Clone-linux.yml: No change needed — already outputsxpu-onlyfrom [CI] Add XPU-only PR detection (observe mode) #78431Week 2 Observation Results:
paddle/phi/kernels/xpu/)Safety Mechanisms (all from #78431):
!= 'true'comparison: Missing/empty/error values default to running ALL CItest=allin commit message: Forces full CI runDISABLE_HW_CI_SKIPrepo variable: Global emergency disable (no code merge needed)check_xpu_only.sh→ exit 1 → all CI runsRollback Plan:
DISABLE_HW_CI_SKIP=truein repo Variablestest=allto commit messagedevPR: #78431
是否引起精度变化
否