Skip to content

Default prefill chunk to 4096 only at >=64GB memory - #274

Open
stikves wants to merge 5 commits into
apple:mainfrom
stikves:sukru/chunk-size-64gb-threshold
Open

stikves wants to merge 5 commits into
apple:mainfrom
stikves:sukru/chunk-size-64gb-threshold

Conversation

@stikves

@stikves stikves commented Sep 21, 2026

Copy link
Copy Markdown
Contributor

Raise the memory-based default threshold from 24GB to 64GB (2048 below, 4096 at/above), and drop the inaccurate "128 for MoE" hint from the --chunk-size help. Benchmarks show larger chunks help prefill on both dense and MoE models, so the knob is available memory, not architecture.

stikves and others added 2 commits September 21, 2026 16:01
Raise the memory-based default threshold from 24GB to 64GB (2048 below,
4096 at/above), and drop the inaccurate "128 for MoE" hint from the
--chunk-size help. Benchmarks show larger chunks help prefill on both dense
and MoE models, so the knob is available memory, not architecture.
@stikves stikves self-assigned this Sep 22, 2026
@stikves
stikves marked this pull request as ready for review September 22, 2026 19:38
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.

3 participants