schema_version int64 1 1 | record_id stringclasses 4
values | date_utc timestamp[s]date 2026-08-08 00:00:00 2026-08-09 00:00:00 | variant stringclasses 2
values | host_class stringclasses 2
values | host_verified bool 2
classes | gpu stringclasses 3
values | compute_capability stringclasses 3
values | cuda_arch stringclasses 3
values | driver_version stringclasses 3
values | cuda_toolkit_version stringclasses 1
value | fork_commit stringclasses 3
values | artifact_commit stringclasses 1
value | patchset stringclasses 2
values | model_repo stringclasses 1
value | model_file stringclasses 1
value | model_sha256 stringclasses 1
value | n_batch int64 2.05k 2.05k | n_ubatch int64 512 512 | n_threads int64 6 12 | repetitions int64 5 10 | pp512_mean_ts float64 1.46k 10.7k | pp512_median_ts float64 1.49k 10.7k ⌀ | pp512_stddev_ts float64 39.9 101 | tg128_mean_ts float64 324 376 | tg128_median_ts float64 375 375 ⌀ | tg128_stddev_ts float64 1.95 10.4 | mul_mat_passed int64 31 31 ⌀ | mul_mat_total int64 31 31 ⌀ | mul_mat_id_passed int64 72 72 ⌀ | mul_mat_id_total int64 72 72 ⌀ | evidence_path stringclasses 3
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | sm89-local-20260809-mmq | 2026-08-09T00:00:00 | mmq-enabled | local-owner | true | NVIDIA GeForce RTX 4080 SUPER | 8.9 | sm_89 | 610.62 | 12.8 | 9ee03eec62d088a117ab916bbe489e7a3872a21f | d161aebcfad2b0278ef8a53bf6003b0066512b82 | 0001-0008 (0005 reverted) | stamsam/maple-preview-gguf | maple-tq2_0.gguf | 09d219202562dbd17722dc8e3273527a021182ab7f892c2a06aac459a8f3a090 | 2,048 | 512 | 8 | 10 | 10,674.01 | 10,668.3 | 100.620191 | 370.0419 | 374.8155 | 10.394046 | 31 | 31 | 72 | 72 | evidence/sm89-local-20260809 |
1 | sm89-local-20260809-fallback | 2026-08-09T00:00:00 | mmq-disabled-fallback | local-owner | true | NVIDIA GeForce RTX 4080 SUPER | 8.9 | sm_89 | 610.62 | 12.8 | 9ee03eec62d088a117ab916bbe489e7a3872a21f | d161aebcfad2b0278ef8a53bf6003b0066512b82 | 0001-0007 (0005 reverted; MMQ disabled) | stamsam/maple-preview-gguf | maple-tq2_0.gguf | 09d219202562dbd17722dc8e3273527a021182ab7f892c2a06aac459a8f3a090 | 2,048 | 512 | 8 | 10 | 1,457.103 | 1,486.005 | 91.340978 | 376.1809 | 375.0355 | 4.158392 | null | null | null | null | evidence/sm89-local-20260809 |
1 | sm86-vast-20260808-mmq | 2026-08-08T00:00:00 | mmq-enabled | vast-unverified | false | NVIDIA GeForce RTX 3080 | 8.6 | sm_86 | 580.173.02 | 12.8 | 3df4743 | d161aebcfad2b0278ef8a53bf6003b0066512b82 | 0001-0008 (0005 reverted) | stamsam/maple-preview-gguf | maple-tq2_0.gguf | 09d219202562dbd17722dc8e3273527a021182ab7f892c2a06aac459a8f3a090 | 2,048 | 512 | 12 | 5 | 6,985.69047 | null | 39.853495 | 342.727122 | null | 2.362002 | 31 | 31 | 72 | 72 | evidence/sm86-vast-20260808 |
1 | sm120-vast-20260808-mmq | 2026-08-08T00:00:00 | mmq-enabled | vast-unverified | false | NVIDIA GeForce RTX 5060 Ti | 12.0 | sm_120 | 595.71.05 | 12.8 | unknown | d161aebcfad2b0278ef8a53bf6003b0066512b82 | 0001-0008 (0005 reverted) | stamsam/maple-preview-gguf | maple-tq2_0.gguf | 09d219202562dbd17722dc8e3273527a021182ab7f892c2a06aac459a8f3a090 | 2,048 | 512 | 6 | 5 | 5,738.427502 | null | 43.22768 | 323.885166 | null | 1.953033 | 31 | 31 | 72 | 72 | evidence/sm120-vast-20260808 |
Maple Preview TQ2_0 CUDA Benchmarks
Reproducibility data for the TQ2_0 CUDA patches in
PascalAI2024/maple-preview-windows-cuda.
This repository contains benchmark data, patch files, hashes, and raw validation
evidence. It does not duplicate the Maple model weights.
Result
The fresh local A/B/B/A validation on an RTX 4080 SUPER reproduced the fused-MMQ prompt-processing gain:
| Variant | pp512 mean | pp512 median | tg128 mean | tg128 median | Correctness |
|---|---|---|---|---|---|
| MMQ enabled | 10,674 t/s | 10,668 t/s | 370.0 t/s | 374.8 t/s | 103/103 |
| MMQ disabled fallback | 1,457 t/s | 1,486 t/s | 376.2 t/s | 375.0 t/s | reference build |
The prompt path improved 7.33× by mean. Generation was effectively unchanged (the medians differ by 0.06%); that is expected because the MMQ patch targets batched prompt matmuls, while batch-one generation already uses MMVQ.
Cross-architecture MMQ results
| GPU | CUDA arch | Host class | pp512 | tg128 | CPU-reference tests |
|---|---|---|---|---|---|
| RTX 3080 | sm_86 | Vast, unverified | 6,985.69 ± 39.85 | 342.73 ± 2.36 | 103/103 |
| RTX 4080 SUPER | sm_89 | local | 10,674.01 ± 100.62 | 370.04 ± 10.39 | 103/103 |
| RTX 5060 Ti | sm_120 | Vast, unverified | 5,738.43 ± 43.23 | 323.89 ± 1.95 | 103/103 |
The local row is the 2026-08-09 controlled refresh on driver 610.62 and CUDA 12.8. The two remote rows are the harvested 2026-08-08 Vast runs. Host verification status is explicit because cheap hardware is useful evidence, not a laboratory pedigree.
What changed
The seven-patch series (0001–0008, with experimental patch 0005 reverted):
- Makes the existing TQ2_0 MMVQ path reachable for batch-one MoE generation.
- Replaces the scalar ternary dot product with packed signed-byte
dp4awork. - Enables TQ2_0 CPU-reference coverage in
test-backend-ops. - Specializes the standalone TQ2_0 dequant path.
- Adds TQ2_0 MMQ dispatch and template instantiation.
- Expands TQ2_0's strided packing into natural K-order signed bytes in shared memory.
- Enables the fused path after the correctness gate.
The final MMQ loader reuses llama.cpp's existing signed-s8 DP4A/Turing-MMA consumer. The important change is removal of the TQ2_0 → FP16 staging → cuBLAS round trip during prompt processing.
Protocol
Local validation uses reproduce/05-validate-benchmark.ps1:
- Refuse to run while another
llama-*process is active. - Warm both the MMQ and fallback builds; discard those warmups.
- Run A/B/B/A, where A is MMQ enabled and B is the patch-0007 fallback.
- Collect five built-in samples for pp512 and tg128 per invocation.
- Run the full
MUL_MATandMUL_MAT_IDCPU-reference matrices. - Record model, binary, patch, source, driver, toolkit, and clock-state evidence.
Benchmark command:
llama-bench -m <MODEL> -ngl 99 -p 512 -n 128 -r 5 -t 8 -o jsonl
Model artifact:
- Repository:
stamsam/maple-preview-gguf - File:
maple-tq2_0.gguf - SHA-256:
09d219202562dbd17722dc8e3273527a021182ab7f892c2a06aac459a8f3a090 - Weights are not included here.
Source pins:
- Benchmark repository commit:
d161aeb - Runtime fork base:
9ee03eec62d088a117ab916bbe489e7a3872a21f - Patch hashes:
evidence/sm89-local-20260809/manifest.json
Files
data/benchmarks.jsonl— one normalized row per hardware/variant result.evidence/sm89-local-20260809/— controlled A/B/B/A samples, GPU state, hashes, and complete correctness logs.evidence/sm86-vast-20260808/andevidence/sm120-vast-20260808/— raw harvested remote results and hashes.patches/— the exact seven published patch files.reproduce/05-validate-benchmark.ps1— the local benchmark/correctness harness.
Limitations
- No A100/sm_80 result is claimed. That is the most useful next architecture because the motivating public test used an A100.
- Windows WDDM clocks and desktop load affect short runs. The harness warms both builds, publishes all samples, and reports mean, median, spread, minimum, and maximum rather than selecting the best invocation.
- The Vast machines were explicitly unverified. Exact GPU, driver, CUDA, model, and patch metadata are included so readers can judge the evidence.
- These measurements validate inference correctness and throughput. They do not validate the model's coding, multilingual, reasoning, or instruction-following quality.
- Results are specific to this Maple llama.cpp fork and TQ2_0 artifact; they are not a general claim that ternary models always outperform GPUs or Q4 models.
Reuse and citation
Use the JSONL data for comparisons, but cite the exact record IDs and preserve
the host-verification and driver fields. For implementation details, issues, or
new hardware results, use the
maple-preview-windows-cuda repository.
- Downloads last month
- 22