Repository navigation
ci(awq-cpu): run the lane when the HF bridge regression file changes (#5022) - #5052
Merged
Merged
Conversation
…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/**`.
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.
Summary
The AWQ CPU
unitlane liststests/test_hf_bridge_cpu_offload_5022.py— theregression 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 filetherefore never ran the lane that owns it, so the #5051 fix (making the file
runnable without
optimumor CUDA) could not be observed in CI at all:#5051 ran only
ruff,AnalyzeandCodeQL.What Changed
.github/workflows/awq_cpu.yml:gptqmodel/utils/importer.pyandgptqmodel/utils/model.py(where the #5022selector and offload-map helpers live) are deliberately not added: both are
touched by most PRs, and the lane already triggers on
gptqmodel/models/**anddocs/**, 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)executestests/test_hf_bridge_cpu_offload_5022.pyon a CPU-only runner with nooptimum, which is the case that was red on236f31b07and green since#5051 (locally: 4 passed, 3 skipped, 0 errors under a blocked
optimum).No product or test code changes.