Skip to content

[CI] Pick idle GPUs for each Qwen4 case - #85

Merged
sammysun0711 merged 1 commit into
apinge:qwen4_v0.5.21from
yicyang:qwen4-ci-pick-idle-gpus
Nov 5, 2026
Merged

sammysun0711 merged 1 commit into
apinge:qwen4_v0.5.21from
yicyang:qwen4-ci-pick-idle-gpus

Conversation

@yicyang

@yicyang yicyang commented Nov 4, 2026

Copy link
Copy Markdown
Collaborator

The driver always took the first TP indices of --gpus (GPU 0 for TP1, 0-1 for TP2, ...), and failed the case outright when any of them was busy. Inspect every candidate in --gpus instead and launch on the first TP idle ones (under 1 GiB used), so a job left on GPU 0 no longer fails TP1/TP2/TP4 cases while other GPUs are free.

The driver always took the first TP indices of --gpus (GPU 0 for TP1,
0-1 for TP2, ...), and failed the case outright when any of them was
busy. Inspect every candidate in --gpus instead and launch on the first
TP idle ones (under 1 GiB used), so a job left on GPU 0 no longer fails
TP1/TP2/TP4 cases while other GPUs are free.
@yicyang
yicyang marked this pull request as ready for review November 4, 2026 08:56
@apinge
apinge requested a review from sammysun0711 November 5, 2026 00:05

@sammysun0711 sammysun0711 left a comment •

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks for providing useful CI optimization to use CI test machine more effectively.

Nit: the limitation is TP8: if GPU 0 is occupied and only seven GPUs are idle, the TP1/TP2/TP4 cases can proceed, but both TP8 cases still fail immediately. I will merge it after all CI test passed.

@sammysun0711

Copy link
Copy Markdown
Collaborator

@sammysun0711
sammysun0711 merged commit 1da4501 into apinge:qwen4_v0.5.21 Nov 5, 2026
47 of 93 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants