Repository navigation
Conversation
… Mac #2851 gates the 16-row-block prompt path on Ultras; an M5 Max falls back to one 16-row window a dispatch and streams the whole weight slab per dispatch. Open the path on tensor units at large, Ultras keeping their long keys. Receipt (Apple M5 Max 40-core, 128 GB, Qwen3.8-27B-MLX-8bit, 8k salted unique-prefix prompt, streaming TTFT, 3-run median, --drafter z-lab/Qwen3.8-27B-DFlash2, --parallel 4, --context 262144): - main 09a9eb3: 336 tok/s cold 8-bit prefill - this change: 531 tok/s (+58%), replies byte-identical on the measured prompts - 4-bit unchanged (842-858 tok/s stock-level across runs)
The dispatch test held every non-Ultra Mac to 16 rows a dispatch; on a tensor-unit Mac the change takes the row blocks #2851 gave Ultras. The non-tensor-unit expectation stays.
Per review: the two-line explanatory comment above the row-block gate read as one purpose line; it is one line now, and the lean checker is back to 342.
The gate-comment commit mistyped deinit's lanes loop as `it`; this restores `lane_it`. The tree is the benchmarked build with the one-line gate comment.
The Qwen4 PLE kernels are generated from the Flash Next ones. They have no PDL launch, so the generator takes the grid hooks back out and restores the aliasing qualifiers. Qwen4's kernel source is unchanged.
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.
CI for a landing train: #3280 #4502 stacked on main in that order. Nothing merges from this PR: each PR above lands on its own once this tip is green, and this PR is then closed.