|
Download README.md from ahrazzle/Silqing: direct link, hf CLI and curl.
- Browser
- Download file 31.9 kB
-
https://huggingface.co/ahrazzle/Silqing/resolve/main/README.md
- Command line
-
hf download hf://ahrazzle/Silqing/README.md
-
curl -L -o README.md https://huggingface.co/ahrazzle/Silqing/resolve/main/README.md
31.9 kB
| library_name: custom-cuda | |
| license: apache-2.0 | |
| license_link: https://huggingface.co/thinkingmachines/Inkling-2-Mini/blob/main/LICENSE | |
| pipeline_tag: text-generation | |
| base_model: | |
| - thinkingmachines/Inkling-2-Mini | |
| language: | |
| - en | |
| tags: | |
| - silqing | |
| - siliquant | |
| - aletheia | |
| - lattice-quantization | |
| - a16-lattice | |
| - extended-hamming | |
| - block-hadamard | |
| - cuda-sm86 | |
| - avx512 | |
| - zero-spill | |
| - recurrent-loop | |
| - moe | |
| <p align="center"> | |
| <a href="https://huggingface.co/ahrazzle/Silqing">Hugging Face</a> | | |
| <a href="https://huggingface.co/collections/ahrazzle/siliquant-flagships-6b09fd348ec8b911eb469008">SiliQuant Flagships</a> | | |
| <a href="https://github.com/Moissanite-Labs/silqing">GitHub</a> | | |
| <a href="https://huggingface.co/thinkingmachines/Inkling-2-Mini/blob/main/LICENSE">License</a> | |
| <br> | |
| <b>License</b>: <a href="https://huggingface.co/thinkingmachines/Inkling-2-Mini/blob/main/LICENSE">Apache 2.0 (Inherited)</a> | | |
| <b>Authors</b>: <a href="https://huggingface.co/ahrazzle">Moissanite Labs / Foundation-0</a> | |
| </p> | |
| # Silqing V2 (`ahrazzle/Silqing`) | |
| **Silqing V2** is the Pareto-fused heterogeneous **CUDA `sm_86` + Intel `AVX-512`** bare-metal inference engine and `.slqi` release of [`thinkingmachines/Inkling-2-Mini`](https://huggingface.co/thinkingmachines/Inkling-2-Mini) (`26.39B` total / `26.07B` text / `5.35B` active @ `K=3`, `24` physical layers with a `12`-layer recurrent loop core `L6..17`, `128` routed experts/layer top-`8`). Reusing the bit-identical **`11.239 GiB`** (`12.07 GB`, `12,067,738,528 B`) zero-overflow `.slqi` binary (`3.125 bpw` SoA `g=128` `L0..19` experts, `4.5 bpw` `g=32` `L20..23` exit experts / `132` attention linears / `lm_head`, and `168` unquantized `BF16` loop-core tensors), Silqing V2 runs inside **`6.179 GiB`** static VRAM (`0 B` dynamic allocation) with **`9.06e-6`** (`B=1`) / **`2.35e-4`** (`B=16 seq_pos=0`) / **`3.81e-5`** (`B=16 seq_pos=0..7`, `16/16` top-1) `FP32` parity, **`46.38 tok/s`** (`B=1 K=3`, `1.653 J/tok`), **`60.93 tok/s`** (`B=1` Adaptive, `2.02x` V1), **`85.60 tok/s`** (`B=1 K=1`), **`144.13 tok/s`** (`B=16 K=3`, `0.514 J/tok` / `1.947 tok/J`), **`96.22%`** swap cut vs admission-filtered `lru_filtered_swaps` (`720` vs `19,030`; **`97.00%`** vs `23,972` 1-hit LRU), **`95.07%`** hit rate, **`89.67%`** prefetch recall, and **`31.65%`** cold stall (`<= 35%`) on an RTX 3080 Laptop GPU + Intel Core i9-11900H. | |
| > [!IMPORTANT] | |
| > **Silqing V2 Post-R2 Live Verification & Law 4 Disclosure:** All post-R2 checks below were freshly collected on RTX 3080 + i9-11900H hardware against the immutable `12.07 GB` `.slqi` archive. Compiler/SASS (`39` main / `135` bench / `135` shared `.so` kernels `<= 48` regs, `0 B` spill, `0` `LDL`/`STL`), SECDED/IRIS safety (`3/3` SEC, `3/3` DED, `1/1` IRIS, `3/3` runtime traps), `ClassLRU`/prefetch (`96.22%` swap cut vs filtered LRU, `0` physical Kirchhoff imbalance, `31.65%` cold stall), contraction (`keep_leak = 1.93e-7`, `K=4/5 rho = 0.5600 < 0.618`), and `B=1 K=3` throughput/energy (`46.38 tok/s`, `1.653 J/tok`) pass, while live `collapse_kv_1pass` A/B (`1.61e-4` step / `4.44` `4`-tok seq vs `1e-5` threshold), `B=2` `seq_pos=0..259` split-KV (`1.06e-3` vs `1e-3`, `cos_min = 0.99999994`), `K=4` GSM8K NLL (`1.3874 > 1.2832` Form A baseline), adaptive held-out `WT2` drift (`+0.7237` at `mean_k = 2.011`), and laptop physical bandwidth/TDP ceilings (`B=16 K=3` `144.13` vs `220`, `B=1 K=1` `85.60` vs `100`, `B=1` Adaptive `60.93` vs `65`) are reported transparently below. | |
| This V2 release delivers five **key systems and mathematical advances**: | |
| * **Exact `FP32` Parity (`9.06e-6` `B=1`, `2.35e-4` `B=16 seq_pos=0`, `3.81e-5` `B=16 seq_pos=0..7`, `16/16` Top-1)** β Combines non-FMA `__fmul_rn` QKV clipping with fused `FP32` KV-cache writes, `144`-block Split-K dual-split `BF16`-pair `wo_ud` MMA (`mma.sync.aligned.m16n8k16`), exact integer-decode post-MMA `FP32`-scaled quantized GEMMs (`3.125 bpw` and `4.5 bpw`), multi-`seq_pos` `B=16` (`pos=0..7`) & `B=2` (`pos=0..259` split-KV `1.06e-3`, `cos_min = 0.99999994`) verification, and a live-verified `collapse_kv_1pass` A/B harness (`1.61e-4` single-step / `4.44` `4`-token sequence divergence)βcutting `B=16 seq_pos=0` max logit error by **`59.1%`** vs. V1 (`5.74e-4 -> 2.35e-4`). | |
| * **Zero-Spill `39`-Main / `135`-Shared `sm_86` + Hybrid `AVX-512` Engine (`<= 48` Regs, `0 B` Spill, `0` SECDED)** β Compiles `39` main, `135` bench, and `135` shared `.so` CUDA kernels (`nvcc -arch=sm_86 -O3 --Werror all-warnings`) with **`<= 48` registers**, **`0 B` stack**, **`0 B` spill**, **`0` SASS `LDL`/`STL`**, `0`-ULP canonical `tree_reduce_128`, **`0` clean SECDED errors**, fail-closed `step()` watchdog/cold-batch propagation (`3/3` live runtime traps across GPU DED, IRIS canary, and AVX-512 cold-batch DED), and `3/3` SEC + `3/3` DED safe-halt + `1/1` IRIS trap coverage, paired with `VPOPCNTDQ` SECDED, batched `AVX-512` (`B=16`), frequency-preserving scalar `B=1` cold execution (`0.0` cross-ISA diff over full signed INT8 including `0x00`), and domain-guarded `[1..127]` `SWAR127` selftest contract helpers. | |
| * **`2.17x` `B=1 K=3`, `2.02x` Adaptive & `3.33x` `B=16` Speedups Inside `6.179 GiB` VRAM** β Fusing V1 fast `IMMA K=64` hot-MoE dispatch (`hot_b2`/`hot_b3`, `b_star = 6`, `max_cpu_jobs = 128`) and `Stage B2` `B=1` parallelization with V2 dense/KV/CPU fusions yields **`46.38 tok/s`** (`B=1 K=3`, `1.653 J/tok`, `12.85x` over Form A `3.608 tok/s`), **`60.93 tok/s`** (`B=1` Adaptive, `2.024x` over V1 `30.11 tok/s`), **`85.60 tok/s`** (`B=1 K=1`), and **`144.13 tok/s`** (`B=16 K=3`, `0.514 J/tok` / `1.947 tok/J`, `3.331x` over Bring-Up) in **`6.179 GiB`** VRAM (`0 B` dynamic alloc). | |
| * **`ClassLRU CRF(128)` + `cpu_share` + Monna `2^7 = 128` `HYST_2` (`96.22%` Cut vs Filtered LRU, `31.65%` Cold Stall)** β Composes an `8`-tier exponential `CRF(half_life=128)` eviction scorer (`age_steps >> 6`), a `128`-bit single-hit host bypass filter (`cpu_share`), and burst `max_batch` bypass on top of Monna `2^7` ultrametric ball cohesion, non-tautological arena/bijection Kirchhoff conservation auditing (`0` imbalance), per-split `silqing_engine_reset_hyst2()` isolation, and score-gated `B=1` top-2 cold prefetch (`18 MiB` ping-pong work banks). Live post-R2 runs (`B=1 K=3`, `1,000` steps) cut swaps by **`96.22%`** against admission-filtered `lru_filtered_swaps` (`720` vs `19,030`; **`97.00%`** vs `23,972` 1-hit LRU) at **`95.07%`** hit rate, **`89.67%`** recall, and **`31.65%`** cold stall (`<= 35%`). | |
| * **Double-GS Riccati Contraction (`rho = 0.5600 < 0.618`, `keep_leak = 1.93e-7`) + `LoopCD-Hidden` + `L18 ch2027` Outlier Guard** β Enforces explicit pre-extrapolation `RAW_LOOP` consistency, `FP64` QR-orthonormalized rank-`64` `Q_keep` (`5.10e-9` orthogonality error), and double Gram-Schmidt orthogonalization (`keep_leak = 1.93e-7`, down `2,400,000x` from V1 `0.4707`), contracts `K=4` and `K=5` below the Golden Ratio reciprocal (`max_rho_hat = 0.5600 < 0.618034`, `0` bulk experts modified, `0 B` backprop), and pairs pre-coda `LoopCD-Hidden` (`omega = [0.0, 0.3, -0.1, -0.15]`) with an `|h| > 8.0 * rms` outlier guard targeting the diagnosed `L18 ch2027` (`38.34x` RMS) spike. | |
| ## **Models Overview** | |
| Every `16`-element weight block is rotated by an order-`4` WalshβHadamard transform (`Block-H4`) and quantized onto $A_{16} = 2\mathbb{Z}^{16} + C_{[16, 11, 4]}$. Unlike sparse-CSR Form A checkpoints ([`ahrazzle/SiliInkling-2-Mini-FormA`](https://huggingface.co/ahrazzle/SiliInkling-2-Mini-FormA)), `inkling2_formb.slqi` (`wire_variant = 1`, `ZERO_TABLE_SOA_3125BPW`) eliminates sparse overflow tables completely: `L0..19` routed experts (`2,560` slots) pack into `3`-plane `g=128` Structure-of-Arrays bitplanes (`48 B` bitplanes + `2 B` `FP16` scale = `3.125 bpw`, `3,110,400 B`/expert), while `L20..23` exit experts (`512` slots), `132` attention linears, and `lm_head` pack into `4.5 bpw` `g=32` nibbles (`16 B` packed codewords + `2 B` `FP16` scale, `4,478,976 B`/exit expert). All `168` loop-core `BF16` tensors in `L6..17` (`12` `o_proj.linear`, `12` routers, `144` `q/k/v/mlp` message gates) remain unquantized (`0.0` `BF16` diagnostic relative error on `message_gate.down_proj`). | |
| | Property | Specification | | |
| | :--- | :--- | | |
| | **Base Model** | [`thinkingmachines/Inkling-2-Mini`](https://huggingface.co/thinkingmachines/Inkling-2-Mini) (`26.39B` total / `26.07B` text / `5.35B` active @ `K=3`, `24` physical layers, `L6..17` loop `K in {1..5}`, `128` experts top-`8`, `hidden=2304`, `24Q/8KV`, `eos=200006`) | | |
| | **Format & Engine** | Bare-metal `silqing-formb-v1` (`.slqi` magic `0x534C5149`, `v1`, `wire_variant=1`, header CRC-32 `0x1d7531de`) + `39`-main / `135`-bench / `135`-shared `sm_86` CUDA + `AVX-512` V2 engine ([`Moissanite-Labs/silqing`](https://github.com/Moissanite-Labs/silqing), `<= 48` regs, `0 B` spill, `0` `LDL`/`STL`) | | |
| | **Quantized Linear & MoE Coverage** | `132` attention linears (`314,523,648 B`, `4.5 bpw` `g=32`) + `lm_head` (`259,275,168 B`, `[200,058 x 2,304]`, `4.5 bpw` `g=32`) + `2,560` `L0..19` experts (`3.125 bpw` SoA `g=128`) + `512` `L20..23` exit experts (`4.5 bpw` `g=32`) | | |
| | **Unquantized Loop Core & Backbone** | `168` `BF16` loop tensors (`116,785,152` params = `169,869,312 B` `L6..17` `wo_ud` + `63,700,992 B` routers & message gates) + `78,076,416 B` small backbone (`P2`) + `926,323,200 B` pinned RAM `BF16` embeddings | | |
| | **Error-Correcting Code & Safety** | Extended Hamming `[16, 11, 4]` `SECDED` + `IRIS` canary (`0` clean SEC/DED errors across self-tests and live NVML runs; `3/3` SEC, `3/3` DED safe halt, `1/1` IRIS trap, `3/3` live runtime `step()` traps; `0`-ULP canonical `tree_reduce_128`) | | |
| | **Archive Footprint (`inkling2_formb.slqi`)** | `12,067,738,528 B` (`11.239 GiB` / `12.07 GB` β bit-identical zero-repack `0.0 s` reuse; `11,077,604,256 B` compute wire / `12,003,927,456 B` text wire; `821,744,544 B` shared GPU backbone) | | |
| | **Static Runtime Memory Envelope** | **`6.179 GiB`** (`6,634,274,816 B`) VRAM with `FP32` KV cache (`1,596` runtime active hot expert slots from `1,705` header capacity; `0 B` dynamic allocation over `1,000` steps) + pinned host RAM cold expert bank | | |
| | **Verified `.slqi` SHA-256** | `87457ec564907865a9a1ec49711c2e3a36d0451eaad814fd36768b44a3a0b1bf` | | |
| ## **Benchmark Results & Pareto Evaluations** | |
| ### **1. Verified Evolution: Form A -> Form B Bring-Up -> Silqing V1 -> Silqing V2** | |
| | Milestone / Release | `B=1 K=3` (`tok/s`) | `B=1` Adapt (`tok/s`) | `B=1 K=1` (`tok/s`) | `B=16 K=3` (`tok/s`) | Max Logit Err (`B=1` / `B=16`) | Peak VRAM | Cache Hit / Chatter Cut / Cold Stall (`B=1 K=3`) | `K=5` `max_rho_hat` / Keep Leak | | |
| | :--- | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | | |
| | Form A Initial (`PyTorch`) | `2.71` | `β` | `β` | `β` | `1.073e-6` gauge | `6.897 GiB` | `80.27%` / `94.00%` / `β` | `5.5840` / `3.78e-15` (single-layer) | | |
| | [`Form A Pre-Hardening`](https://huggingface.co/ahrazzle/SiliInkling-2-Mini-FormA) | `3.608` | `β` | `β` | `β` | `0.0` reload diff | `6.106 GiB` (`6.963` res.) | `86.07%` / `48.88%` serving / `β` | `0.6762` (`K=4`) / `3.66e-15` (single-layer) | | |
| | Form B Native Bring-Up | `21.39` | `26.00` | `32.25` | `43.27` | `1.19e-2` / `7.82e-1` (`118` DED) | `6.186 GiB` | `91.71%` / `65.93%` / `44.69%` recall | `3.4135` / `1.65e-7` | | |
| | Silqing V1 (Pre-Audit) | `45.66` | `30.11` (`K=5.0`) | **`95.97`** | **`151.45`** | `8.58e-6` / `5.74e-4` (`16/16`) | `6.181 GiB` | `94.79%` / `95.20%` / `44.63%` stall | `0.7467` / `0.4707` | | |
| | **Silqing V2 (Post-R2 Live)** | **`46.38`** | **`60.93`** (`K=2.053`) | `85.60` | `144.13` | **`9.06e-6` / `2.35e-4`** (**`16/16`**) | **`6.179 GiB`** | **`95.07%` / `96.22%` filtered (`97.00%` 1-hit) / `31.65%` stall** | **`0.5600 < 0.618` / `1.93e-7`** | | |
| ### **2. Numeric Parity vs. `FP32` `Inkling2LoopForCausalLM` & Cross-Architecture Self-Tests** | |
| | Path / Check | Reference | Max Error | Cosine Similarity | Top-1 Exact | Status | | |
| | :--- | :--- | :---: | :---: | :---: | :--- | | |
| | Form B Native Bring-Up (`B=1` / `B=16`) | `transformers` `FP32` | `1.19e-2` / `7.82e-1` | `β` | `β` (`118` DED) | Superseded | | |
| | Silqing V1 (`B=1` / `B=16`, `K=3`) | `transformers` `FP32` | `8.58e-6` / `5.74e-4` | `0.9999999` min | `1/1` / `16/16` | Superseded | | |
| | **Silqing V2 `B=1` (`dp4a22` + `FP32` KV, `K=3`)** | `transformers` `FP32` | **`9.06e-6`** (`9.060e-6`) | **`1.0000000`** | **`1/1`** | **`PASS`** | | |
| | **Silqing V2 `B=16` (`seq_pos=0`, Split-K Dual-`BF16` `wo_ud` + Exact-Int MMA, `K=3`)** | `transformers` `FP32` | **`2.35e-4`** (`2.346e-4`) | **`1.0000000`** (`0.9999999` min) | **`16/16` (`100%`)** | **`PASS`** | | |
| | **Silqing V2 `B=16` (`seq_pos=0..7`, `8`-step multi-pos, `K=3`)** | `transformers` `FP32` | **`3.81e-5`** (`3.815e-5`) | **`0.9999999` min** | `β` | **`PASS`** | | |
| | **Silqing V2 `B=2` (`seq_pos=0..259`, `b_split_cnt=4` split-KV, `K=3`)** | `transformers` `FP32` | **`1.06e-3`** (`1.055e-3`) | **`0.99999994` min** | `β` | `1.055e-3 > 1e-3` cap (`cos >= 0.99999994`) | | |
| | `1`-Pass KV-Collapse (`collapse_kv_1pass` A/B) | Uncollapsed baseline | **`1.61e-4` step Β· `4.44` `4`-tok seq** | `β` | `β` | Live A/B verified (`seq_pos=0` `B=16` / `seq4` `B=1`) | | |
| | `AVX-512` vs. `sm_86` GPU (`3.125` & `4.5 bpw`) | Cross-ISA bit-exact | `0.0` (`0` mismatches) | `1.0000000` | `β` (`0` ULP tree) | **`PASS`** | | |
| | `8x8` Woodbury-Cayley Inverse & Apply | Direct `FP64` solve | `2.384e-7` (`0.0` norm drift) | `β` | `+1.789%` latency | **`PASS`** | | |
| | Loop `message_gate.down_proj` & `Q_keep` QR Orthogonality | `FP32` / `I_64` | `0.00e+00` rel / `5.10e-9` | `β` | `0` clean SECDED (`3/3` runtime traps) | **`PASS`** | | |
| ### **3. Throughput, `ClassLRU` Cache & Honest Laptop Ceiling Profile (`UNCONTROLLED_LAPTOP_NOT_CLAIMED`)** | |
| All live post-R2 benchmarks were recorded on an `NVIDIA GeForce RTX 3080 Laptop GPU (8,192 MiB, sm_86, 65β80 W class)` with measured **`348.86 GB/s`** D2D `cudaMemcpy` ceiling paired with an `11th Gen Intel Core i9-11900H` (`8C/16T AVX-512 VNNI + VPOPCNTDQ`, `~37.19 GB/s` raw DDR4 CPU stream) and per-split `HYST_2` resets: | |
| | Workload Regime | Bring-Up (`tok/s`) | V1 (`tok/s`) | **V2 (`tok/s`)** | Pre-Reg Target | `ClassLRU` / `HYST_2` Hit | Chatter Cut (Filtered / 1-Hit LRU) | Router Prefetch Recall | Cold Stall Frac | | |
| | :--- | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | | |
| | **`B=1 K=3` (`1,000` steps)** | `21.39` | `45.66` | **`46.38`** (**`2.169x`**) | `>= 45.0` (**`PASS`**) | **`95.07%`** (`365,053` / `18,947`) | **`96.22%`** (`720` vs `19,030`) / `97.00%` (`23,972`) | **`89.67%`** | **`0.3165`** (`<= 0.35` **`PASS`**) | | |
| | **`B=1` Adaptive (`300` steps, `mean_k=2.053`)** | `26.00` | `30.11` (`K=5.0`) | **`60.93`** (**`2.024x` V1**) | `>= 65.0` (miss) | `93.69%` (`82,387` / `5,549`) | `95.18%` (`252` vs `5,223`) / `96.12%` (`6,490`) | `87.23%` | `0.2859` | | |
| | **`B=1 K=1` (`300` steps)** | `32.25` | **`95.97`** | `85.60` (`2.654x` BU) | `>= 100.0` (miss) | `91.23%` (`52,548` / `5,052`) | `94.40%` (`275` vs `4,909`) / `95.40%` (`5,975`) | `88.09%` | `0.3939` | | |
| | **`B=16 K=3` (`64` steps, `1,024` tok)** | `43.27` | **`151.45`** | **`144.13`** (**`3.331x`**) | `>= 220.0` (miss) | `92.48%` (`363,653` / `29,563`) | **`99.51%`** (`186` vs `37,888`) / `99.52%` (`38,926`) | **`91.26%`** | `0.5244` | | |
| *(Physical Kirchhoff slot-conservation & bijection imbalance measured **`0`** across every run; `hot_slots_active = 1,596`; `vram_used = 6,634,274,816 B` [`6.179 GiB`]; `dyn_vram_delta_bytes = 0`.)* | |
| <details> | |
| <summary>Step-Time Profile Breakdown & Honest Laptop Bandwidth/Power Ceiling Accounting (Law 4)</summary> | |
| | Profiled Regime | Total (`ms/step`) | Attn + Router (`ms`) | Hot MoE (`ms`) | Cold CPU (`ms`) | Post-MLP (`ms`) | `lm_head` (`ms`) | Embed + Cayley (`ms`) | Cold Jobs / Layers per Step | | |
| | :--- | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | | |
| | **V2 `B=1 K=3` (`120` steps)** | `22.113` | `11.693` | `5.714` | `2.257` | `1.574` | `0.763` | `0.021 + 0.011` | `12.76` jobs / `8.15` layers (`10.35` pref / `0.0` unpref) | | |
| | **V2 `B=16 K=3` (`32` steps)** | `139.734` | `21.895` (`core 2.038`, `qkv 7.462`, `oproj 4.011`) | `52.730` (`b1 11.763`, `b2 32.028`, `b3 5.319`, `sync 1.815`) | `58.903` | `3.418` | `2.011` | `0.045 + 0.016` | `407.44` jobs / `33.84` layers (`26.03` pref / `0.34` unpref) | | |
| | V1 `B=16 K=3` (`32` steps) | `125.534` | `26.336` (`core 2.169`, `qkv 7.486`, `oproj 7.939`) | `50.159` | `42.907` | `3.398` | `1.999` | `0.047 + 0.012` | `383.34` jobs / `36.12` layers (`26.53` pref / `0.41` unpref) | | |
| **Physical Hardware & Routing Ceiling:** Silqing V2 applies zero weight copies on top of the immutable `12.07 GB` `.slqi` archive, fusing V1's fast `IMMA K=64` `hot_b2`/`hot_b3` dispatch (`b_star = 6`, `max_cpu_jobs = 128`, `Stage B2` parallelized for `B=1`) with V2's Split-K `BF16` MMA (`attn_oproj` cut `7.939 -> 4.011 ms`), non-FMA `__fmul_rn` + fused KV write (`attn_rtr` cut `26.336 -> 21.895 ms`), `Q22` hybrid `AVX-512` (`SWAR127` selftest-contract-only `[1..127]`), `ClassLRU CRF(128)` (`age_steps >> 6`) + admission-filtered `lru_filtered_swaps` + Monna `2^7`, double-GS Riccati `K=5` contraction, `LoopCD-Hidden`, `L18 ch2027` outlier guard, and quantile-calibrated halting. Remaining ceilings on `B=16 K=3` (`144.13` vs `220`), `B=1 K=1` (`85.60` vs `100`), and `B=1` Adaptive (`60.93` vs `65`) trace directly to frozen Form-B weights and physical `GDDR6` (`348.86 GB/s` measured D2D) / `DDR4` (`~37.19 GB/s` raw stream) / `65β80 W` laptop TDP bounds. | |
| </details> | |
| ### **4. Double-GS Riccati Contraction (`p >= 3`), `LoopCD-Hidden` + `L18 ch2027` Outlier Guard & Adaptive Halting** | |
| Configured strictly on disjoint calibration splits (`eta_p3 = 0.25`, `eta_p4 = 0.35`, `alpha_cay = 0.0`, `beta_keep_p4 = 0.55`, `rho_guard = 0.55`, `rho_total_p4 = 0.56`; `LoopCD-Hidden` `omega_k1 = 0.0`, `omega_k2 = 0.3`, `omega_k3 = -0.1`, `omega_k4 = -0.15`, `outlier_rms_thresh = 8.0`) with **`0` bulk experts modified** and **`0 B` backprop**: | |
| | Configuration / Split | `mean_K` | Held-Out NLL | Form A Baseline | `max_rho_hat` (`p >= 3`) | `max_step_ratio` (`p >= 3`) | `min_exit_cos` (`p >= 3`) | `L17 K=4` Exit Cos | Notes | | |
| | :--- | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :--- | | |
| | `K=3` Base (`WT2_test`) | `3.000` | `2.5467` | `β` | `0.0000` (`3.4071` `p >= 2`) | `0.0000` (`1.3370` `p >= 2`) | `1.0000` | `1.0000` | Explicit `RAW_LOOP` reference | | |
| | `K=3` Riccati + `LoopCD` (`WT2_test`) | `3.000` | `2.5483` | `β` | `0.0000` | `0.0000` | `1.0000` | `1.0000` | **`+0.0016` drift** (`<= 0.02` **`PASS`**) | | |
| | **`K=4` Riccati + `LoopCD` (`WT2_test`)** | `4.000` | **`2.6194`** | `2.8860` (**`PASS`**) | **`0.3504`** | **`0.4542`** | **`0.9011`** | **`0.9200`** | **`keep_leak = 1.63e-7`** cal / `1.93e-7` hold (`PASS`) | | |
| | **`K=4` Riccati + `LoopCD` (`Countdown_hold`)** | `4.000` | **`0.9660`** | `1.4903` (**`PASS`**) | **`0.2611`** | **`0.3223`** | **`0.9470`** | **`0.9573`** | Beats baseline (`-0.5243` nats) | | |
| | `K=4` Riccati + `LoopCD` (`GSM8K_hold`) | `4.000` | `1.3874` | `1.2832` (miss) | `0.3471` | `0.4415` | `0.9025` | `0.9372` | `-0.0029` vs V1 (`1.3903`); above Form A `1.2832` | | |
| | **`K=5` Riccati + `LoopCD` (`WT2_test`)** | `5.000` | `2.6882` | `β` | **`0.5600`** (**`< 0.618 PASS`**) | **`0.4542`** | **`0.9011`** | **`0.9200`** | Contraction fixed (`0.7467 -> 0.5600`) | | |
| | Adaptive Selected (`WT2` / `CD` / `GSM`) | `2.011` (`WT2`) | `3.2704` / `1.1973` / `1.6112` | `β` | `β` | `β` | `β` | `β` | `mean_k = 2.011 <= 2.4` (`PASS`); `+0.7237` `WT2` drift (miss) | | |
| <details> | |
| <summary>Calibration-Only Adaptive Halting Pareto, LoopCD Sweep & L18 ch2027 Outlier Guard Telemetry (0 held-out leakage)</summary> | |
| * **Outlier-Channel Diagnostic (`L18 ch2027`):** Across `48` logical passes (`96` calibration tokens), peak activation outlier ratio reached **`38.34x RMS`** at logical layer **`L18`** (`ch 2027` dominated `37/48` passes), and loop-exit top outlier channels across `K=1..5` were `[2027, 2027, 924, 2027, 2027]` (`ch 2027` up to `34.52x RMS`; mean `3.09` channels/token `> 8.0 * rms`). Masking `|h| > 8.0 * rms` inside `LoopCD-Hidden` (`M_out`) and computing norm-gated `sr_clean` / `cos_clean` prevents extreme outlier channels from destabilizing pre-coda contrast extrapolation or halting decisions. | |
| | `K` Range | `tau_res` (`k1/k2`) | `tau_cos` (`k1/k2`) | `mean_K` | `cal WT2 NLL` | Drift vs. `K=3` | Meets `<= 2.4` & `<= 0.02` | | |
| | :---: | :---: | :---: | :---: | :---: | :---: | :---: | | |
| | `1..5` | `0.866 / 0.859` | `0.30 / 0.55` | `2.558` | `1.9734` | `+0.3829` | `False` | | |
| | `1..5` | `0.976 / 0.898` | `0.17 / 0.55` | `1.842` | `2.2822` | `+0.6916` | `False` | | |
| | `1..5` | `1.073 / 0.967` | `0.17 / 0.35` | `1.279` | `2.3706` | `+0.7801` | `False` | | |
| | `1..5` | `0.994 / 1.099` | `0.14 / 0.25` | `1.321` | `2.4217` | `+0.8312` | `False` | | |
| | `1..5` | `1.143 / 1.187` | `0.15 / 0.15` | `1.168` | `2.3580` | `+0.7675` | `False` | | |
| | `1..5` | `0.650 / 0.950` | `0.45 / 0.45` | `2.284` | `1.9719` | `+0.3814` | `False` | | |
| | **`1..5` (Selected)** | **`0.850 / 1.150`** | **`0.35 / 0.35`** | **`2.116`** | **`1.9696`** | **`+0.3791`** | `False` | | |
| | `2..5` | `0.000 / 1.011` | `1.00 / 0.55` | `2.211` | `1.9821` | `+0.3915` | `False` | | |
| </details> | |
| ### **Energy Efficiency & Power Profile** | |
| Measured live on `NVIDIA GeForce RTX 3080 Laptop GPU (8,192 MiB, sm_86)` via `100 Hz` (`10 ms`) NVML `nvmlDeviceGetPowerUsage` trapezoidal integration (`libnvidia-ml.so.1`, `UNCONTROLLED_LAPTOP_NOT_CLAIMED`, `0` SECDED errors across all runs): | |
| | Release & Hardware Target | Workload / Regime | Avg Power (`W`) | Peak Power (`W`) | Energy / Token (`J/tok`) | Efficiency (`tok/J`) | Run Energy (`Wh/run`) | Peak Temp (`Β°C`) | Avg / Peak Clock (`MHz`) | | |
| | :--- | :--- | :---: | :---: | :---: | :---: | :---: | :---: | :---: | | |
| | Form A Initial (`RTX 3080 Laptop`) | `B=1, K=3` (`32` tok, `2.71 tok/s`) | `66.92` | `69.17` | `24.693` | `0.0405` | `0.219493` | `72.0 Β°C` | `1702.4 / β` | | |
| | Form A Pre-Hardening (`RTX 3080 Laptop`) | `B=1, K=3` (`32` tok, `3.608 tok/s`) | `42.10` | `52.67` | `11.668` | `0.0857` | `0.103716` | `63.0 Β°C` | `1541.3 / β` | | |
| | Silqing V1 (`RTX 3080 Laptop`) | `B=1, K=3` (`1,000` steps, `45.66 tok/s`) | `76.44` | `77.48` | `1.675` (`1.6746`) | `0.5972` | `0.465154` | `75.0 Β°C` | `1576.5 / 1680.0` | | |
| | Silqing V1 (`RTX 3080 Laptop`) | `B=16, K=3` (`64` steps, `151.45 tok/s`) | `77.41` | `79.06` | `0.512` (`0.5115`) | `1.9551` | `0.145488` | `75.0 Β°C` | `1438.1 / 1665.0` | | |
| | **Silqing V2 (`RTX 3080 Laptop`)** | **`B=1, K=3`** (`1,000` steps, `46.38 tok/s`) | **`76.65`** (`76.653`) | `77.43` (`77.434`) | **`1.653`** (`1.6534`) | **`0.605`** (`0.6048`) | `0.459274` | **`75.0 Β°C`** | `1578.8 / 1680.0` | | |
| | **Silqing V2 (`RTX 3080 Laptop`)** | **`B=1, K=1`** (`300` steps, `85.60 tok/s`) | `72.49` (`72.493`) | `76.71` (`76.714`) | `0.847` (`0.8473`) | `1.180` (`1.1803`) | `0.070605` | `75.0 Β°C` | `1615.1 / 1710.0` | | |
| | **Silqing V2 (`RTX 3080 Laptop`)** | **`B=1` Adaptive** (`300` steps, `mean_k=2.053`, `60.93 tok/s`) | **`76.18`** (`76.175`) | `77.61` (`77.608`) | **`1.251`** (`1.2513`) | **`0.799`** (`0.7992`) | `0.104271` | `75.0 Β°C` | `1579.0 / 1620.0` | | |
| | **Silqing V2 (`RTX 3080 Laptop`)** | **`B=16, K=3`** (`64` steps / `1,024` tok, `144.13 tok/s`) | **`73.98`** (`73.980`) | `76.48` (`76.477`) | **`0.514`** (`0.5136`) | **`1.947`** (`1.9472`) | `0.146080` | **`74.0 Β°C`** | `1485.4 / 1710.0` | | |
| > [!NOTE] | |
| > Energy readings are not guaranteed to be consistent due to uncontrollable variables (thermal state, ambient temperature, fan curve, and dynamic power limits). | |
| *(Standard NVML telemetry schema fields logged in [`silqing_verification_receipt.json`](silqing_verification_receipt.json): `nvml_avg_power_w`, `energy_j_per_tok`, `energy_tok_per_j`, `energy_wh_run`.)* | |
| ## **Getting Started** | |
| Download the verified V2 `.slqi` archive (bit-identical `12.07 GB` weight payload), tokenizer assets, verification receipt, and checksums, and pair with the bare-metal runtime source repository at [`Moissanite-Labs/silqing`](https://github.com/Moissanite-Labs/silqing): | |
| ```bash | |
| hf download ahrazzle/Silqing --local-dir ./Silqing | |
| cd ./Silqing | |
| # 1. Verify full SHA-256 manifest across the 11.239 GiB .slqi archive, tokenizer, license, & V2 receipt | |
| sha256sum -c SHA256SUMS | |
| # 2. Clone the standalone bare-metal C++20 / sm_86 CUDA + i9 AVX-512 runtime engine | |
| git clone https://github.com/Moissanite-Labs/silqing.git | |
| ``` | |
| <details> | |
| <summary>Standalone Stdlib Receipt & .slqi Binary Header Verification (< 10 MiB RAM)</summary> | |
| ```python | |
| import hashlib, json, pathlib, struct | |
| root = pathlib.Path(".") | |
| receipt = json.loads((root / "silqing_verification_receipt.json").read_text(encoding="utf-8")) | |
| for rel, expected in receipt["file_sha256"].items(): | |
| actual = hashlib.sha256((root / rel).read_bytes()).hexdigest() | |
| assert actual == expected, f"digest mismatch for {rel}: {actual} != {expected}" | |
| with (root / "inkling2_formb.slqi").open("rb") as fh: | |
| hdr = struct.unpack("<8I10H5I6Q2I", fh.read(128)) | |
| assert hdr[0] == 0x534C5149, f"bad SLQI magic: {hex(hdr[0])}" | |
| assert hdr[1] == 1 and hdr[2] == 200006, "unexpected .slqi version or eos_token_id" | |
| print(f"SILQING_V2_OK files={len(receipt['file_sha256'])} slqi_crc32={hex(hdr[-1])} hot_header={hdr[21]} cold_header={hdr[22]}") | |
| ``` | |
| </details> | |
| <details> | |
| <summary>.slqi Binary Wire Layout & Tokenizer Contract</summary> | |
| * **`.slqi` Section Map (`12,067,738,528 B`):** `128 B` `SilqiHeader` + `24 x 128 B` `SilqiLayerDesc` + `145 x 32 B` `SilqiLinearDesc` + `3,072 x 32 B` `SilqiExpertSlotDesc` + `SilqiAuxDirectory` (`4 KiB`-aligned) -> `P0` quantized attention (`314,523,648 B`) -> `P1` unquantized `BF16` `L6..17` `wo_ud` (`169,869,312 B`) -> `P1b` `156` unquantized `BF16` loop routers & message gates (`63,700,992 B`) -> `P2` small backbone (`78,076,416 B`) -> `P3` `4.5 bpw` `lm_head` (`259,275,168 B`) -> pinned `BF16` embeddings (`926,323,200 B`) -> `3,072` experts (`2,560 x 3,110,400 B` `3.125 bpw` SoA + `512 x 4,478,976 B` `4.5 bpw` `g=32`). | |
| * **Tokenizer Contract:** Preserves upstream `thinkingmachines/Inkling-2-Mini` tokenizer (`eos_token_id = 200006` `<|content_model_end_sampling|>`, `bos_token_id = null`, `unpadded_vocab = 200058`, `padded_vocab = 201024`). | |
| </details> | |
| ## **Custom Infrastructure Stack & Source Repositories** | |
| Every open-source component used to design, quantize, compile, verify, and evaluate this release is publicly available below: | |
| | Stack Layer | Component | Role in This Release | Public Repository | | |
| | :--- | :--- | :--- | :--- | | |
| | **Silqing Engine** | **Silqing** | Heterogeneous `sm_86` CUDA + `i9 AVX-512` bare-metal runtime engine, `.slqi` contract, & tests | [`Moissanite-Labs/silqing`](https://github.com/Moissanite-Labs/silqing) | | |
| | **Lattice Quantization & ECC** | **SiliQuant** | `[16, 11, 4]` Extended Hamming `A_16` + `Block-H4` quantization & lattice toolkit | [`Moissanite-Labs/siliquant`](https://github.com/Moissanite-Labs/siliquant) | | |
| | **Bare-Metal Silicon Kernels** | **SiliKernels** | Zero-spill Ampere `sm_86` CUDA/PTX & Intel `AVX-512` VBMI/VNNI inference kernels | [`Moissanite-Labs/silikernels`](https://github.com/Moissanite-Labs/silikernels) | | |
| | **Verified Zero-Spill Compiler** | **HoloEmit** | Formally verified pure-`Init` `Lean 4.36.0` compiler targeting zero-spill `sm_86` & `AVX-512` kernels | [`Moissanite-Labs/holoemit`](https://github.com/Moissanite-Labs/holoemit) | | |
| | **Metrology & Telemetry** | **SiliSense** | Pure-stdlib silicon physics metrology & hardware fault-canary telemetry | [`Moissanite-Labs/silisense`](https://github.com/Moissanite-Labs/silisense) | | |
| | **Bounded Adaptation** | **ML Weft / Weft-Loom** | Deterministic weight-space bounds & zero-drift rollback safeguards | [`Moissanite-Labs/weft`](https://github.com/Moissanite-Labs/weft) Β· [`Moissanite-Labs/weft-loom`](https://github.com/Moissanite-Labs/weft-loom) | | |
| | **Workbench OS & Exoskeleton** | **ML-OS / Aletheion** | Research workbench OS & host hardware exoskeleton | [`Moissanite-Labs/ml-os`](https://github.com/Moissanite-Labs/ml-os) Β· [`Foundation-0/aletheion`](https://github.com/Foundation-0/aletheion) | | |
| | **Verification & Audit Harness** | **Aletheia** | Isolated execution parity, mutation auditing, & safety/leak scanning | [`Foundation-0/aletheia`](https://github.com/Foundation-0/aletheia) | | |
| | **Five-Layer Stack Blueprint** | **Siliconcordat** | Open L1βL5 stack specification ([`loom`](https://github.com/siliconcordat/loom) Β· [`weft`](https://github.com/siliconcordat/weft) Β· [`warp`](https://github.com/siliconcordat/warp) Β· [`exo`](https://github.com/siliconcordat/exo) Β· [`mde`](https://github.com/siliconcordat/mde)) | [`siliconcordat/.github`](https://github.com/siliconcordat/.github) | | |
| ## **Usage, Scope & Honest Limitations** | |
| * **Silqing V2 Pareto-Fused Release Scope** β Silqing V2 improves `B=1 K=3` throughput (`45.66 -> 46.38 tok/s`), cuts `B=16 seq_pos=0` error (`5.74e-4 -> 2.35e-4`), cuts `ClassLRU`/prefetch cold-stall (`0.4463 -> 0.3165 <= 0.35`), enforces `K=4/5` contraction (`rho = 0.5600 < 0.618`), eliminates QR keep-subspace leak (`0.4707 -> 1.93e-7 <= 1e-6`), and more than doubles adaptive throughput (`30.11 -> 60.93 tok/s`) on the bit-identical `.slqi` binary. Strict automated thresholds that remain outside target bounds are disclosed transparently below. | |
| * **Honest Laptop Hardware & Routing Ceilings** β `RTX 3080 Laptop` (`65β80 W` TDP, `348.86 GB/s` D2D) and `i9-11900H` DDR4 (`~37.19 GB/s` CPU cold stream) bound `B=16 K=3` at `144.13 tok/s` (`< 220` target), `B=1 K=1` at `85.60 tok/s` (`< 100`), and `B=1` Adaptive at `60.93 tok/s` (`< 65`) without repacking the immutable `12.07 GB` Form-B archive. | |
| * **Long-Context Split-KV, 1-Pass Collapse, GSM8K & Adaptive Halting Scope** β Live `B=2` at `seq_pos=0..259` (`b_split_cnt=4`) reaches `max_logit_err = 1.055e-3` (`cos_min = 0.99999994`), and `collapse_kv_1pass` A/B measures `1.61e-4` single-step (`seq_pos=0`) / `4.44` `4`-token sequence divergence. Double-GS Riccati + `LoopCD-Hidden` clears `K=4` WikiText-2 (`2.6194`), `K=4` Countdown (`0.9660`), `K=5` contraction (`0.5600 < 0.618`), `K=3` drift (`+0.0016`), and `keep_leak = 1.93e-7` with `0` bulk experts modified, while `K=4` GSM8K NLL (`1.3874` vs `1.2832` Form A baseline, `-0.0029` vs V1) and held-out adaptive `WT2` drift (`+0.7237` at `mean_k = 2.011`) remain open accuracy boundaries of early loop exit on frozen Form-B weights. | |
| * **Text-Only Archive Provenance** β This Hugging Face release distributes the verified `.slqi` binary, tokenizer files, V2 verification receipt, `SHA256SUMS`, and license files, paired with the standalone bare-metal C++20/`sm_86`/`AVX-512` engine repository at [`Moissanite-Labs/silqing`](https://github.com/Moissanite-Labs/silqing). Multimodal vision weights from `thinkingmachines/Inkling-2-Mini` are omitted (text decoder only). | |
| * **Hardware & Telemetry Provenance** β All timings and NVML readings carry `UNCONTROLLED_LAPTOP_NOT_CLAIMED` (`NVIDIA GeForce RTX 3080 Laptop GPU`, `80 W` class; laptop thermal and boost behavior are uncontrolled). | |
| * **License Inheritance** β Inherited **Apache License 2.0** from [`thinkingmachines/Inkling-2-Mini`](https://huggingface.co/thinkingmachines/Inkling-2-Mini) (`Copyright 2026 Thinking Machines Lab, Inc.`; derivative `.slqi` archive & verification bundle `Copyright 2026 Moissanite Labs / Foundation-0`; full text in [`LICENSE`](LICENSE) and [`NOTICE_UPSTREAM_LICENSE.txt`](NOTICE_UPSTREAM_LICENSE.txt)). | |
| ## **Citation** | |
| ```bibtex | |
| @misc{moissanitelabs2026silqing2, | |
| title={Silqing V2: Pareto-Fused Bare-Metal Ampere and AVX-512 Inference for Inkling-2-Mini}, | |
| author={Moissanite Labs and Foundation-0}, | |
| year={2026}, | |
| howpublished={\url{https://huggingface.co/ahrazzle/Silqing}} | |
| } | |
| ``` | |