iq_grouped_gemm#
Persistent GGML expert tiles using GPU routing offsets and compact pointer tables.
Functions
Use native expert-sorted rows without host token counts or expanded expert weights. |
- iq_grouped_linear(inputs, packeds, steps, offsets, format_name, weight_shape, bias=None, *, packed_pointers)#
Use native expert-sorted rows without host token counts or expanded expert weights.
Offsets are cumulative, monotonic CUDA expert endpoints from HF routing. Bounds are clipped to available rows on device; ordering remains the caller’s contract. The caller retains ownership of the immutable packed pointer table.