Skip to content

Promote dev to master: sched split-input fix for Gemma 4 E-series#47

Merged
worthant merged 2 commits into
masterfrom
dev
Jul 24, 2026
Merged

Promote dev to master: sched split-input fix for Gemma 4 E-series#47
worthant merged 2 commits into
masterfrom
dev

Conversation

@worthant

Copy link
Copy Markdown
Member

Promotes #46 for the b10018-1.1.2 patch release.

Fixes the 'model process crashed' abort in Atomic Chat when loading Gemma 4 E-series models with partial offload on small-VRAM GPUs: GGML_SCHED_MAX_SPLIT_INPUTS raised 30 → 128 (per-layer embedding inputs of the E-series overflow the split input list when the graph splits between backends). Verified on the reporting hardware (RADV RENOIR 3.5GB) with the PR CI artifact: crash on 1.1.1, healthy load and generation with the fix.

worthant added 2 commits July 24, 2026 14:57
Gemma 4 E-series routes a per-layer embedding input into every block;
under partial offload (e.g. 3.5GB RENOIR Vulkan + CPU) each one lands in
the split input list and GGML_ASSERT(n_inputs < GGML_SCHED_MAX_SPLIT_INPUTS)
aborts during memory fitting — the in-app 'model process crashed' report.
Reproduced with gemma-4-E4B-it-Q4_K_S on RADV RENOIR; -ngl 0 avoids it,
any GPU offload trips it. 30 -> 128 with headroom for 31B-deep stacks.
fix: sched split-input overflow on Gemma 4 E-series partial offload
@github-actions github-actions Bot added the ggml label Jul 24, 2026
@worthant
worthant merged commit e2d5987 into master Jul 24, 2026
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant