Repository navigation
[CI] Optimize GPU CI and temporarily skip XPU jobs - #5219
Merged
Merged
Conversation
changdazhou
previously approved these changes
Oct 9, 2026
changdazhou
approved these changes
Oct 9, 2026
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.
GPU CI currently clones the full repository history and can install Paddle twice before running tests. The external test script also spends substantial time syncing host filesystem caches even when
drop_cachesis read-only. XPU hardware is temporarily unavailable, so XPU jobs are paused for every trigger while retaining theCI_XPUcheck.This updates the GPU workflow to use the published optimized CI code and its configuration:
test=document_fixmarker from the PR head.paddlepaddle-gpu==3.2.2explicit, and persist pip and pre-commit caches in Docker volumes.CI_BASE_SHAfor pre-commit change detection and disable unnecessary GPU host cache flushing withCI_CLEAR_HOST_CACHE=0.The XPU workflow uses a job-level
if: ${{ false }}for both pull requests and manual dispatches. The job is skipped before a runner is allocated, while its check remains visible and does not block required-check enforcement. The existing XPU test steps are retained; remove the condition when hardware is available again.This PR changes
.github/workflows/gpu_v100_ci.ymland.github/workflows/xpu_ci.yml. PaddleTest remains externally maintained.Validation:
.gitdirectory, compared with approximately 968 MiB in the previous GPU run. The local smoke test took 3 seconds; this is not a GPU-runner timing.git diff --checkpassed.The previous GPU run spent approximately 35 minutes across 32
synccalls. Its inference-only scope differs from the full-training scope triggered by this workflow change, so total runtimes are not directly comparable.