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: carry the grouped MoE kernel changes the loader needs (swiglu clamp, expert-major block order) into the extension sources
b3b2399 YanissAmz committed 9 days ago
install_strix.sh: stop with the doc/install.md step when the repository extension is not built
94376eb YanissAmz committed 9 days ago
Hy4 Strix: one install script for the kernels, serve stops without the MoE extension and sources the Strix env itself
595eca7 YanissAmz committed 9 days ago
Hy4-flash v1: user guide (doc/hy4.md), changelog, README section
76d0e69 YanissAmz committed 9 days ago
Hy4 serve: ship HY4_PF_SPARSE=1 with HY4_PF_SPARSE_MINN=16384 (sparse prefill attention for DSA layers from 16K keys)
b40da4d YanissAmz committed 9 days ago
Hy4 prefill: sparse DSA attention routes to the HIP kernel for H = 32 and H = 64; an fp16 K cache feeds the kernel without a copy
5f5d15c YanissAmz committed 9 days ago
Hy4 prefill HIP sparse MLA: H = 32 variant (8 waves per workgroup, two gather tasks per thread), rolling LDS fragment prefetch in PV, H parameter in test and microbench
757bde6 YanissAmz committed 9 days ago
Hy4 prefill HIP sparse MLA: two barriers per tile (V^T write moved into the QK phase), split QK accumulator chains, peaky-softmax tests, ablation switches, WMMA peak probes
0002518 YanissAmz committed 9 days ago
Hy4 prefill: timers around the sparse MLA kernels (kc16 cast, HIP, Triton)
46c5dbe YanissAmz committed 9 days ago
Hy4 prefill: route the sparse DSA attention to the HIP/WMMA kernel (HY4_PF_SPARSE_HIP=1 default, libspmla.so via SP_SO or hipsp/), Triton kernel as fallback
8698b5b YanissAmz committed 9 days ago
Hy4 prefill: hand-written HIP/WMMA sparse MLA kernel (one workgroup per query, 16 waves, Q resident, gathered K tiles via LDS), host guard-page test, GPU exactness test and microbench
68ec00a YanissAmz committed 9 days ago
Hy4 prefill sparse MLA: default config HB16 BG4 (best of the sweep, 8192 rows at N 33K: 640 -> 299 ms per layer)
804f52f YanissAmz committed 9 days ago
Hy4 prefill sparse MLA: waves_per_eu and register-resident Q options for the sparse kernel (sweep knobs), per-config progress in the microbench
16cedd2 YanissAmz committed 9 days ago
Hy4 prefill: per-query sparse gather MLA attention for DSA layers (HY4_PF_SPARSE=1): ix_select emits compact group ids, mla_sparse gathers them once per head block; CPU exactness test vs fp64 reference
f48b267 YanissAmz committed 9 days ago
OOM guard: Changes following PR review. Removed workspace requirement from dedicated GPUs/VRAM. Added CPU tests.
aec262e Resynth committed 9 days ago
Hy4 serve: ship HY4_LC_SPARSE=1 and HY4_LC_PRIME=1 (teacher-forced NLL of sparse decode inside the dense-vs-noise-null band at 8K and 16K depth)
dae5291 YanissAmz committed 9 days ago
Hy4 prefill: merge a short tail (<= 25 % of a chunk, HY4_PF_TAIL_MERGE) into the last chunk instead of running it as its own small chunk (8.6K prompt 12.0 -> 11.5 s, 8.5K 12.35 -> 11.25 s, 33K 66.8 -> 58.5 s; KL 0.123 +- 0.012 vs three noise nulls 0.099-0.126)
b4a4be6 YanissAmz committed 9 days ago
Hy4 integration: slot-slab pool update passes VR=0 (the vg ring is single-session only), MuEngine refuses HY4_SWA_RING / HY4_LC_SPARSE
b33a9c4 YanissAmz committed 9 days ago
Hy4 multi-session: speculation only while <= HY4_MU_SPEC_MAXB (2) sessions decode; graph-replay A/B driver for the gm MoE / row tiles flags
2801168 YanissAmz committed 9 days ago
Hy4 multi-session: draft cache primed per prefill chunk (no end-of-prompt stall), pf warm-up
60c7d9a YanissAmz committed 9 days ago
Hy4 multi-session server: serve.py --slots N (scheduler path, cancel, stats), scheduler tests with a fake engine, served test driver, teacher-forced NLL phase
302f88f YanissAmz committed 9 days ago
Hy4 multi-session: MuEngine / MuScheduler (chunked prefill interleaved with batched decode rounds, per-session MTP + n-gram + Engram state), A/B bench, design note
8d8dbff YanissAmz committed 9 days ago
Hy4 multi-session: slot slabs for K / indexer state, slot-aware MLA core and indexer ops, MultiDecoder step over rows of several sessions, CPU tests (batched == solo, isolation, sentinels, Triton interpreter)
c4fbc83 YanissAmz committed 9 days ago