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
qdec_hip: tq decode launches 4/3 more splits (80 CTAs on the 20 WGPs instead of 60)
YanissAmzf411d17a13fa
diff --git a/exllamav3/modules/attention_fn/qdec_hip.py b/exllamav3/modules/attention_fn/qdec_hip.pyindex e6b021c..636c1de 100644--- a/exllamav3/modules/attention_fn/qdec_hip.py+++ b/exllamav3/modules/attention_fn/qdec_hip.py@@ -148,7 +148,7 @@ def cu_count(device):def num_splits(cfg, device, programs, max_k_len):if os.environ.get("EXL3_QDEC_HIP_SPL"):return int(os.environ["EXL3_QDEC_HIP_SPL"])- waves = int(os.environ.get("EXL3_QDEC_HIP_WAVES", "0")) or cu_count(device) * 12+ waves = int(os.environ.get("EXL3_QDEC_HIP_WAVES", "0")) or cu_count(device) * (16 if cfg.get("tq") else 12) # tq: 4 waves per SIMD, its decode keeps the V loads in flightreturn max(1, min(-(-waves // (programs * cfg["nw"])), -(-max_k_len // 16 // cfg["nw"]), 128))