The dataset viewer is not available for this split.
Error code: StreamingRowsError
Exception: CastError
Message: Couldn't cast
schema_version: string
hardware: struct<gpu: string, vram_gib: int64, system_ram_gib: int64, host: string>
child 0, gpu: string
child 1, vram_gib: int64
child 2, system_ram_gib: int64
child 3, host: string
cases: struct<text: int64, synthetic_vision: int64, seed: int64>
child 0, text: int64
child 1, synthetic_vision: int64
child 2, seed: int64
profiles: struct<bonsai2-pq2-fp16-kv: struct<text_correct: int64, text_total: int64, vision_correct: int64, vi (... 563 chars omitted)
child 0, bonsai2-pq2-fp16-kv: struct<text_correct: int64, text_total: int64, vision_correct: int64, vision_total: int64, p50_ms: i (... 42 chars omitted)
child 0, text_correct: int64
child 1, text_total: int64
child 2, vision_correct: int64
child 3, vision_total: int64
child 4, p50_ms: int64
child 5, p95_ms: int64
child 6, peak_vram_mib: int64
child 1, bonsai2-pq2-q4-kv: struct<text_correct: int64, text_total: int64, vision_correct: int64, vision_total: int64, p50_ms: i (... 42 chars omitted)
child 0, text_correct: int64
child 1, text_total: int64
child 2, vision_correct: int64
child 3, vision_total: int64
child 4, p50_ms: int64
child 5, p95_ms: int64
child 6, peak_vram_mib: int64
child 2, bonsai2-pq2-fable-style: struct<comparison_group: string, text_correct: int64, text_total: int64, vision_correct: int64, visi (... 31 chars omitted)
child 0, comparison_group: string
child 1, text_correct: int64
child 2, text_total: int64
child 3, vision_correct: int64
child 4, vision_total: int64
child 5, p50_ms: int64
child 3, fable-production-baseline: struct<text_correct: int64, text_total: int64, vision_correct: int64, vision_total: int64, p50_ms: i (... 42 chars omitted)
child 0, text_correct: int64
child 1, text_total: int64
child 2, vision_correct: int64
child 3, vision_total: int64
child 4, p50_ms: int64
child 5, p95_ms: int64
child 6, peak_vram_mib: int64
paired_tests: struct<pq2_fp16_vs_q4: struct<left_correct_right_wrong: int64, left_wrong_right_correct: int64, mcne (... 135 chars omitted)
child 0, pq2_fp16_vs_q4: struct<left_correct_right_wrong: int64, left_wrong_right_correct: int64, mcnemar_exact_p: double>
child 0, left_correct_right_wrong: int64
child 1, left_wrong_right_correct: int64
child 2, mcnemar_exact_p: double
child 1, pq2_q4_vs_fable: struct<pq2_correct_fable_wrong: int64, pq2_wrong_fable_correct: int64, mcnemar_exact_p: double>
child 0, pq2_correct_fable_wrong: int64
child 1, pq2_wrong_fable_correct: int64
child 2, mcnemar_exact_p: double
min_p: double
thinking_enabled: bool
top_k: int64
max_output_tokens: int64
temperature: double
seed: int64
top_p: double
system_prompt: string
controlled_profiles: list<item: string>
child 0, item: string
excluded_from_controlled_attribution: list<item: string>
child 0, item: string
to
{'seed': Value('int64'), 'max_output_tokens': Value('int64'), 'temperature': Value('float64'), 'top_p': Value('float64'), 'top_k': Value('int64'), 'min_p': Value('float64'), 'system_prompt': Value('string'), 'thinking_enabled': Value('bool'), 'controlled_profiles': List(Value('string')), 'excluded_from_controlled_attribution': List(Value('string'))}
because column names don't match
Traceback: Traceback (most recent call last):
File "/src/services/worker/src/worker/utils.py", line 147, in get_rows_or_raise
return get_rows(
dataset=dataset,
...<4 lines>...
column_names=column_names,
)
File "/src/libs/libcommon/src/libcommon/utils.py", line 272, in decorator
return func(*args, **kwargs)
File "/src/services/worker/src/worker/utils.py", line 127, in get_rows
rows_plus_one = list(itertools.islice(safe_iter(ds, dataset=dataset), rows_max_number + 1))
File "/src/services/worker/src/worker/utils.py", line 483, in safe_iter
yield from ds.decode(False) if ds.features else ds
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2840, in __iter__
for key, example in ex_iterable:
^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2373, in __iter__
for key, pa_table in self._iter_arrow():
~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2398, in _iter_arrow
for key, pa_table in self.ex_iterable._iter_arrow():
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 536, in _iter_arrow
for key, pa_table in iterator:
^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 419, in _iter_arrow
for key, pa_table in self.generate_tables_fn(**gen_kwags):
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 343, in _generate_tables
self._cast_table(pa_table, json_field_paths=json_field_paths),
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 132, in _cast_table
pa_table = table_cast(pa_table, self.info.features.arrow_schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2378, in table_cast
return cast_table_to_schema(table, schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2306, in cast_table_to_schema
raise CastError(
...<3 lines>...
)
datasets.table.CastError: Couldn't cast
schema_version: string
hardware: struct<gpu: string, vram_gib: int64, system_ram_gib: int64, host: string>
child 0, gpu: string
child 1, vram_gib: int64
child 2, system_ram_gib: int64
child 3, host: string
cases: struct<text: int64, synthetic_vision: int64, seed: int64>
child 0, text: int64
child 1, synthetic_vision: int64
child 2, seed: int64
profiles: struct<bonsai2-pq2-fp16-kv: struct<text_correct: int64, text_total: int64, vision_correct: int64, vi (... 563 chars omitted)
child 0, bonsai2-pq2-fp16-kv: struct<text_correct: int64, text_total: int64, vision_correct: int64, vision_total: int64, p50_ms: i (... 42 chars omitted)
child 0, text_correct: int64
child 1, text_total: int64
child 2, vision_correct: int64
child 3, vision_total: int64
child 4, p50_ms: int64
child 5, p95_ms: int64
child 6, peak_vram_mib: int64
child 1, bonsai2-pq2-q4-kv: struct<text_correct: int64, text_total: int64, vision_correct: int64, vision_total: int64, p50_ms: i (... 42 chars omitted)
child 0, text_correct: int64
child 1, text_total: int64
child 2, vision_correct: int64
child 3, vision_total: int64
child 4, p50_ms: int64
child 5, p95_ms: int64
child 6, peak_vram_mib: int64
child 2, bonsai2-pq2-fable-style: struct<comparison_group: string, text_correct: int64, text_total: int64, vision_correct: int64, visi (... 31 chars omitted)
child 0, comparison_group: string
child 1, text_correct: int64
child 2, text_total: int64
child 3, vision_correct: int64
child 4, vision_total: int64
child 5, p50_ms: int64
child 3, fable-production-baseline: struct<text_correct: int64, text_total: int64, vision_correct: int64, vision_total: int64, p50_ms: i (... 42 chars omitted)
child 0, text_correct: int64
child 1, text_total: int64
child 2, vision_correct: int64
child 3, vision_total: int64
child 4, p50_ms: int64
child 5, p95_ms: int64
child 6, peak_vram_mib: int64
paired_tests: struct<pq2_fp16_vs_q4: struct<left_correct_right_wrong: int64, left_wrong_right_correct: int64, mcne (... 135 chars omitted)
child 0, pq2_fp16_vs_q4: struct<left_correct_right_wrong: int64, left_wrong_right_correct: int64, mcnemar_exact_p: double>
child 0, left_correct_right_wrong: int64
child 1, left_wrong_right_correct: int64
child 2, mcnemar_exact_p: double
child 1, pq2_q4_vs_fable: struct<pq2_correct_fable_wrong: int64, pq2_wrong_fable_correct: int64, mcnemar_exact_p: double>
child 0, pq2_correct_fable_wrong: int64
child 1, pq2_wrong_fable_correct: int64
child 2, mcnemar_exact_p: double
min_p: double
thinking_enabled: bool
top_k: int64
max_output_tokens: int64
temperature: double
seed: int64
top_p: double
system_prompt: string
controlled_profiles: list<item: string>
child 0, item: string
excluded_from_controlled_attribution: list<item: string>
child 0, item: string
to
{'seed': Value('int64'), 'max_output_tokens': Value('int64'), 'temperature': Value('float64'), 'top_p': Value('float64'), 'top_k': Value('int64'), 'min_p': Value('float64'), 'system_prompt': Value('string'), 'thinking_enabled': Value('bool'), 'controlled_profiles': List(Value('string')), 'excluded_from_controlled_attribution': List(Value('string'))}
because column names don't matchNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
- Headline inference benchmark results
- Hardware under test
- What is downloadable
- Download this research package
- Reproduce the Bonsai runtime routes
- Controlled comparison method
- Prompt steering did not transfer Fable's learned behavior
- Recommended deployment split
- Autotuning and portability boundary
- Benchmark boundaries and limitations
- Licensing and attribution
- Citation
- Author
Bonsai 2 27B PQ2_0 vs Fable on a Single RTX 5090
This benchmark and reproducibility artifact compares single-GPU local LLM inference for Bonsai 2 27B / Qwen3.8 27B PQ2_0 GGUF through the Bonsai llama.cpp fork, its low-VRAM Q4_0 KV-cache quantization route with multimodal vision, and a Fable groupwise-int baseline. The controlled 210-question comparison on one RTX 5090 separates a quality-first Fable route from a 15,595 MiB sampled-peak Bonsai PQ2_0 + Q4_0-KV route.
Headline inference benchmark results
| Profile | Text | Vision | P50 / P95 | Sampled peak VRAM |
|---|---|---|---|---|
| Bonsai 2 PQ2 + FP16 KV | 190/210 (90.48%) | 3/3 | 375 / 481 ms | 19,801 MiB |
| Bonsai 2 PQ2 + Q4_0 KV | 190/210 (90.48%) | 3/3 | 363 / 465 ms | 15,595 MiB |
| Bonsai 2 PQ2 + Fable-inspired steering | 184/210 (87.62%) | 2/3 | 270 ms / not retained | not retained |
| Fable groupwise-int-v3 | 199/210 (94.76%) | 3/3 | 151 / 221 ms | 26,780 MiB |
With the same PQ2_0 weights, Q4_0 KV reduced sampled peak VRAM by 4,206 MiB relative to FP16 KV while both profiles scored 190/210 in this run.
Q4_0 KV is cache compression, not Q4 weight quantization. Every Bonsai profile here uses the same
PQ2_0weights at 2.13 bits per weight.
Hardware under test
| Component | Hardware / current host snapshot |
|---|---|
| CPU | AMD Ryzen 9 9950X3D · 16 cores / 32 logical processors |
| GPU | NVIDIA GeForce RTX 5090 · 32,607 MiB reported by nvidia-smi (~31.8 GiB; marketed as 32 GB) |
| System memory | 64 GB installed class · 61.3 GiB visible to the operating system |
| Host OS | Microsoft Windows 11 Enterprise · version 10.0.26200 · build 26200 |
| NVIDIA driver | 616.64, observed on the current host on 2026-09-20 |
| GPU compute capability | 12.0, captured by the companion Qwen runtime device snapshot |
This table records the hardware and current host state; the currently observed driver must not be assumed to be the driver used for every historical measurement. The files under results/ are authoritative for the published benchmark values. This Bonsai package did not retain a complete runtime software-version manifest, so exact historical runtime and driver reconstruction is not available from this dataset alone.
Search terms: Bonsai 2 27B, Qwen3.8 27B, PQ2_0 2-bit quantization, GGUF, llama.cpp, RTX 5090, Q4_0 KV-cache quantization, low-VRAM local LLM inference, 256K / 262,144-token long context, multimodal vision, Fable, and groupwise-int benchmarking.
What is downloadable
results/comparison-summary.json: sanitized four-profile accuracy, latency, vision, VRAM, and paired-test aggregates.results/long-context-summary.json: low-VRAM runtime and zero-cache long-context evidence.experiment/controlled-contract.json: seed, sampling, output, prompt, and inclusion/exclusion contract.assets/bonsai2-pq2-vs-fable-results.svg: reusable results visual.- Citation and split licensing files.
This dataset does not contain model weights, converted Fable artifacts, raw model outputs, private prompts, client data, chat history, credentials, local paths, service URLs, container images, or machine logs. The 210 raw questions remain withheld until per-source provenance and redistribution terms are cleared.
Download this research package
hf download Jerrybro/bonsai2-27b-pq2-vs-fable-rtx5090 \
--repo-type dataset \
--local-dir bonsai2-27b-pq2-vs-fable-rtx5090
Download weights only from their upstream publishers:
hf download prism-ml/Ternary-Bonsai-2-27B-gguf \
Ternary-Bonsai-2-27B-PQ2_0.gguf \
Ternary-Bonsai-2-27B-mmproj-Q8_0.gguf \
--local-dir bonsai2-27b-pq2
- Bonsai 2 weights: prism-ml/Ternary-Bonsai-2-27B-gguf
- Bonsai runtime: PrismML-Eng/Bonsai-demo
- Fable upstream card: DavidAU/Qwen3.8-27B-TURBO-Fable-Cold-Fusion-735-882-Heretic-Uncensored-NEO-CODER-MAX-MTP-GGUF
The reported Fable baseline used a separate groupwise-int-v3 runtime artifact. Linking the upstream card identifies lineage; it does not imply that the exact converted artifact is redistributed here.
Reproduce the Bonsai runtime routes
1. Install the required fork runtime
Bonsai 2 PQ2_0 requires the Bonsai demo's fork build and activation transform. Do not run it with stock llama.cpp.
git clone https://github.com/PrismML-Eng/Bonsai-demo.git
Set-Location Bonsai-demo
pwsh -File .\setup.ps1
The upstream setup script manages its supported binaries. Verify the selected release and backend before comparing results.
2. Launch PQ2_0 with FP16 KV
$env:BONSAI_FAMILY = 'bonsai2'
$env:BONSAI_MODEL = '27B'
$env:BONSAI_GGUF = "$PWD\..\bonsai2-27b-pq2\Ternary-Bonsai-2-27B-PQ2_0.gguf"
$env:BONSAI_MMPROJ = "$PWD\..\bonsai2-27b-pq2\Ternary-Bonsai-2-27B-mmproj-Q8_0.gguf"
$env:BONSAI_IMAGE_MAX_TOKENS = '1024'
Remove-Item Env:BONSAI_KV4 -ErrorAction SilentlyContinue
pwsh -File .\scripts\start_llama_server.ps1
3. Launch the low-VRAM Q4_0-KV route
Use the same PQ2_0 model and projector, then change only the KV cache:
$env:BONSAI_KV4 = '1'
pwsh -File .\scripts\start_llama_server.ps1
For the published extended-context validation, set the explicit runtime context before launch:
$env:BONSAI_CTX = '262144'
$env:BONSAI_KV4 = '1'
pwsh -File .\scripts\start_llama_server.ps1
The extended run validated a 110,038-token zero-cache request in 65.856 seconds at 1,675.6 prompt tok/s. A separate 40,918-token low-VRAM request measured 2,340.6 prompt tok/s and 49.6 decode tok/s with a CPU-resident Q8_0 vision projector.
Controlled comparison method
The contract in experiment/controlled-contract.json fixes:
- seed 42;
- temperature 0, top-p 1.0, top-k 0, and min-p 0.0;
- maximum output of 8 tokens;
- thinking disabled;
- the same exact-label system instruction for controlled profiles.
The controlled set contains PQ2 + FP16 KV, PQ2 + Q4_0 KV, and the Fable baseline. The Fable-inspired prompt profile is intentionally excluded because it changes the prompt and sampling policy.
Paired evidence
- FP16 KV vs Q4_0 KV: one case moved in each direction; exact McNemar
p = 1.0. - PQ2 Q4_0 KV vs Fable: Fable corrected 14 PQ2 misses while PQ2 corrected 5 Fable misses; exact McNemar
p = 0.063568115234375.
The second result points toward Fable but does not cross the conventional 0.05 threshold in this one 210-case run.
Prompt steering did not transfer Fable's learned behavior
The Fable-inspired prompt profile scored 184/210, below the controlled PQ2 profiles at 190/210, and passed 2/3 rather than 3/3 vision checks. A system prompt can copy an explicit response policy; it cannot copy learned representations, distilled behavior, tool reliability, safety boundaries, or domain knowledge stored in model weights.
Treat prompt steering as a descriptive experiment. Weight-level transfer would require a separately licensed distillation or fine-tuning program and a new evaluation.
Recommended deployment split
| Goal | Recommended route | Evidence |
|---|---|---|
| Highest measured answer accuracy | Fable groupwise-int-v3 | 199/210, 3/3 vision, 151 ms P50 |
| Lower sampled VRAM with vision | Bonsai 2 PQ2_0 + Q4_0 KV | 190/210, 3/3 vision, 15,595 MiB peak |
| Long-context low-VRAM work | PQ2_0 + Q4_0 KV + CPU-resident Q8_0 projector | 262,144-token runtime and 110,038-token request validated |
| Fable-like tone only | Prompt steering, descriptive | Did not match Fable quality in this run |
These are workload routes, not universal model rankings.
Autotuning and portability boundary
No MoE autotune artifact is claimed for the Bonsai comparison. The companion RTX 5090 study tested device-local tuning directly and found that copying an RTX PRO 4000 Blackwell seed reduced matched throughput by 29.43%, despite both arms passing the same smoke gate.
That result supports a strict distinction:
- Portable: experiment contract, launch method, measurement scripts, and configuration hypotheses.
- Device-local: tuned kernel tables and any claimed optimum.
See Jerrybro/qwen38-flash-next-rtx5090-research for the underlying autotune evidence.
Benchmark boundaries and limitations
- The 210 questions are a local exact-label selection suite, not a comprehensive intelligence or safety benchmark.
- Raw questions are withheld pending per-source provenance review; this package therefore supports audit of aggregates and method, not independent rescoring of the exact suite.
- The three generated vision cases are wiring and basic-perception checks, not a general VLM benchmark.
- VRAM is sampled peak usage, not a hardware-instrumented allocation trace.
- Results come from one host and one run family. Driver, runtime, thermal, and background-load changes require remeasurement.
- P95 latency and peak VRAM were not retained for the prompt-steered profile.
- The exact Fable converted artifact and its conversion procedure are not distributed here.
The raw suite drew from public benchmark families including AI2 ARC, BoolQ, HellaSwag, OpenBookQA, PIQA, and WinoGrande. Their questions are not republished in this dataset.
Licensing and attribution
- Dataset documentation, aggregate results, experiment contract, and original visual: CC BY 4.0.
- Original code, if added to this package, is covered by Apache License 2.0.
- Upstream model weights, runtimes, benchmark sources, CUDA components, and conversion tools retain their upstream licenses. Nothing here relicenses them.
Citation
Use CITATION.cff, and cite the relevant upstream model, runtime, and benchmark sources when reporting derivative work.
Author
Jerry Sheen · Hugging Face: Jerrybro
- Downloads last month
- 121