OpenFlowLM-Next icon indicating copy to clipboard operation
OpenFlowLM-Next copied to clipboard

Kernel export fails with "Overflow of program memory" on q8 35B models

Open Cyronius opened this issue 2 months ago • 0 comments

Building the open kernels for any 35B that stores its weights at q8 fails on lx0 with _XAie_LoadProgMemSection(): Overflow of program memory. That covers the 35B fine-tunes (Ornith 1.0/1.5, Darwin, Grug, BigBang, Aquila) and the Qwen3.6-35B-A3B-NPU2 here on hf.co/Atomic-Germ. The FastFlowLM q4_1 35B still builds.

#78 made the DeltaNet code on the layer kernel's main core faster and larger. That core has 16 KB of program memory. The change fit next to the q4_1 matrix-vector routine but not next to the larger q8 one, and no q8 model was rebuilt afterwards. A user reported it, with a correct diagnosis. A fix is in the PR linked below.

Cyronius avatar Sep 24 '26 18:09 Cyronius