Benchmarks

Generated from the repository's JSON files. Nothing is typed by hand.

Accuracy on Spider dev

Spider dev, plain execution accuracy on the original dev databases. Not the official test-suite score. Vote runs through the engine landed between 34.6% and 35.6%.

Pretrained, zero-shot, greedy
4.8% ±0.7
+ SFT
17.7% ±1.2
+ SFT with identifier augmentation (v0.6.0 weights)
21.5% ±1.3
+ schema-constrained decoding
26.2% ±1.4
+ 8 samples with execution-guided vote
35.3% ±1.5

Where it still fails

667 failures out of 1034, from a rule-based labeller. A hand check of 40 labels: 30 right, 8 right but coarse, 2 wrong.

wrong tables or joins
219
unknown column: table not in the query
172
unknown column: wrong alias
73
same structure, different result
42
wrong selected columns
39
wrong filter
30

Full pipeline through the engine

RunQuestionsClientsSamplesint8Accuracy (matches)Questions/sLatency p50 (s)Latency p95 (s)Prefix hit ratePeak GPU (GB)
full_greedy1034161no26.2% (271)7.291.624.9194%1.28
full_vote_k21034162no28.6% (296)9.221.413.9496%1.33
full_vote_k41034164no31.7% (328)5.472.357.9997%1.44
full_vote1034168no34.6% (358)2.056.4119.3097%1.47
full_vote_k1610341616no37.1% (384)1.0510.7641.8898%1.47
cpu_fp32_greedy20020041no24.0% (48)1.541.696.6288%-
cpu_int8_greedy20020041yes23.5% (47)1.781.725.1388%-
vote100_c110018no28.0% (28)0.501.494.7496%1.28
vote100_c410048no28.0% (28)1.112.879.8296%1.33
vote100_c810088no28.0% (28)1.733.7310.3996%1.44
vote100_c16100168no26.0% (26)1.936.9417.2496%1.47
cpu_fp32_vote50_c15018no20.0% (10)0.224.009.6994%-
cpu_int8_vote50_c15018yes22.0% (11)0.253.439.0494%-

Serving engine, interleaved A/B

Absolute speed varies 25 to 40% between sessions, so only back-to-back ratios count.

FeatureComparedWorkloadClientstokens/sThroughput ratio (range)First-token speedupLatency p50 (s)KV reserved (GB)KV peak used (GB)Prefix hit rate
Continuous batchingbaseline -> batchedGPU, 32 spread145 -> 470.86x (0.50-1.09)-0.48 -> 0.47---
Continuous batchingbaseline -> batchedGPU, 32 spread455 -> 1713.08x (2.95-3.24)-2.15 -> 0.52---
Continuous batchingbaseline -> batchedGPU, 32 spread1648 -> 2615.39x (5.29-5.55)-10.18 -> 0.91---
Paged KV (1024 blocks)batched -> pagedGPU, 32 spread4161 -> 1540.96x (0.92-0.97)-0.54 -> 0.540.81 -> 0.40--
Paged KV (1024 blocks)batched -> pagedGPU, 32 spread16275 -> 2610.94x (0.93-1.01)-0.87 -> 0.920.81 -> 0.40--
Paged KV (512 blocks)batched -> pagedGPU, 32 spread16280 -> 2650.96x (0.92-0.99)-0.85 -> 0.910.81 -> 0.20--
Prefix cachepaged -> prefixGPU, 32 spread4182 -> 1851.02x (1.00-1.04)1.05x0.47 -> 0.470.40 -> 0.400.076 -> 0.05955%
Prefix cachepaged -> prefixGPU, 32 spread16301 -> 3131.04x (0.98-1.05)1.06x0.81 -> 0.770.40 -> 0.400.213 -> 0.13355%
Prefix cachepaged -> prefixGPU, 64 clustered4181 -> 1881.03x (0.87-1.04)0.90x0.46 -> 0.440.40 -> 0.400.039 -> 0.01989%
Prefix cachepaged -> prefixGPU, 64 clustered16427 -> 4291.00x (0.94-1.02)0.92x0.69 -> 0.690.40 -> 0.400.146 -> 0.03589%
Prefix cachepaged -> prefixCPU, 16 clustered124 -> 281.15x (1.12-1.15)3.37x0.70 -> 0.610.20 -> 0.200.010 -> 0.01087%
Prefix cachepaged -> prefixCPU, 16 clustered440 -> 541.33x (1.32-1.33)3.27x1.64 -> 1.120.20 -> 0.200.037 -> 0.01587%