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
KVWIN: per-sequence attention params (row-invariant multi-job step) keep their own recurrent state; a state/batch mismatch with a bound ring is an error, not a silent skip
dc7f7f1 YanissAmz committed 1 month ago
KVWIN on CUDA: qdec.cu / qdec_rows.cu take a compile-time KEY_LO so the pool pass of the ring runs on the tensor-core kernels; env var documented
bf29966 YanissAmz committed 1 month ago
KVWIN on ROCm: qdec_hip serves the pool pass (KEY_LO compile-time bound, shifted seqlens) and the ring partial is merged by qdec_combine; tests cover the hip, legacy and 1.6 decode wrappers at hd 128/256
5a51780 YanissAmz committed 1 month ago
KVWIN: mid-chunk recurrent checkpoints stay enabled with a ring (restored with a cold ring rebuilt from the pool); Cache / GDNState / Attention hook tests
38eda31 YanissAmz committed 1 month ago
KV cache: fp16 sink + recent-window ring next to the quantized pool (EXL3_KVWIN=sink:window, default off)
874a523 YanissAmz committed 1 month ago
CUDA graph: EXL3_CUDA_GRAPH_LOG_CAPTURES=1 prints each capture with its duration and the LRU state (diagnostic, off by default)
3f05bd3 YanissAmz committed 1 month ago
Prefix disk restore: an in-memory prompt-end checkpoint whose partial page was reused does not count as a resume point
0511b28 YanissAmz committed 1 month ago
DFlash2 serving: per-request adaptive draft depth (full block, short block, plain decode with probes) from the measured acceptance; --dflash-adapt on|off
ab8f9f8 YanissAmz committed 1 month ago
Merge feat/autotune: qualify day-0 autotune stage, per-pack tuning cache
53b2c15 YanissAmz committed 1 month ago
Qwen serve: --draft-policy dflash with --dflash-dir loads a DFlash2 block drafter next to the target
7f4e7fe YanissAmz committed 1 month ago
DFlash2 drafter on a Llama-architecture target: bench script (decode tok/s, acceptance, greedy equality) and a drafter config test
1a33d6c YanissAmz committed 1 month ago
Qwen serve: the start-up VRAM guard counts the draft-head subset that is built while serving
760fce7 YanissAmz committed 1 month ago
AUTOTUNE.md: inventory, design and the cold-vs-tuned proof on Nanbeige and Qwen27
e8f6beb YanissAmz committed 1 month ago
ab_autotune: time the first requests of unseen row classes (odd prompts, tails, batched decode) before the steady phase
1359fd6 YanissAmz committed 1 month ago
autotune: device signature from torch.version.hip (CUDA exposes gcnArchName as the device name), ship only dense-tune lines beyond the seed
644467f YanissAmz committed 1 month ago
qualify locks: wait in the kernel flock queue instead of polling (a poller starves behind blocking waiters)
994261a YanissAmz committed 1 month ago
qualify: skip the autotune stage on backends without a GEMM tuner
4edab28 YanissAmz committed 1 month ago
autotune: ship the ROCm dense-GEMM tune lines with the pack cache and merge them at serve start
16dcb31 YanissAmz committed 1 month ago
qualify: day-0 autotune stage (shape replay), per-pack GEMM tuning cache loaded at serve start, cold-vs-tuned A/B and oracle tools
eed4388 YanissAmz committed 1 month ago
qualify: per-stage input keys, engine checkout as PYTHONPATH, eval suite lookup, design findings
b1dfbc1 YanissAmz committed 1 month ago
qualify: one command per backend (planner, stages, rules, report), CPU tests and a fake-server end-to-end test
c7bccf2 YanissAmz committed 1 month ago
Tests: the prefill-round glue namespace defines _PF_PROF (EXL3_PF_PROF diagnostic off)
ccd213c YanissAmz committed 1 month ago
Servers: a request that fails is named on stderr (HTTP 500 and mid-stream error event), not only in the opt-in request log
7bad572 YanissAmz committed 1 month ago
Qwen serve: the start-up VRAM guard needs 1.5 GiB free (was 1 GiB, counted torch's cache) and prints what it measured
4b3c914 YanissAmz committed 1 month ago
Embedding on the CPU: map the table from the safetensors file instead of holding an anonymous copy
1f5cd87 YanissAmz committed 1 month ago