test: restore prefill fixture compatibility - #1
Merged
jonathan308 merged 1 commit intoAug 10, 2026
Conversation
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.
What changed
Add the missing
_supports_skip_lm_headcapability stub to the lightweight scheduler fixture intest_step_prefill_reclaims_before_first_guard.Root cause
e3c6912btaught_step_prefill_chunkto query_supports_skip_lm_head()before calling the model. The productionSchedulerdefines that helper, but this test invokes the unbound method on a minimalSimpleNamespaceand did not add the new capability to its fixture.As a result, all three CI jobs for jundot/omlx#2568 fail at the same test with
AttributeError, after 7,982 other tests pass.Impact
Test fixture only. Production behavior, DeepSeek-V4 kernels, cache semantics, and performance code are unchanged. Returning
Falsekeeps this ordering test on the stock model-call branch it exercised before the optimization.Verification
1 passed.45 passed.git diff --check: passed.Prepared with Codex and independently reviewed before publication.