Instructions to use synthetic0x/Qwen4-35B-A3B-Heretic-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use synthetic0x/Qwen4-35B-A3B-Heretic-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf synthetic0x/Qwen4-35B-A3B-Heretic-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf synthetic0x/Qwen4-35B-A3B-Heretic-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf synthetic0x/Qwen4-35B-A3B-Heretic-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf synthetic0x/Qwen4-35B-A3B-Heretic-GGUF:Q4_K_M
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf synthetic0x/Qwen4-35B-A3B-Heretic-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf synthetic0x/Qwen4-35B-A3B-Heretic-GGUF:Q4_K_M
Use Docker
docker model run hf.co/synthetic0x/Qwen4-35B-A3B-Heretic-GGUF:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use synthetic0x/Qwen4-35B-A3B-Heretic-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "synthetic0x/Qwen4-35B-A3B-Heretic-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "synthetic0x/Qwen4-35B-A3B-Heretic-GGUF", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/synthetic0x/Qwen4-35B-A3B-Heretic-GGUF:Q4_K_M
- Ollama
How to use synthetic0x/Qwen4-35B-A3B-Heretic-GGUF with Ollama:
ollama run hf.co/synthetic0x/Qwen4-35B-A3B-Heretic-GGUF:Q4_K_M
- Unsloth Desktop
- Pi
How to use synthetic0x/Qwen4-35B-A3B-Heretic-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf synthetic0x/Qwen4-35B-A3B-Heretic-GGUF:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "synthetic0x/Qwen4-35B-A3B-Heretic-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use synthetic0x/Qwen4-35B-A3B-Heretic-GGUF with Docker Model Runner:
docker model run hf.co/synthetic0x/Qwen4-35B-A3B-Heretic-GGUF:Q4_K_M
- Lemonade
How to use synthetic0x/Qwen4-35B-A3B-Heretic-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull synthetic0x/Qwen4-35B-A3B-Heretic-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Qwen4-35B-A3B-Heretic-GGUF-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use synthetic0x/Qwen4-35B-A3B-Heretic-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf synthetic0x/Qwen4-35B-A3B-Heretic-GGUF:Q4_K_M
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:9931/v1 hermes config set model.default synthetic0x/Qwen4-35B-A3B-Heretic-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use synthetic0x/Qwen4-35B-A3B-Heretic-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf synthetic0x/Qwen4-35B-A3B-Heretic-GGUF:Q4_K_M
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:9931/v1 \ --custom-model-id "synthetic0x/Qwen4-35B-A3B-Heretic-GGUF:Q4_K_M" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
- synthetic0x/Qwen4-35B-A3B-Heretic-GGUF
- V2 Update: Optional 1.30 MiB Dense-Only LoRA (
Qwen4-35B-A3B-Heretic-V2-DenseOnly.gguf) - Pure BF16 Downstream Benchmarks (
Stock BF16vsHeretic V1 BF16) - Stage 1: Abliteration Distribution Drift (
Stock BF16 -> Heretic BF16) - Quick Start (
llama.cppb12977+/v1.1.1+) - Stage 2: Quantization Benchmarks (
Heretic BF16 -> Quant, WikiText-220 Γ 512) - Cross-Domain Validation (Non-WikiText-2: Python/C++ Code + Russian Wikipedia + GSM8K Math)
- Community Benchmarks
- V2 Update: Optional 1.30 MiB Dense-Only LoRA (
synthetic0x/Qwen4-35B-A3B-Heretic-GGUF
In memory of Philipp Emanuel Weidmann (p-e-w) β creator of Heretic, DRY, and XTC. "In times like these, one should be proud to be labeled a heretic."
Since the original
hereticrepository was archived before Qwen 4 launched, the base abliterated checkpoint was created with a dedicatedqwen4_moeimplementation of Heretic's multi-objective Pareto optimization (minimizing refusals and KL divergence simultaneously).
imatrix-calibrated GGUF quantizations (18 standard tiers + 2 hardware-aware mixed-precision SMX4_L & SMX3_XL built with synthetic0x/smx-auto) of synthetic0x/Qwen4-35B-A3B-Heretic, plus the optional 1.30 MiB V2 dense-only multilingual LoRA (Qwen4-35B-A3B-Heretic-V2-DenseOnly.gguf) addressing V1's surviving <think> and multilingual soft refusals without re-downloading 40+ GB.
- Abliteration & V2 LoRA Code:
synthetic0x/heretic-qwen4(v2/) - SMX Optimizer (
smx-auto):synthetic0x/smx-auto - Quantization Benchmarks (V1):
benchmarks.json - V2 Evaluation Suite, Activations & Provenance:
eval/v2/(manifest.json) - Checksums:
SHA256SUMS
V2 Update: Optional 1.30 MiB Dense-Only LoRA (Qwen4-35B-A3B-Heretic-V2-DenseOnly.gguf)
Post-release testing showed that V1's initial eval underestimated refusals (due to an 80-token <think> cap and keyword regexes that missed polite soft refusals). Because Qwen 4's thinking=off and thinking=on refusal directions have low cosine overlap (~0.25β0.40) and <think> activations split languages into two clusters (EN+ZH vs RU/JA/AR/ES/DE/FR, replicated natively on unmodified stock ggml-org/Qwen4-35B-A3B-Q4_K_M with |cos(PC1_Stock, PC1_Heretic)| = 0.9894 at L=20), V1 left many thinking-mode and non-English refusals intact.
Qwen4-35B-A3B-Heretic-V2-DenseOnly.gguf (1.30 MiB, rank 3, layers 8..33, dense trunk only β all 256 routed MoE experts excluded) attaches directly to Qwen4-35B-A3B-Heretic-SMX4_L.gguf via --lora-scaled.
Usage (llama.cpp b12977+ / commit 1579b0254)
llama-server \
-m Qwen4-35B-A3B-Heretic-SMX4_L.gguf \
--lora-scaled Qwen4-35B-A3B-Heretic-V2-DenseOnly.gguf:1.5 \
--temp 0.7 --top-p 0.85 --top-k 20 --min-p 0.05
Other Heretic GGUFs share the same
qwen4expdense tensor layout, though onlySMX4_Lhas been benchmarked with V2 so far. If Russianhigh/xhighthinking runs hit token caps too often,reasoning_effort=lowhad0unfinished runs on held-out testing (or experiment with lower scales such as1.25, which was tested on the 64-prompt shootout and local MTP bench).
V2 Held-Out Evaluation (eval/v2/heldout_efforts_and_langs.json)
Disjoint held-out set across 4 reasoning efforts (off@1024, low@2048, high@3072, xhigh@4096; 128 prompts/config) + 10 languages including unseen zero-shot Polish (pl) and Korean (ko) (160 prompts/config) β 288 prompts per config (576 generations total), graded by liquid/d1.3-ultra via OpenRouter Decisions API:
| Metric (288 prompts/config Β· 576 total) | Heretic V1 (SMX4_L) |
V1 + V2 DenseOnly @ 1.50 |
|---|---|---|
Full compliance (total, n=288) |
118/288 (41.0%) |
254/288 (88.2%) |
Comply with disclaimer (n=288) |
39/288 (13.5%) |
13/288 (4.5%) |
Judge-assessed refusals (n=288) |
126/288 (43.8%) |
0/288 (0.0%) (pl: 0/16, ko: 0/16) |
Unfinished <think> (thinking splits, n=176) |
5/176 (2.8%) |
20/176 (11.4%) (RU high/xhigh: 2/32 -> 8/32; off/low: 0/144) |
Broken / empty (n=288) |
0/288 |
1/288 |
Repetition loops (4 efforts / 10 langs) |
1/128 Β· 1/160 |
5/128 Β· 2/160 |
Known trade-offs: V2 is not lossless. Unfinished <think> quadrupled (5/176 -> 20/176), 4-effort repetition loops rose (1/128 -> 5/128), Russian high/xhigh coherence dipped (3.02 -> 2.27 overall; 3.22 -> 3.03 excluding unfinished runs), and full greedy GPQA-Diamond (198) dropped -4.0 pp (below). Note also that raw sensitive prompt/completion texts are omitted from eval/v2/, so third parties can audit all aggregations and verdicts but would need to re-run inference to audit individual sensitive judge labels.
Greedy Capability Benchmarks (eval/v2/gpqa_diamond_198.json, eval/v2/capabilities_subsets.json)
Benchmark (temp=0.0, reasoning_effort=off) |
Stock Q4_K_M |
Heretic V1 (SMX4_L) |
V1 + V2 DenseOnly @ 1.50 |
|---|---|---|---|
GPQA-Diamond (full, 198, @1536 tok) |
147/198 (74.2%) |
147/198 (74.2%) |
139/198 (70.2%) (-4.0 pp, McNemar p=0.2912) |
HumanEval (32-task subset, @640 tok) |
β | 27/32 (84.4%) |
28/32 (87.5%) |
GSM8K (32-task subset, @640 tok) |
β | 30/32 (93.8%) |
31/32 (96.9%) |
MMLU-Pro (28-task subset, @640 tok) |
β | 18/28 (64.3%) |
21/28 (75.0%) |
(See also the earlier BF16 100-question GPQA-Diamond run below, which showed 59/100 -> 50/100 under a separate BF16 harness; Stock Q4_K_M and Heretic V1 SMX4_L tied at 147/198 on full GPQA-198 with 42 flipped items, McNemar p=1.0, and different quant recipes.)
Real Hardware MTP & Speed (eval/v2/local_mtp_bench.json)
Measured locally on RTX 4070 Laptop 8 GB + Intel Core i7-13650HX (llama.cpp b12977, SMX4_L + mtp-Q4_K_M, 131k context, hybrid CPU-MoE offload, 3,520 greedy tokens per scale):
| Adapter Scale | MTP Acceptance | Median Decode Speed | RU CJK Leaks |
|---|---|---|---|
0.00 (V1 base) |
85.12% (1608/1889) |
38.61 t/s |
0 |
1.25 |
86.45% (1620/1874) |
38.12 t/s (98.7%) |
0 |
1.50 |
87.19% (1627/1866) |
42.23 t/s (109.4%) |
0 |
Pure BF16 Downstream Benchmarks (Stock BF16 vs Heretic V1 BF16)
Both models evaluated in full BF16 (temperature=0.0, identical harness, zero quantization noise; raw data in eval/v2/gpqa_and_kld_bf16_v1.json). HumanEval, LiveCodeBench v6 (stdin public test cases), GPQA-Diamond, and MMLU-Pro were run in non-thinking mode (reasoning_effort=off); JailbreakBench was tested in both direct and <think> mode (768-token budget; note that this V1 table used keyword-based refusal checks β see V2 Decisions-API results above for soft-refusal rates):
| Benchmark | Stock Qwen4-35B-A3B (BF16) |
Heretic V1 (BF16) |
Delta |
|---|---|---|---|
HumanEval (pass@1, 164 tasks) |
92.07% (151/164) |
92.68% (152/164) |
+0.61% |
LiveCodeBench v6 (pass@1, 60 stdin tasks) |
38.33% (23/60) |
36.67% (22/60) |
-1.66% |
| GPQA-Diamond (100-question subset, V1 harness) | 59.00% (59/100) |
50.00% (50/100) |
-9.00% |
| MMLU-Pro (140 stratified, 10Γ14 domains) | 61.43% (86/140) |
62.86% (88/140) |
+1.43% |
| Held-out Refusals β Direct (JailbreakBench, 50, regex) | 94.0% (47/50) |
20.0% (10/50) |
-74.0% |
Held-out Refusals β <think> (768 tok, 50, regex) |
80.0% (40/50; 48/50 completed) |
4.0% (2/50; 25/50 completed) |
-76.0% |
Stage 1: Abliteration Distribution Drift (Stock BF16 -> Heretic BF16)
Measured on 2ΓA40 (ggml-cuda, WikiText-2 20 Γ 512 = 10,240 tokens):
| Metric | Stock BF16 | Heretic BF16 | Delta / Divergence |
|---|---|---|---|
WikiText-2 Perplexity (20 Γ 512) |
7.3929 |
7.3622 |
-0.0308 |
| Mean KL Divergence (Stock -> Heretic) | 0.0000 |
β | 0.0408 Β± 0.0015 |
| Same Top-1 Token Agreement | 100.0% |
β | 92.41% |
Quick Start (llama.cpp b12977+ / v1.1.1+)
24β32 GB VRAM (full GPU + MTP speculative decoding + optional V2 LoRA):
llama-server -hf synthetic0x/Qwen4-35B-A3B-Heretic-GGUF:SMX4_L \
--lora-scaled Qwen4-35B-A3B-Heretic-V2-DenseOnly.gguf:1.5 \
--spec-type draft-mtp --spec-draft-n-max 3 --flash-attn on
8 GB VRAM + 24β32 GB RAM Laptop (64k context, 4 MoE layers + entire non-expert backbone in VRAM, rest in RAM, PLE on NVMe via --lazy-mode auto; omit MTP on 8 GB CPU-offload for highest tok/s):
llama-server \
-hf synthetic0x/Qwen4-35B-A3B-Heretic-GGUF:SMX4_L \
--lora-scaled Qwen4-35B-A3B-Heretic-V2-DenseOnly.gguf:1.5 \
--lazy-mode auto -ngl 99 --fit off --no-mmproj-offload \
-ot "token_embd\.weight=CPU,blk\.(0|1|2|3|4|5|6|7|8|9|14|15|16|17|18|19|20|21|22|23|24|25|26|27|28|29|30|31|32|33|34|35|36|37|38|39)\.ffn_.*_exps\.=CPU" \
-c 65536 -ctk q8_0 -ctv q8_0 --flash-attn on
Note on RAM usage (
--lazy-mode auto): Qwen 4 includes a 20.5B per-layer n-gram embedding table (per_layer_token_embd). Underllama.cpp's default--lazy-mode auto, this table stays on NVMe disk and is read on demand, so Resident RAM is much smaller than disk size. For full262,144context on 8 GB VRAM, offload all 40 MoE layers to CPU and use-c 262144 -ctk q4_0 -ctv q4_0.
Stage 2: Quantization Benchmarks (Heretic BF16 -> Quant, WikiText-2 20 Γ 512)
All 20 quantizations were calibrated with an in-house imatrix computed directly on the abliterated BF16 checkpoint (64 Γ 512 chunks) and keep sensitive Qwen 4 tensors (hc_*, ssm_beta, ssm_alpha, ple_conv1d) at BF16.
SMX4_L&SMX3_XL(Hardware-Aware MILP viasmx-auto): generated by scoring all 597 tensors across 21 unpruned GGML formats withimatrixand solving a 3-tier (VRAM / RAM / NVMe) joint MILP using realggml_mul_mat_idlatency profiles measured across Intel AVX-VNNI (i7-13650HX), AMD Zen 3 (R7 5700XLinux + Windows), Intel AVX-512, and NVIDIA RTX 40/50 GPUs. Eliminates slow LUT formats (IQ3_S,IQ3_XXS) in favor ofQ3_K,Q4_K,IQ4_XS,Q5_K,Q6_K, andQ8_0.- CPU MoE Decode Speed Chart: computed directly from real 120-tensor
ggml_mul_mat_idhardware benchmarks (averaged across Inteli7-13650HXand AMDR7 5700XLinux/Windows withCPU_REPACKenabled) applied to each GGUF's exact MoE tensor types. - Stage 2 Backend Note: Stage 2 (
Heretic BF16base PPL7.3780and all 20 quants) ran uniformly onggml-cpu(AVX-512). Stage 1 and Stage 2 KL divergences are non-additive and reported separately.
| Quant / Artifact | Disk Size | Resident RAM | PPL (ΞPPL) | Mean KLD vs Heretic BF16 | Same Top-1 | Notes |
|---|---|---|---|---|---|---|
BF16 |
111.09 GB | ~70.1 GB | 7.3780 (+0.0000) |
0.0000 |
100.00% |
Stage 2 reference (Heretic BF16, ggml-cpu) |
Q8_0 |
59.40 GB | ~37.6 GB | 7.3857 (+0.0077) |
0.0215 Β± 0.0009 |
94.04% |
Near-lossless 8-bit (PLE=Q8_0, 64 GB RAM / dual-GPU) |
Q6_K |
51.01 GB | ~29.2 GB | 7.3771 (-0.0010) |
0.0315 Β± 0.0010 |
92.63% |
Very high quality 6-bit (PLE=Q8_0, 48 GB RAM / 32 GB VRAM) |
Q5_K_M |
39.56 GB | ~25.0 GB | 7.4919 (+0.1139) |
0.0466 Β± 0.0016 |
91.41% |
High quality 5-bit (PLE=Q5_0, 32 GB RAM / 24 GB+ VRAM) |
Q5_K_S |
38.79 GB | ~24.2 GB | 7.4600 (+0.0820) |
0.0486 Β± 0.0018 |
91.08% |
Compact 5-bit K-quant (PLE=Q5_0, 32 GB RAM / 24 GB+ VRAM) |
Q4_K_M |
36.01 GB | ~21.9 GB | 7.5294 (+0.1514) |
0.0901 Β± 0.0029 |
88.35% |
Standard default 4-bit (PLE=Q5_0, 32 GB RAM / 24 GB VRAM) |
Q4_K_S |
34.70 GB | ~20.9 GB | 7.5334 (+0.1554) |
0.0976 Β± 0.0033 |
87.59% |
Smaller 4-bit K-quant (PLE=Q5_0, 24β32 GB RAM / 24 GB VRAM) |
IQ4_NL |
34.62 GB | ~20.6 GB | 7.5833 (+0.2052) |
0.1001 Β± 0.0034 |
87.18% |
Non-linear imatrix 4-bit (PLE=Q5_0, 24β32 GB RAM / 24 GB VRAM) |
SMX4_L β
|
41.28 GB | ~19.5 GB | 7.4737 (+0.1014) |
0.0864 Β± 0.0031 |
88.88% |
SMX Hardware-Aware (smx-auto) β beats Q4_K_M at -2.4 GB RAM (Q4_K/IQ4_XS/Q3_K MoE, Q8_0/Q6_K/Q5_K backbone, PLE=Q8_0) |
IQ4_XS |
33.58 GB | ~19.5 GB | 7.6157 (+0.2376) |
0.1023 Β± 0.0032 |
87.02% |
Compact imatrix 4-bit (PLE=Q5_0, 24 GB VRAM / 32 GB RAM) |
Q3_K_L |
30.43 GB | ~18.5 GB | 7.8098 (+0.4318) |
0.1661 Β± 0.0052 |
83.71% |
Large 3-bit K-quant (PLE=Q4_0, 20β24 GB VRAM/RAM) |
Q3_K_M |
29.05 GB | ~17.2 GB | 7.8049 (+0.4269) |
0.1818 Β± 0.0056 |
82.98% |
Balanced 3-bit K-quant (PLE=Q4_0, 20β24 GB VRAM/RAM) |
SMX3_XL β
|
30.90 GB | ~16.8 GB | 7.6669 (+0.2946) |
0.1459 Β± 0.0051 |
85.33% |
SMX Hardware-Aware (smx-auto) β beats Q3_K_L/Q3_K_M (Q3_K + sensitive IQ4_XS MoE, Q8_0/Q6_K/Q5_K backbone, PLE=Q5_0) |
Q3_K_S |
27.43 GB | ~15.9 GB | 8.0576 (+0.6795) |
0.2650 Β± 0.0075 |
79.14% |
Small 3-bit K-quant (PLE=Q4_0, 16β24 GB VRAM/RAM) |
IQ3_M |
27.74 GB | ~15.5 GB | 7.8056 (+0.4275) |
0.1806 Β± 0.0054 |
83.00% |
High-efficiency imatrix 3-bit (PLE=Q4_0, shared expert Q4_K, 16β24 GB) |
IQ3_XS |
26.79 GB | ~14.6 GB | 7.9310 (+0.5529) |
0.2157 Β± 0.0061 |
80.63% |
Compact imatrix 3-bit (PLE=Q4_0, shared expert Q4_K, 16 GB PC/VRAM) |
IQ3_XXS |
25.94 GB | ~13.6 GB | 8.1690 (+0.7909) |
0.2810 Β± 0.0081 |
79.22% |
Ultra-compact imatrix 3-bit (PLE=Q4_0, shared expert Q4_K, 16 GB PC/VRAM) |
Q2_K |
25.27 GB | ~13.2 GB | 8.5070 (+1.1290) |
0.3830 Β± 0.0103 |
76.06% |
Standard 2-bit K-quant (PLE=Q4_0, shared expert Q4_K, 16 GB PC/VRAM) |
IQ2_M |
24.06 GB | ~11.8 GB | 8.5312 (+1.1532) |
0.3983 Β± 0.0098 |
74.31% |
imatrix 2-bit MoE (PLE=Q4_0, shared expert Q4_K, 12β16 GB VRAM/RAM) |
IQ2_XXS |
21.90 GB | ~10.4 GB | 10.8995 (+3.5215) |
0.7542 Β± 0.0153 |
66.35% |
Ultra-small imatrix 2-bit MoE (PLE=Q4_0, shared expert Q4_K, 12 GB VRAM/16 GB RAM) |
IQ1_M |
20.67 GB | ~9.5 GB | 17.4239 (+10.0458) |
1.2773 Β± 0.0223 |
55.84% |
Ultra-compact imatrix 1-bit MoE (PLE=Q4_0, shared expert Q4_K, 10β12 GB VRAM/16 GB RAM) |
V2-DenseOnly LoRA |
1.30 MiB | β | β | β | β | Optional rank-3 dense-only multilingual LoRA (--lora-scaled ...:1.5) |
mmproj-BF16 |
0.90 GB | β | β | β | β | Vision encoder (untouched) |
mtp (Q8_0 / Q4_K_M) |
2.01 GB / 1.27 GB | β | β | β | β | Optional 1-layer MTP speculative decoding |
imatrix |
0.39 GB | β | β | β | β | Calibration importance matrix |
Cross-Domain Validation (Non-WikiText-2: Python/C++ Code + Russian Wikipedia + GSM8K Math)
To rule out WikiText-2 overfitting, SMX V2 quants were validated head-to-head against legacy V1 and standard quants on an independent 20 Γ 512 (10,240-token) mixed corpus (~33% Python/C++ code, ~33% Russian technical Wikipedia, ~33% GSM8K math reasoning):
| Quant | Resident RAM | WikiText-2 KLD | WikiText-2 Top-1 | Cross-Domain KLD | Cross-Domain Top-1 | Cross-Domain PPL |
|---|---|---|---|---|---|---|
| Q4_K_M | ~21.9 GB | 0.0899 |
88.00% |
0.0625 |
94.04% |
2.3748 |
SMX4_L (V2) β
|
~19.5 GB | 0.0864 |
88.88% |
0.0649 |
93.92% |
2.4000 |
SMX4_L (legacy V1) |
~19.4 GB | 0.1001 |
87.92% |
0.0626 |
93.86% |
2.4241 |
| IQ4_XS | ~19.5 GB | 0.1035 |
86.96% |
0.0774 |
93.88% |
2.4119 |
| Q3_K_L | ~18.9 GB | 0.1673 |
84.22% |
0.1281 |
91.82% |
2.4626 |
SMX3_XL (V2) β
|
~16.8 GB | 0.1459 |
85.33% |
0.0909 |
92.84% |
2.4085 |
SMX3_XL (legacy V1) |
~16.7 GB | 0.1462 |
84.96% |
0.1014 |
93.29% |
2.4387 |
| IQ3_M | ~16.2 GB | 0.1814 |
82.22% |
0.1349 |
91.45% |
2.4992 |
Community Benchmarks
Independent hybrid CPU/GPU benchmark by trgtszr (Discussion #2) on Windows 11 Β· AMD Ryzen 7 7840HS (Zen 4) Β· 32 GB DDR5 Β· RTX 4060 Laptop 8 GB Β· NVMe SSD (llama.cpp b12992, CUDA, 16k ctx, q4_0 KV, Flash Attention, lazy-mode=on, 4 MoE layers on GPU + rest in RAM, 15 runs Γ 256β512 tokens):
| Quant | Size (GiB) | Avg Decode Speed | Delta vs IQ3_S |
|---|---|---|---|
Third-party IQ3_S |
28.9 GiB | 24 t/s |
Baseline |
SMX3_XL |
28.7 GiB | 29 t/s |
+20.8% |
Note: the +20.8% delta reflects this specific user hardware/config compared against a third-party IQ3_S build and is not a universal SMX speedup across all hardware or quantization baselines. Separately (outside the 15-run benchmark table), the author also noted reaching ~35 t/s with an additional ~1 GB Q4_0 MTP draft model (spec-draft-n-max=1). Full methodology and llama.cpp config in Discussion #2.
- Downloads last month
- 289,083



