Skip to content

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.

Remove private machine names and home paths from docs, figures and a bench script (#171)

Yaniss Amazouzfe4ff7af1462
diff --git a/doc/ds41-ramfit.md b/doc/ds41-ramfit.md
index fb944f8..1b08297 100644
--- a/doc/ds41-ramfit.md
+++ b/doc/ds41-ramfit.md
@@ -40,7 +40,7 @@ the fit needs K=1 for the cold experts and/or pruning.
* Quantizer: yes. `quantize_exl3` accepts K = 1..8 and the CUDA tile quantizer has K=1 instances (`quantize_tiles_inst_k1.cu`,
optimized kernel on sm_86 / the 3090). On ROCm `quantize_tiles_mode` sends K=1 to the BASE kernel (RDNA path is K 2-3, optimized
K 4-5): the iGPU may be several times slower on K=1 experts (`EXL3_QT_KERNEL=opt` selects the optimized instance, unverified for
- bit-equality). `smoke_alloc_kamel.sh` S0/S0b measure both.
+ bit-equality). the allocation smoke S0/S0b measures both.
* Error (CPU trellis, mul1 codebook, 16-bit state, tail-biting 256, iid N(0,1), `scratch/k1_trellis.py`, 32 tiles):
K=1 relative MSE **0.2745 +- 0.0049**, K=2 0.0687 +- 0.0012, ratio **3.99** (R-D bound 0.25 / 0.0625). The real K=2 proxy (Hessian
weighted, 0.0489) therefore puts K=1 at ~0.196: a K=1 expert has 4x the error energy of K=2, 16x that of K=3. Never use K=1 on a hot
@@ -154,7 +154,7 @@ python3 tools/ds41/plan.py --map tensor_map.json --expert-bits-file alloc.json -
python3 tools/ds41/optimize_alloc.py --tables OUT --plan OUT/plan.json --resident-only --out alloc.json # attention K after
```
-`scratch/run_conv.sh` defaults to this (`RAMFIT=1`; `RAMFIT=0` restores the old position-based plan), `launch_kamel.sh` ships
+`scratch/run_conv.sh` defaults to this (`RAMFIT=1`; `RAMFIT=0` restores the old position-based plan), the launch script ships
`ramfit.json`. How the converter uses it: per layer, once the capture's routing file exists, `split.Coordinator.ramfit_layer` solves a
Lagrangian per layer (`ramfit.decide_layer`: hot experts get K=3, cold K=1, dead ones 0, filling the layer budget exactly) with
share = squared routing weights + 2 % of the mean, persists `ramfit/<unit>.json` (replayed after a restart, so experts already
diff --git a/doc/figures_platforms.json b/doc/figures_platforms.json
index 2fc6c6e..85bb02b 100644
--- a/doc/figures_platforms.json
+++ b/doc/figures_platforms.json
@@ -132,7 +132,7 @@
78.5
]
},
- "source": "Kamel readme189.json, served, 1 warm-up + 1 rep (3 reps median where a cell was >5 % under), actual prompt tokens: Qwen 5392/39276/81491/147740/234772; Flint 4051/15338/31190/61543/123523/227527"
+ "source": "RTX 3090 box, readme189.json, served, 1 warm-up + 1 rep (3 reps median where a cell was >5 % under), actual prompt tokens: Qwen 5392/39276/81491/147740/234772; Flint 4051/15338/31190/61543/123523/227527"
},
"mac": {
"machine": "Mac Studio M5 Ultra, 256 GB",
diff --git a/tests/foreign_gap_fused_bench.py b/tests/foreign_gap_fused_bench.py
index e20897b..ec7cf94 100644
--- a/tests/foreign_gap_fused_bench.py
+++ b/tests/foreign_gap_fused_bench.py
@@ -1,6 +1,6 @@
import sys, types, time, importlib.util, os, torch, numpy as np
sys.path.insert(0, "pylib")
-D = "/home/kamel/hermes-work/kyolane/src_v185/kyojin/exllamav3/foreign_quant"
+D = os.environ.get("FQ_DIR", "exllamav3/foreign_quant")
spec = importlib.util.spec_from_file_location("fq_gap", D + "/__init__.py", submodule_search_locations=[D])
m = importlib.util.module_from_spec(spec); sys.modules["fq_gap"] = m; spec.loader.exec_module(m)
import fq_gap.gap_formats as gf, fq_gap.triton_gap as tg