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
Commits on main
Hy4 prefill: lazy layer residual (HY4_PF_HC2), head-major CK attention operands (HY4_PF_KV_HM, HY4_PF_QO_HM) and fp16 router logits of prefill rows (HY4_PF_ROUTER16), shipped on; =0 restores 1.9.0
de74083 YanissAmz committed 9 days ago
Hy4 serve: clamp the load warm-up prompt to the context (a small -c no longer fails the warm-up)
e8cb95b YanissAmz committed 9 days ago
Merge pull request #237 from Yamz-Labs/feature/hy4-v1-r2
58a74f3 Yaniss Amazouz committed 9 days ago
tests: skip the three script-style Hy4 CPU tests under pytest
b769165 YanissAmz committed 9 days ago
Hy4 docs: correct the memory figures (steady free memory about 16 GiB at -c 65536, per-window table)
a0c8dfb YanissAmz committed 9 days ago
Hy4 docs: memory measured at the default 64K (GTT peak 102.7 GiB, 0.9 GiB minimum available), 128K load figure
41f8e3b YanissAmz committed 9 days ago
Hy4 docs: default context 64K (measured depths), 128K as an opt-in with its memory note
8b7b3b5 YanissAmz committed 9 days ago
Hy4 docs: new decode and prefill flags, native Engram IO build, sparse prefill from 2048 keys
169186e YanissAmz committed 9 days ago
Hy4 serve: ship the prefill levers (Engram host side, glue fusions, fine M-split, sparse prefill from 2048 keys) in SHIPPED_ENV
30d5e79 YanissAmz committed 9 days ago
Hy4 prefill: Engram host side (vectorised hash, GIL-free native row reads, single prefetch worker), sync-free MoE routing counts (flags HY4_ENGRAM_NPHASH, HY4_ENGRAM_NATIVE_IO, HY4_ENGRAM_PF_WORKERS, HY4_PF_NOSYNC_ROUTE, default off)
e5f8cde YanissAmz committed 9 days ago
Hy4 prefill glue: fused SwiGLU + cast, fused cast-add of the MoE layer tail, fine M-split of the dense GEMMs (flags HY4_PF_G_SWIGLU, HY4_PF_G_ADD, HY4_PF_MM_FINE, default off)
94e0676 YanissAmz committed 9 days ago
Hy4 serve: ship the decode levers (HY4_MLA_HB, HY4_BG_DOT, HY4_HEAD_DOT, HY4_RG_F16) in SHIPPED_ENV
9676943 YanissAmz committed 9 days ago
Hy4 decode step: quality gate for the fused K-row / q-rope rows and the fused Engram block (real-shape unit check, KL vs noise nulls)
27d4a34 YanissAmz committed 9 days ago
Hy4 decode glue: fused K-row / q-rope kernels take the verify rows (HY4_KV_FUSED_MAXT 16, was 1 row) and a two-launch fused Engram block (HY4_ENGRAM_FUSED=1, opt-in); CPU-interpreter row tests
63074bb YanissAmz committed 9 days ago
Hy4 step: row thresholds for the dot paths (HY4_BG_DOT_MINT 5, HY4_HEAD_DOT_MINT 3): box A/B shows no gain below T 5 for k_b / v_b and none at T 2 for the head
b402c31 YanissAmz committed 9 days ago
Hy4 head dot: BD 64 default (box micro: 7.4 ms vs 11.1 ms at T=6; BD 128 spills)
604d995 YanissAmz committed 9 days ago
Hy4 step A/B: arm B switches HB attention, head dot, k_b / v_b dot and fp16 router weights (ARMB selects levers)
27a9564 YanissAmz committed 9 days ago
Hy4 router: fp16 resident weights for the router mat-vec (HY4_RG_F16=1, opt-in), fp32 accumulate
b783b08 YanissAmz committed 9 days ago
Hy4 k_b / v_b: verify rows on tl.dot (HY4_BG_DOT=1, opt-in): exact int8 -> fp16, block scale on the fp32 partial
7f65c81 YanissAmz committed 9 days ago
Hy4 head: verify rows on tl.dot (HY4_HEAD_DOT=1, opt-in): fp16 WMMA with hi + lo activations, bf16 weights read once
cccd934 YanissAmz committed 9 days ago
Hy4 decode attention (HY4_MLA_HB): BN 16 default (BN 32 overflows the 64 KiB LDS), key-split flash-decoding path + combine kernel for few-row steps (HY4_MLA_HB_SPLIT), micro test sweeps tiles and splits, A/B reads ref_fused from the engine module
86de01d YanissAmz committed 9 days ago
Hy4 step tools: HB micro test loads ref_fused without the extension build
bd577b3 YanissAmz committed 9 days ago
Hy4 decode attention: head-batched fp16 tl.dot MLA kernel (HY4_MLA_HB=1, opt-in, default off); K tile loaded once for 16 heads instead of once per head
b038340 YanissAmz committed 9 days ago
Hy4 prefill: the MTP draft-cache fill writes only K / V + indexer key state (no queries, selection, attention, MoE)
bd302dc YanissAmz committed 9 days ago
tests: a missing repository extension stops hy4_forward, HY4_ALLOW_SLOW=1 continues
8600ae7 YanissAmz committed 9 days ago
Hy4: a missing built kernel library (repository extension, MoE extension, attention libraries) stops the server with the install step; HY4_ALLOW_SLOW=1 keeps the slow path
adf6cdb YanissAmz committed 9 days ago
Hy4 serve: apply the TunableOp results, the start-up warm-up and the Q5_K draft head by default
f4105e0 YanissAmz committed 9 days ago