Radiance Control Vectors (Single-File .hats v1.0 & HATS Auto-Router Bundles)

Home Runtime β€” Radiance Omni: These control-vector bundles are built for Radiance Omni (default branch feat/blackwell-cuda-unified) and are also bundled directly inside the Radiance Omni repository under control-vectors/.

What Is This?

Drop a single 2–9 MB .hats v1.0 bundle next to your local model in Radiance Omni to dramatically raise math & hard coding accuracy, eliminate runaway thinking loops, and sharpen prose and review quality β€” with no retraining, no extra VRAM, and no speed loss.

Instead of juggling separate fine-tunes, paired JSON/GGUF sidecars, or manual presets, one base model loads a single SHA-256-verified .hats v1.0 file and automatically puts on the right "hat" (HATS β€” Hidden-State Adaptive Trajectory Steering) for each prompt, stepping completely out of the way whenever a prompt doesn't need help.

What's New in Single-File .hats v1.0

Every .hats v1.0 bundle packages all router weights, expert vectors, Rank-32 OOD subspace, and runtime policies into one atomic, self-verifying binary:

  • Zero Sidecar Drift: No more pairing .gguf + .json files or risking missing router.mu mismatches.
  • Built-In Conditional auto_refusal: Safety projection embedded directly inside the bundle with near-zero false triggers.
  • Per-Effort Stage-2 Zero-KV Exit (think_exit_by_effort): Smooth sampler-level </think> / <channel|> exit with zero KV-cache mutation.
  • Router-Coupled Native C++ Parallel TTC (ttc_route_n: [1, 3, 1, 1, 1, 1, 1, 1, 1]): Automatically engages KV-shared parallel test-time compute (N=3, Elastic N, Early Sibling Cancellation) on math/deep-reasoning prompts while keeping all other routes at N=1.

Before vs. After Performance Scorecards

At-a-Glance Summary (Stock off vs. HATS auto / Native TTC N=3)

Model & .hats Bundle Sealed Vault / Gate Stock (off) HATS (auto) Native TTC (N=3) 16K Loops Total Tokens
Qwen3.8-Flash-Next (qwen3.8-flash-next-v2.hats) 4-Task Macro (1,149 items) 65.20% 76.47% (+17.29% rel) β€” 133 β†’ 26 (-80.5%) -6.87%
Qwen3.8-27B (qwen3.8-27b-v2.hats) 4-Task Macro (1,149 items) 65.14% 72.56% (+11.40% rel) AIME 80.00% (+29.73% rel) 102 β†’ 21 (-79.41%) -36.05%
Gemma 4 12B-IT (gemma-4-12b-it-v3.hats) Automated Forge Eval Gate β€” PASS (95.83% CV, 0.1367 max KL) Built-in ttc_route_n <channel|> Zero-KV Refusal cos sep 1.38
Gemma 4 31B-IT (gemma-4-31b-it-v2.hats) Forge Verified (29 tensors) β€” 89.81% CV Β· 100% traps (6/6) Built-in ttc_route_n <channel|> Zero-KV Refusal cos sep 1.35
Ripple-65B (ripple-65b-v2.hats) Forge Verified (Sealed Vault WIP) Benchmarking 95.37% CV Β· 0.0% OOF abstain Built-in ttc_route_n think_exit_by_effort Refusal cos sep 0.70

1. Qwen3.8-Flash-Next (qwen3.8-flash-next-v2.hats) β€” Untouched Fast Sealed Vault

Qwen3.8-Flash-Next Sealed Vault: Stock vs. HATS Stage-2 Zero-KV

Protocol: IQ4R, reasoning_effort=xhigh, temperature=0.6, top_p=0.95, top_k=20, 16K cap, 1,149 items (2,298 paired requests), 0/0 errors.

Benchmark Items Before: Stock (off) After: HATS (auto) Ξ” Rel vs Stock 16K Loops (Before β†’ After) Tokens (Before β†’ After) Ξ” Tokens
BFCL (Tools) 400 91.75% (367/400) 92.25% (369/400) +0.54% 0 β†’ 0 47.3K β†’ 46.3K -2.12%
IFEval 541 93.90% (508/541) 93.90% (508/541) +0.00% 3 β†’ 3 897.7K β†’ 910.4K +1.41%
AIME 2024+2025 60 65.00% (39/60) 90.00% (54/60) +38.46% 21 β†’ 4 (-81.0%) 584.0K β†’ 558.7K -4.33%
BigCodeBench-Hard 148 10.14% (15/148) 29.73% (44/148) +193.33% (2.93Γ—) 109 β†’ 19 (-82.6%) 2.15M β†’ 1.91M -11.12%
4-Task Macro / Total 1,149 65.20% 76.47% +17.29% (+11.27pp) 133 β†’ 26 (-80.5%) 3.68M β†’ 3.42M -6.87%
  • AIME year split: AIME 2024: 70.00% β†’ 93.33% (+33.33% rel) Β· AIME 2025: 60.00% β†’ 86.67% (+44.44% rel) Β· 0/60 regressions (+15 / -0).
  • Additional live checks: DebugBench-100 (prefill_suffix_k=32): 74.0% β†’ 83.0% (+12.2% rel) Β· Structured Extraction: 100.0% Β· Built-in auto-refusal: 0/80 FPR / 38/38 TPR Β· Safety parity: 0.00pp shift.

2. Qwen3.8-27B (qwen3.8-27b-v2.hats) β€” Untouched Fast Sealed Vault & Native C++ TTC N=3

Protocol: IQ8R-DFlash, reasoning_effort=xhigh, temperature=0.6, top_p=0.95, top_k=20, 16K cap, 1,149 items (2,298 paired requests), 0/0 errors.

Benchmark Items Before: Stock (off) After: HATS (auto) After: Native TTC (N=3) Ξ” Rel vs Stock 16K Loops (Before β†’ After) Tokens (Before β†’ After) Ξ” Tokens
BFCL (Tools) 400 89.75% (359/400) 90.00% (360/400) bypass:tools (N=1) +0.28% 0 β†’ 0 62.5K β†’ 59.3K -5.08%
IFEval 541 92.24% (499/541) 91.50% (495/541) β€” -0.80% 8 β†’ 7 1.03M β†’ 933.4K -9.62%
AIME 2024+2025 60 61.67% (37/60) 78.33% (47/60) 80.00% (48/60) +27.03% / +29.73% 23 β†’ 10 (-56.5%) 586.7K β†’ 440.7K -24.89%
BigCodeBench-Hard 148 16.89% (25/148) 30.41% (45/148) β€” +80.00% 71 β†’ 4 (-94.4%) 1.96M β†’ 893.2K -54.34%
4-Task Macro / Total 1,149 65.14% 72.56% β€” +11.40% (+7.42pp) 102 β†’ 21 (-79.41%) 3.64M β†’ 2.33M -36.05%
  • Native C++ TTC N=3 (Zero Python Proxy) on AIME 2024+2025: 80.00% (48/60), 0 errors, 41 early-cancelled branches, 12 internal judge calls (48 math_majority + 12 math_judge_fallback), and automatic bypass:tools safety (Effective-N=1) when tool schemas are present.

3. Gemma 4 12B-IT (gemma-4-12b-it-v3.hats) β€” Automated Forge Eval Gate Scorecard

Trained via hats-forge (gemma4, 48Γ—3840, HC=1, Layer 17 router, L20..29 CAA + exact Refusal/CJK biprojection). Full machine-readable audit included in gemma-4-12b-it/forge_report.json.

Verification Metric Result Notes
Automated Eval Gate PASS 0 failures across all routing, KL, parity, and stability checks
5-Fold Router CV Accuracy 95.83% Train accuracy 100.0%; runtime router parity 1.0000
Adversarial Trap Accuracy (N=6) 83.33% Clean abstention / neutral routing on adversarial boundary prompts
OOF In-Domain Abstain Rate 0.93% Rank-32 OOD subspace (Ο„=0.7802, runtime_ood_max_diff = 0.0)
Max Neutral KL Divergence 0.1367 nats Range 0.0183–0.1367 nats across all 8 experts
Built-In Conditional auto_refusal 1.38 cos sep -0.5308 benign mean cosine vs. +0.8491 refusal mean cosine
Refusal / CJK Biprojection (max|cos|) 0.0 / 0.0 Reduced from 0.2378 (refusal) and 0.1047 (CJK) to exact orthogonality
Massive-Activation Stability 0.000213 norm err Cosine ratio 0.999556; <channel|> Stage-2 Zero-KV exit enabled

4. Ripple-65B (ripple-65b-v2.hats) β€” Forge Verification Scorecard

Trained via hats-forge (model_hint="ricursive", 80Γ—5120, HC=1, Layer 29 router, L31..46, 37 tensors, 3.68 MiB).

Note: Full Ripple-65B Sealed Vault Stock (off) vs. HATS (auto) 4-task benchmark scores are actively being run and will be added next!

Verification Metric Result Notes
5-Fold Router CV Accuracy 95.37% Train accuracy 100.0%; runtime router parity 1.0000
Adversarial Trap Accuracy (N=6) 83.33% Clean neutral routing on adversarial boundary prompts
OOF In-Domain Abstain Rate 0.0% Rank-32 OOD subspace (Ο„=0.9985, runtime_ood_max_diff = 0.0)
Neutral KL Damping (v2) < 0.20 nats prose_creative & structured_extraction KL-damped to < 0.20 nats
Built-In Conditional auto_refusal 0.70 cos sep Embedded conditional refusal projection (auto_refusal=true)
Refusal / CJK Biprojection (max|cos|) 0.0 / 0.0 Reduced from 0.2796 (refusal) and 0.1531 (CJK) to exact orthogonality
Runtime Policies Enabled think_exit=true, think_exit_by_effort=true, ttc_route_n=[1,3,1,1,1,1,1,1,1]

5. Gemma 4 31B-IT (gemma-4-31b-it-v2.hats) β€” Forge Verification Scorecard

Trained via hats-forge (model_hint="gemma4", 60Γ—5376, HC=1, Layer 23 router, L25..36, 29 tensors, 3.13 MiB). Compatible with rkcth/Huihui-Gemma-4-31B-it-Abliterated-Radiance-W4A8 and standard Gemma 4 31B-IT .rad builds.

Verification Metric Result Notes
5-Fold Router CV Accuracy 89.81% Train accuracy 100.0%; runtime router parity 1.0000
Adversarial Trap Accuracy (N=6) 100.0% (6/6) Perfect neutral/abstain handling on all adversarial boundary traps
OOF In-Domain Abstain Rate 1.39% Rank-32 OOD subspace (Ο„=0.8188, runtime_ood_max_diff = 0.0)
Neutral KL Damping (v2) Damped prose_creative & structured_extraction KL-damped for safe stock parity
Built-In Conditional auto_refusal 1.35 cos sep Embedded conditional refusal projection (auto_refusal=true)
Refusal / CJK Biprojection (max|cos|) 0.0 / 0.0 Reduced from 0.2174 (refusal) and 0.1186 (CJK) to exact orthogonality
Runtime Policies Enabled think_exit=true (<channel|>=101), think_exit_by_effort=true, ttc_route_n=[1,3,1,1,1,1,1,1,1]

Why Radiance Omni?

Radiance Omni (https://codeberg.org/rkcth/radiance-omni, default branch feat/blackwell-cuda-unified) is the unified home runtime for .hats v1.0 and HATS / CAST v3+ control vectors:

  • Multi-Vendor GPU + CPU Backends: AMD RDNA4 (libr4d) & RDNA3 / Strix Halo (libhalo) + Native NVIDIA Blackwell (libbw, sm_120: RTX PRO 6000 96 GB & RTX 5070 Ti 16 GB) + CPU.
  • GPU-Native HATS / CAST v3+ Engine: Single-file .hats v1.0 loader, RAD_STEER_CLAMPED_NORM_COS, hc=1/hc=4 full-stream router, OOD whitening, soft-ramp token_gates, built-in conditional auto-refusal, and 100% compatibility with Code 000's CAST v3 GGUF bundles.
  • Stage-2 Zero-KV </think> / <channel|> Exit: Per-effort sampler-level reasoning exit (think_exit_by_effort) with zero KV-cache or residual mutation.
  • Router-Coupled Native C++ KV-Shared Parallel TTC: Test-time compute scaling directly coupled to the HATS router (ttc_route_n, Elastic N, Early Sibling Cancellation) with shared prefix KV caches.
  • Native Ripple-65B (arch/ricursive) + DFlash2 Speculative Decoding: taps=4, split kv_draft, 140–174 tok/s, and up to 761K i8 KV context.

30-Second Quick Start

1. Download a Single-File .hats v1.0 Bundle (Recommended)

Clone Radiance Omni:

git clone https://codeberg.org/rkcth/radiance-omni.git

Download the single .hats bundle for your model and verify its SHA-256 checksum:

Model Recommended Single-File .hats v1.0 Size SHA-256
Qwen3.8-Flash-Next *(also works for qwen3.8-next-flash-iqr-v4 & Swift-1.5-Qwen3.8-Flash-Next!)* qwen3.8-flash-next/qwen3.8-flash-next-v2.hats 8.92 MiB 3cc40b07bed8a34f9ce4b41c2ceac4b3dd8fc3b8e3587a2b3ec754dd4f9ff8db
Qwen3.8-27B qwen3.8-27b/qwen3.8-27b-v2.hats 7.91 MiB c5b907f3331f34942e93652394dbd338d47ac15dca9c21f5b36888b4fb04627e
Gemma 4 12B-IT gemma-4-12b-it/gemma-4-12b-it-v3.hats
(report: forge_report.json)
1.97 MiB 0d367c737985b99a06d1bca0d866b4dbf62743b97eab0387c25949aa1cfa53cb
Gemma 4 31B-IT *(works with Huihui-Gemma-4-31B-W4A8)* gemma-4-31b-it/gemma-4-31b-it-v2.hats 3.13 MiB 6629e2084bcc57d62c733850e4370bd739373d8a756f0fdd4da7158eada96d18
Ripple-65B (ricursive) ripple-65b/ripple-65b-v2.hats 3.68 MiB 6a43b10df1ddd6cabda2d7fbd1736ba8df864cea5961600a49abd54d4aaf933f

Legacy paired .gguf + .json sidecars: For older configs, the paired .control-vector.gguf and .control-vector.json files remain available in qwen3.8-flash-next/ and qwen3.8-27b/. New deployments should use the single-file .hats v1.0 bundles above, which include built-in conditional auto_refusal, think_exit_by_effort, and ttc_route_n: [1, 3, 1, 1, 1, 1, 1, 1, 1].

Qwen3.8-27B note: Use the qwen3.8-27b/ bundle only on Qwen3.8-27B .rad builds (e.g., qwen3.8-27b-iq8r-dflash.rad), not on Qwen3.5-27B.

2. Enable in fleet.yaml (Server Default β€” Zero Client Changes)

Point control-vector-path directly to your .hats file (or place it alongside your .rad model):

models:
  qwen3.8-flash-next:
    model: /models/qwen3.8-next-flash-fp8-iq4r-moe.rad
    control-vector: 'on'
    control-vector-path: /models/qwen3.8-flash-next-v2.hats
    control-vector-variant: auto
    control-vector-slots: 8

With control-vector: 'on' and control-vector-variant: auto, every client automatically uses HATS by default β€” no changes needed in your chat UI or coding assistant.

3. Or Toggle Per Request (HTTP Header or JSON Body)

  • HTTP Header (X-Control-Vector, ideal for IDE proxies & clients that can't edit JSON bodies):
    • X-Control-Vector: auto (or true / 1 / on) β€” turn on auto-routing
    • X-Control-Vector: false (or 0 / off) β€” bypass for exact stock output
    • X-Control-Vector: auto, auto-refusal β€” stack up to 3 slots (comma-separated)
  • JSON Body (curl, SDKs β€” always takes priority over the header when set):
    • "control_vector": "auto" | false | ["auto", "auto-refusal"]
curl http://127.0.0.1:8002/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-Control-Vector: auto" \
  -d '{"model":"qwen3.8-flash-next","messages":[{"role":"user","content":"Review this function for edge cases."}]}'

Runtime Requirement: Requires Radiance Omni (feat/blackwell-cuda-unified) with GPU-native .hats v1.0 / HATS / CAST v3+ support.


Bundle Architecture Specifications

Model Bundle Arch & Streams Router / Steer Band 5-Fold CV / Traps Rank-32 OOD Zero-KV Exit & Policies
Qwen3.8-Flash-Next (qwen3.8-flash-next-v2.hats) qwen4exp (48Γ—2560, HC=4) L20 seq-latched (L14..44, prefill_suffix_k=32) 100.0% / 97.2% (95.6% unseen) Ο„=0.7652 (0.0% ID) </think>, think_exit_by_effort, auto_refusal, ttc_route_n
Qwen3.8-27B (qwen3.8-27b-v2.hats) qwen35 (64Γ—5120, HC=1) L20 per-token + Top-2 (L20..58) 98.7% / 97.2% (95.0% unseen) Ο„=0.5991 (0.0% ID) </think>, think_exit_by_effort, auto_refusal, ttc_route_n
Gemma 4 12B-IT (gemma-4-12b-it-v3.hats) gemma4 (48Γ—3840, HC=1) L17 router (L20..29, CAA + biproj) 95.83% / 83.33% Ο„=0.7802 (0.93% OOF ID) <channel|> (101), think_exit_by_effort, auto_refusal (1.38), ttc_route_n
Gemma 4 31B-IT (gemma-4-31b-it-v2.hats) gemma4 (60Γ—5376, HC=1, 29 tensors) L23 router (L25..36, KL-damped CAA + biproj) 89.81% / 100.0% (6/6) Ο„=0.8188 (1.39% OOF ID) <channel|> (101), think_exit_by_effort, auto_refusal (1.35), ttc_route_n
Ripple-65B (ripple-65b-v2.hats) ricursive (80Γ—5120, HC=1, 37 tensors) L29 router (L31..46, KL-damped <0.20 CAA + biproj) 95.37% / 83.33% Ο„=0.9985 (0.0% OOF ID) think_exit + think_exit_by_effort, auto_refusal (0.70), ttc_route_n

9-Route Phase Map (ttc_route_n: [1, 3, 1, 1, 1, 1, 1, 1, 1])

Route Name ttc_route_n think_early (<24 tok) think_late (ramped 384..2048) output (QFN / 27B / Gemma 4 12B)
0 code_tech 1 unsteered brevity-caa / coding-fast / code_tech unsteered / coding-fast / code_tech
1 math_general / deep_reasoning 3 unsteered brevity-caa / brevity-bipo / deep_reasoning unsteered / brevity-bipo / deep_reasoning
2 prose_creative 1 unsteered unsteered prose-spare-derep / prose-spare-bipo / prose_creative
3 critical_review 1 unsteered brevity-caa / brevity-bipo / critical_review critic-v2 / critic-bipo / critical_review
4 code_review 1 unsteered codereview-bipo-hc4 / codereview-bipo / code_review codereview-bipo-hc4 / codereview-bipo / code_review
5 structured_extraction 1 unsteered brevity-caa / brevity-bipo / structured_extraction struct-extract-bipo-hc4 / struct-extract-bipo / structured_extraction
6 professional_writing 1 unsteered brevity-caa / brevity-bipo / professional_writing professional-writing / professional-writing-bipo / professional_writing
7 source_grounded 1 unsteered source-grounded / source-grounded-bipo / source_grounded source-grounded / source-grounded-bipo / source_grounded
8 neutral_strict 1 unsteered unsteered unsteered (pure Stock)

Related Radiance Omni Models (rkcth)


Licensing & Attribution

  • qwen3.8-flash-next/: 100% Apache-2.0 (all 7 experts, Layer-20 router, OOD basis, and PID gates trained solely against stock Qwen3.8-Flash-Next).
  • qwen3.8-27b/: The 7 BiPO experts (brevity, prose-spare, critic, codereview, struct-extract, professional-writing, source-grounded) and Layer-20 router are Apache-2.0. Expert slot 0 (coding-fast) incorporates a 70% residual shift from ukisai/Swift-1.5-Qwen3.8-27b (Swift Open License v1.0) and 30% from bytkim/Qwen3.8-27B-pi (Apache-2.0). The required Swift Open License v1.0 LICENSE and NOTICE files are included in qwen3.8-27b/.
  • gemma-4-12b-it/, gemma-4-31b-it/, & ripple-65b/: Apache-2.0 (CAA control vectors, activation routers, Rank-32 OOD subspaces, and conditional refusal projections trained via hats-forge).
Downloads last month
1,310
GGUF
Model size
2.33M params
Architecture
controlvector
Hardware compatibility
Log In to add your hardware

We're not able to determine the quantization variants.

Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support