Skip to content

ci(awq-cpu): run the lane when the HF bridge regression file changes (#5022) - #5052

Merged
Qubitium merged 1 commit into
mainfrom
root/awq-cpu-bridge-paths-5022
Nov 18, 2026
Merged

Qubitium merged 1 commit into
mainfrom
root/awq-cpu-bridge-paths-5022

Conversation

@Qubitium

Copy link
Copy Markdown
Collaborator

Summary

The AWQ CPU unit lane lists tests/test_hf_bridge_cpu_offload_5022.py — the
regression file for #5022, added by #5046 and hardened by #5051 — but the
workflow's paths: filter had no entry for it. A PR that only touched that file
therefore never ran the lane that owns it, so the #5051 fix (making the file
runnable without optimum or CUDA) could not be observed in CI at all:
#5051 ran only ruff, Analyze and CodeQL.

What Changed

.github/workflows/awq_cpu.yml:

       - 'tests/test_awq_*.py'
+      - 'tests/test_hf_bridge_*.py'
       - 'tests/test_hymba_awq_*.py'

gptqmodel/utils/importer.py and gptqmodel/utils/model.py (where the #5022
selector and offload-map helpers live) are deliberately not added: both are
touched by most PRs, and the lane already triggers on gptqmodel/models/** and
docs/**, which is when the bridge behaviour actually changes.

Tests

This PR changes the workflow file itself, so the lane runs for it — that is the
verification: AWQ CPU (unit) executes
tests/test_hf_bridge_cpu_offload_5022.py on a CPU-only runner with no
optimum, which is the case that was red on 236f31b07 and green since
#5051 (locally: 4 passed, 3 skipped, 0 errors under a blocked optimum).

No product or test code changes.

…5022)

The AWQ CPU `unit` lane lists `tests/test_hf_bridge_cpu_offload_5022.py` (added
by #5046, hardened by #5051), but the `paths:` filter had no entry for it. A PR
that only touched that file therefore never ran the lane that owns it, so the
#5051 fix could not be observed there.

Add the `tests/test_hf_bridge_*.py` pattern beside the other test-file patterns.
`gptqmodel/utils/importer.py` and `gptqmodel/utils/model.py` stay out on
purpose: both are touched by most PRs, and the lane already runs for
`gptqmodel/models/**` and `docs/**`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant