Skip to content

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.

Hy4 head dot: BD 64 default (box micro: 7.4 ms vs 11.1 ms at T=6; BD 128 spills)

YanissAmz604d995257fa
diff --git a/exllamav3/loader/head_bf16.py b/exllamav3/loader/head_bf16.py
index 34f676a..b70f6d1 100644
--- a/exllamav3/loader/head_bf16.py
+++ b/exllamav3/loader/head_bf16.py
@@ -12,7 +12,7 @@ BV = int(os.environ.get("HY4_HEAD_BV", "8"))
BD = int(os.environ.get("HY4_HEAD_BD", "512"))
DOT = os.environ.get("HY4_HEAD_DOT", "0") == "1" # 1 = verify rows (T >= 2) on tl.dot: fp16 WMMA, h split hi + lo (rel ~1e-7), W bf16 -> fp16 exact above 6e-8
DOT_BV = int(os.environ.get("HY4_HEAD_DOT_BV", "64"))
-DOT_BD = int(os.environ.get("HY4_HEAD_DOT_BD", "128"))
+DOT_BD = int(os.environ.get("HY4_HEAD_DOT_BD", "64"))
DOT_NW = int(os.environ.get("HY4_HEAD_DOT_NW", "4"))
ROW_TILES = os.environ.get("HY4_ROW_TILES", "0") == "1" # 1 = verify-row tiles tuned on the Strix (T 2..4: BD 64 + 2 warps; T >= 5: BV 16, BD 32)