Kyojin: open-source engine that runs 100 GB-class open models (GLM-5.3, Qwen3.8, DeepSeek V4.1) on one desktop machine. AMD Strix Halo, NVIDIA RTX and Apple Mac. OpenAI API, built on ExLlamaV3.
Python amdapple-siliconcudadeepseekexl3exllamav3glminferencellmllm-inferencelocal-llmnvidiaopenai-apiquantizationqwenrocmstrix-halo
Fix type mismatch in the prefill chunk-slots bound (#138)
resynth587163502709
diff --git a/exllamav3/exllamav3_ext/quant/exl3_gemv.cu b/exllamav3/exllamav3_ext/quant/exl3_gemv.cuindex dbaad53..6cddb65 100644--- a/exllamav3/exllamav3_ext/quant/exl3_gemv.cu+++ b/exllamav3/exllamav3_ext/quant/exl3_gemv.cu@@ -1140,7 +1140,7 @@ void exl3_moe_gfx12_k3_prefill// slots vs 514 — so take the smaller of the two; large-A prefill keeps the// old bound.const int chunk_slots = std::min(- CEIL_DIVIDE(assignments, MOE_PREFILL_ROWS_PER_CHUNK) + experts, assignments);+ CEIL_DIVIDE(assignments, MOE_PREFILL_ROWS_PER_CHUNK) + (int) experts, assignments);const int pcfg = moe_prefill_cfg();const int pcols = pcfg == 0 ? 32 : 64; // COLS = WNT * 16 in exl3_gemv_kernel_bodydim3 gu_grid(intermediate / pcols, chunk_slots, 2);