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
Optional refusal hook
The engine can project one fixed direction out of the residual stream at run time. It edits no weights and no quantised data. Off unless EXL3_ABLIT_RUNTIME=/path/to/spec.json is set or the model folder contains uncensor_spec.json.
- Bundled spec: if
<model_dir>/uncensor_spec.jsonexists (withuncensor_direction.stnext to it, oruncensor_spec.safetensors), the engine applies it at load and logs-- ablit runtime: spec <path> active (bundled in the model directory). An explicitEXL3_ABLIT_RUNTIME=<path>wins.EXL3_ABLIT_RUNTIME=offor--no-uncensor(GLM and MiMo servers) disables it. A missing or malformed spec stops the load with an error that names the file. - The spec is a JSON file (
hidden,n_layers, per-layer weightsattn_w[L],mlp_w[L]) plus a unit vectorrinspec.safetensors. - After each attention and MLP block of layer L the output becomes
y - w_L * r * (r . y). EXL3_ABLIT_TORCH=1forces the PyTorch path instead of the Triton kernel.- A direction fitted on refusals makes the model refuse less. Whoever uses a spec is responsible for it. The Qwen / MiMo steering presets are published separately in the Yamz presets repository (https://github.com/yamz-labs/yamz-presets); the Hy4-flash preset ships in this repository.
- Hy4-flash has its own hook (
HY4_ABLIT_SPEC, per-layer direction and offset,exllamav3/loader/ablit_hy4.py); its preset ispresets/hy4-uncensor/. - Code:
exllamav3/modules/ablit_runtime.py. Test:tests/test_ablit_runtime_cpu.py,tests/test_uncensor_bundled_cpu.py.