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
Size the skinny hgemm grid for one-column row counts (#154)
resynth1cc0731f6e9e
diff --git a/exllamav3/exllamav3_ext/hgemm.cu b/exllamav3/exllamav3_ext/hgemm.cuindex 7aa87d0..f75174c 100644--- a/exllamav3/exllamav3_ext/hgemm.cu+++ b/exllamav3/exllamav3_ext/hgemm.cu@@ -673,7 +673,9 @@ static bool try_launch(const at::Tensor& a, const at::Tensor& b, at::Tensor& c,int* cnt = counters(a.device().index()); // allocated on the first (eager) call, never under capture// W2: two ADJACENT columns per lane needs an even row stride (4 B aligned pair) and one full warp of pairs.- const int cpl = (w2on() && (n % 2 == 0) && n >= 2 * COLS) ? 2 : 1;+ // Rows 9..32 use the padded one-column instantiations (the branch below); sizing the grid+ // for CPL=2 there left columns 64..127 unwritten because that path falls back to CPL=1.+ const int cpl = (w2on() && m <= EXACT_M && (n % 2 == 0) && n >= 2 * COLS) ? 2 : 1;dim3 grid((n + COLS * cpl - 1) / (COLS * cpl), ksplit);if (onepass()){