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
tests: cover the batch-1 gate/up k-split shape of the fused decode MoE kernels
YanissAmz72344059f6f6
diff --git a/tests/test_moe_coop.py b/tests/test_moe_coop.pyindex 0a1d40e..6fc755c 100644--- a/tests/test_moe_coop.py+++ b/tests/test_moe_coop.py@@ -242,3 +242,11 @@ def test_odd_shapes():# k-slices not divisible by the 16-warp split, several column groupsrun_case(16, 4, 4, 4, 1, H = 640, Hi = 640, I = 896, Ho = 640, H_out = 640)run_case(17, 6, 6, 6, 2, H = 384, Hi = 384, I = 1152, Ho = 384, H_out = 384)+++def test_decode_k_split():+ # Flint-like batch 1: 48 gate/up units fit one per SM, so the gate/up stage shares each unit's k loop over blocks+ # (fp32 partial rows) on Ampere; shared-expert merge and mixed widths on top+ run_case(28, 3, 3, 3, 2, H = 2048, Hi = 2048, I = 512, Ho = 2048, H_out = 2048, E = 8, topk = 6, bsz = 1)+ run_case(29, 4, 4, 5, 2, H = 2048, Hi = 2048, I = 512, Ho = 2048, H_out = 2048, E = 8, topk = 6, bsz = 1, shared = "gated")+