ds4 icon indicating copy to clipboard operation
ds4 copied to clipboard

Help wanted: test PR #621 on Metal without SSD streaming

Open GiorgioOppo opened this issue 3 months ago • 7 comments

What we need

We are looking for help testing PR #621, which adds support for DeepSeek V4 Flash GGUFs whose dense attention projections use Q4_K (AProjQ4).

Metal has already been tested with SSD streaming, but we still lack a reproducible test with the model fully resident in unified memory.

The test must therefore use:

  • Apple Silicon and the Metal backend.
  • No --ssd-streaming.
  • No SSD-streaming environment variables or cache options.
  • A Mac with enough unified memory to hold the model and runtime buffers. At least 96 GB may work with a small context; 128 GB or more is preferred.

If the model does not fit, please report the failure instead of enabling SSD streaming. That result is still useful.

Model

Please use the -0731 AProjQ4+imatrix model from Hugging Face discussion #22:

DeepSeek-V4-Flash-IQ2XXS-w2Q2K-AProjQ4-SExpQ8-OutQ8-chat-v2-imatrix-0731.gguf

Expected SHA-256:

413cf0a68ca8d084e89f3f810eef5046b5308174d441a80017a0ff388933c767

An AProjQ8 model from the same -0731 checkpoint is useful as an optional control.

Build the current PR head

Please fetch the PR immediately before testing and report the exact SHA:

git clone https://github.com/antirez/ds4.git ds4-pr621
cd ds4-pr621
git fetch origin pull/621/head:pr-621
git checkout pr-621
git rev-parse HEAD

make clean
make
./ds4_test --metal-kernels

At the time this issue was opened, the PR head was 6f345d6c, but it may move.

Minimum useful test

Set the path to the downloaded model:

Q4=/path/to/DeepSeek-V4-Flash-IQ2XXS-w2Q2K-AProjQ4-SExpQ8-OutQ8-chat-v2-imatrix-0731.gguf

1. Official continuation vectors

DS4_TEST_MODEL="$Q4" ./ds4_test --logprob-vectors

2. Decode consistency

./ds4 --metal \
  -m "$Q4" \
  --ctx 4096 \
  --temp 0 \
  --nothink \
  --tokens 64 \
  --decode-consistency 64 \
  -p "Tell me the history of Rome in detail, from its origins to the fall of the Western Roman Empire."

Please report max_abs, rms, top-token agreement and whether the generated output is coherent.

3. Short resident benchmark

./ds4-bench --metal \
  -m "$Q4" \
  --prompt-file speed-bench/promessi_sposi.txt \
  --ctx-start 2048 \
  --ctx-max 8192 \
  --step-incr 2048 \
  --gen-tokens 128 \
  --csv /tmp/pr621-metal-resident-q4.csv

Please attach or paste the CSV.

Optional Q8/Q4 comparison

If you also have the corresponding AProjQ8 -0731 model, repeat the same commands with it using the same PR binary, machine, context and thermal conditions.

The most useful comparison would include:

  • Q8 versus Q4 prefill speed.
  • Q8 versus Q4 generation speed.
  • Startup/model-preparation time.
  • Planned and peak memory.
  • Logprob-vector results.
  • Any difference in generated output.

Two interleaved runs per model (Q8 → Q4 → Q4 → Q8) would help reduce thermal and background-load noise.

What to include in the report

Please provide:

  • Exact PR commit from git rev-parse HEAD.
  • Mac model and Apple chip.
  • Unified-memory capacity.
  • macOS version.
  • Full build result and compiler warnings, if any.
  • GGUF filename and SHA-256.
  • Startup memory-accounting lines.
  • Confirmation that --ssd-streaming was not used.
  • Logprob-vector and decode-consistency results.
  • Benchmark CSV or table.
  • Any crash, BOS loop, corrupted output or unexpected slowdown.

Even a short correctness-only run would be valuable. Thank you!

GiorgioOppo avatar Aug 20 '26 13:08 GiorgioOppo

@trueimage Are you interested? Would you like to take the test?

GiorgioOppo avatar Aug 21 '26 13:08 GiorgioOppo

pr621-metal-resident-q4.csv pr621-metal-resident-q8.csv

Metal resident (no SSD streaming) test — AProjQ4 -0731, with AProjQ8 control

--ssd-streaming was not used. No SSD-streaming environment variables or cache options were set.

Environment

PR commit (git rev-parse HEAD) 188f13c668e8ec271186e665fb4c0e7b54e5cd6b
Machine Mac Studio, Apple M3 Ultra
Unified memory 512 GB (ds4: Metal device Apple M3 Ultra, 512.00 GiB RAM)
macOS 26.5.2
Backend Metal, resident
SSD streaming not used

The PR head has moved since the issue was opened: 6f345d6c → 188f13c6.

git rev-parse HEAD and ./ds4_test --metal-kernels were run after the Q4 model tests. No fetch occurred between the build and those commands.

Reported at every startup on both models:

ds4: drift-patch flags hc_stable=on norm_unify=on kv_raw_f32=off rope_exp2_log2=off math_safe=off tensor_matmul=off
ds4: Metal 4 tensor API disabled for pre-M5/pre-A19 devices

Models

$ shasum -a 256 gguf/DeepSeek-V4-Flash-IQ2XXS-w2Q2K-AProjQ4-SExpQ8-OutQ8-chat-v2-imatrix-0731.gguf
413cf0a68ca8d084e89f3f810eef5046b5308174d441a80017a0ff388933c767
 
$ shasum -a 256 gguf/DeepSeek-V4-Flash-IQ2XXS-w2Q2K-AProjQ8-SExpQ8-OutQ8-chat-v2-imatrix-0731.gguf
ca22ae2f838e14077c22bc1c1417b71b45b5e5a3687bd96c2ac6e17fdb6261c0

The AProjQ4 SHA-256 matches the expected value in the issue.

Both models were tested with the same PR binary, machine, context settings and prompt. Runs were sequential, Q4 first then Q8; the interleaved Q8 → Q4 → Q4 → Q8 ordering was not performed.

Build

make clean && make completed before the Q4 runs. That console output was not captured. No compiler warnings appeared in the make test output despite -Wall -Wextra.

Unit tests bundled into the build:

Q4_K unit tests:
  block sizes: Q4_K=144 (expect 144), Q8_K=292 (expect 292): PASS
  scale extraction: PASS
  dot known: result=2048.0 expected=2048.0: PASS
  dot vs reference (50 random blocks): PASS
4/4 tests passed
 
MXFP4 unit tests:
  block size: 17 (expect 17): PASS
  E8M0 scale conversion: PASS
  nibble order: -32.0 (expect -32.0): PASS
  dot vs independent reference: PASS
4/4 tests passed
 
ds4-eval: answer extractor self-tests passed
ds4-agent tests: ok

Bare ./ds4_test (the full suite invoked by make test) aborts on the long-context vector because the default model path is not present in this checkout:

long-context:
ds4: cannot open model 'ds4flash.gguf': No such file or directory
make: *** [test] Error 1

The targeted suites below were then run individually against the real models.

./ds4_test --metal-kernels

Result: metal-kernels: OK / ds4 tests: ok.

AProjQ4 attention-output paths, both output block types:

ds4-test: Metal Q4 attention-output out_b=Q8_0 exact-2 low=0/512 out=0/134 low_oob=0 out_oob=0
ds4-test: Metal Q4 attention-output out_b=Q8_0 exact-3 low=0/768 out=0/201 low_oob=0 out_oob=0
ds4-test: Metal Q4 attention-output out_b=Q8_0 exact-4 low=0/1024 out=0/268 low_oob=0 out_oob=0
ds4-test: Metal Q4 attention-output out_b=Q8_0 exact-5 low=0/1280 out=0/335 low_oob=0 out_oob=0
ds4-test: Metal Q4 attention-output out_b=Q4_K exact-2 low=0/512 out=0/134 low_oob=0 out_oob=0
ds4-test: Metal Q4 attention-output out_b=Q4_K exact-3 low=0/768 out=0/201 low_oob=0 out_oob=0
ds4-test: Metal Q4 attention-output out_b=Q4_K exact-4 low=0/1024 out=0/268 low_oob=0 out_oob=0
ds4-test: Metal Q4 attention-output out_b=Q4_K exact-5 low=0/1280 out=0/335 low_oob=0 out_oob=0

Remaining results were exact: RoPE totals 0/841216 across pair/shared/affine; all compressor pair/quad/APE/pack/pool cases max_ulp=0; router SIMD finalize total selected=0/144 weights=0/144 probs=0/6144; router batch weights total selected=0 weights=0 probs=0; HC/RMSNorm and HC weights4 0 mismatches; contiguous conversion 0/95.

The following kernels were logged as required but not selected, while the suite reported OK:

ds4: required Metal Q4 attention-output tiny batch is ineligible (rows=2 out_b_type=8 disabled=1)
ds4: required Metal Q4 attention-output tiny batch is ineligible (rows=2 out_b_type=12 disabled=0)
ds4: required Metal Q4 attention-output tiny batch is ineligible (rows=2 out_b_type=12 disabled=1)
ds4: required Metal gathered KV staging kernel was not selected        (×4)
ds4-test: gathered KV staging exact cases=4 raw_bytes=0 comp_bytes=0 guard_bytes=0
ds4: required Metal output HC weights4 kernel was not selected

The out_b_type=12 (Q4_K) tiny-batch case is reported ineligible with disabled=0 as well as disabled=1. The out_b_type=8 (Q8_0) case is reported only with disabled=1.

1. Official continuation vectors

Both models: logprob-vectors: OK / ds4 tests: ok, with all five vectors run (short_italian_fact, short_code_completion, short_reasoning_plain, long_memory_archive, long_code_audit).

2. Decode consistency

Startup memory accounting, --ctx 4096:

# AProjQ4
ds4: Metal model views created in 2.032 ms, residency requested in 482.455 ms, warmup 7.024 ms (mapped 80504.67 MiB from offset 5.09 MiB)
ds4: Metal mapped mmaped model as 1 overlapping shared buffers
ds4: memory: KV 0.37 GiB (raw 0.34 + compressed 0.03) + buffers 0.03 GiB + resident model 78.62 GiB = 79.02 GiB planned
ds4: memory detail: ctx=4096 prefill_cap=4096 raw_kv_rows=4096 compressed_kv_rows=1026 backend=metal
 
# AProjQ8
ds4: Metal model views created in 1.805 ms, residency requested in 501.077 ms, warmup 7.047 ms (mapped 82697.67 MiB from offset 5.09 MiB)
ds4: Metal mapped mmaped model as 1 overlapping shared buffers
ds4: memory: KV 0.37 GiB (raw 0.34 + compressed 0.03) + buffers 0.03 GiB + resident model 80.76 GiB = 81.16 GiB planned
ds4: memory detail: ctx=4096 prefill_cap=4096 raw_kv_rows=4096 compressed_kv_rows=1026 backend=metal

KV and buffer figures are identical between the two models. The difference is in the resident model: 78.62 GiB vs 80.76 GiB (+2.14 GiB for Q8), and 80504.67 MiB vs 82697.67 MiB mapped (+2193.00 MiB).

Comparison results:

AProjQ4 AProjQ8
prompt_tokens 30 30
check_after 64 64
prefix_tokens 94 94
vocab 129280 129280
max_abs 1.74527121 2.3202343
at token 91664 123327
live / fresh at that token 6.41346741 / 4.6681962 -26.3867664 / -24.0665321
rms 0.329337693 0.369370608

Top-token agreement, AProjQ4: top-1 agrees (Roman, live 55.6647 / fresh 56.3365). Ranks 1–7 identical and in the same order. Ranks 8–9 are the same two tokens in swapped order (Republican / Res). Rank 10 differs: live Ro@30.6297, fresh roman@30.7138.

live_top:  [email protected]  [email protected]  [email protected]  [email protected]  [email protected]
           [email protected]  [email protected]  [email protected]  [email protected]  [email protected]
fresh_top: [email protected]  [email protected]  [email protected]  [email protected]  [email protected]
           [email protected]  [email protected]  [email protected]  [email protected]  [email protected]

Top-token agreement, AProjQ8: top-1 agrees (Roman, live 57.0981 / fresh 56.0299). Ranks 1–7 identical and in the same order. Ranks 8–9 are the same two tokens in swapped order (Res / Ro). Rank 10 differs: live roman@30.9024, fresh Republican@30.6526.

live_top:  [email protected]  [email protected]  [email protected]  [email protected]  [email protected]
           [email protected]  [email protected]  [email protected]  [email protected]  [email protected]
fresh_top: [email protected]  [email protected]  [email protected]  [email protected]  [email protected]
           [email protected]  [email protected]  [email protected]  [email protected]  [email protected]

The two models order ranks 6–7 differently from each other: Q4 places Romans before Rom, Q8 places Rom before Romans.

Generated output. Both models produced coherent, on-topic prose at --temp 0 --nothink with no BOS loop, repetition or corruption. Of the 64 sampled tokens, 63 have identical IDs between the two models. The single difference is at index 60:

index AProjQ4 AProjQ8
60 id 56468, " BCE" id 16835, " BC"

Decoded (AProjQ4):

The history of Rome is a sprawling epic that spans over a thousand years, from a small pastoral settlement on the banks of the Tiber River to the center of a vast empire that stretched from Britain to Mesopotamia. Its story is traditionally divided into three major phases: the Roman Kingdom (753–509 BCE), the **…

AProjQ8 is identical except 753–509 BC.

3. Short resident benchmark

Startup, benchmark runs:

# AProjQ4
ds4: Metal model views created in 1.948 ms, residency requested in 505.270 ms, warmup 7.005 ms (mapped 80504.67 MiB from offset 5.09 MiB)
ds4: memory: KV 0.42 GiB (raw 0.36 + compressed 0.06) + buffers 0.07 GiB + resident model 78.62 GiB = 79.10 GiB planned
ds4: memory detail: ctx=8321 prefill_cap=4096 raw_kv_rows=4352 compressed_kv_rows=2082 backend=metal
ds4-bench: context buffers 497.92 MiB (ctx=8321, backend=metal, prefill_chunk=4096, raw_kv_rows=4352, compressed_kv_rows=2082)
 
# AProjQ8
ds4: Metal model views created in 1.751 ms, residency requested in 494.258 ms, warmup 7.027 ms (mapped 82697.67 MiB from offset 5.09 MiB)
ds4: memory: KV 0.42 GiB (raw 0.36 + compressed 0.06) + buffers 0.07 GiB + resident model 80.76 GiB = 81.25 GiB planned
ds4: memory detail: ctx=8321 prefill_cap=4096 raw_kv_rows=4352 compressed_kv_rows=2082 backend=metal
ds4-bench: context buffers 497.92 MiB (ctx=8321, backend=metal, prefill_chunk=4096, raw_kv_rows=4352, compressed_kv_rows=2082)

Context buffers are identical at 497.92 MiB for both models.

/tmp/pr621-metal-resident-q4.csv:

ctx_tokens,prefill_tokens,prefill_tps,gen_tokens,gen_tps,gen_first_ms,gen_steady_tokens,gen_steady_tps,kvcache_bytes
2048,2048,582.58,128,48.84,24.161,127,48.98,52184460
4096,2048,533.19,128,43.87,24.239,127,43.95,80373132
6144,2048,527.27,128,43.60,26.255,127,43.71,108561804
8192,2048,521.51,128,43.14,28.577,127,43.28,0

/tmp/pr621-metal-resident-q8.csv:

ctx_tokens,prefill_tokens,prefill_tps,gen_tokens,gen_tps,gen_first_ms,gen_steady_tokens,gen_steady_tps,kvcache_bytes
2048,2048,588.27,128,44.35,26.144,127,44.47,52184460
4096,2048,538.10,128,40.20,26.273,127,40.27,80373132
6144,2048,531.57,128,39.92,28.133,127,40.01,108561804
8192,2048,525.63,128,39.62,32.068,127,39.76,0

Side by side:

ctx prefill tok/s Q4 prefill tok/s Q8 Δ gen tok/s Q4 gen tok/s Q8 Δ steady gen Q4 steady gen Q8 first token ms Q4 first token ms Q8
2048 582.58 588.27 +0.98% 48.84 44.35 −9.19% 48.98 44.47 24.161 26.144
4096 533.19 538.10 +0.92% 43.87 40.20 −8.37% 43.95 40.27 24.239 26.273
6144 527.27 531.57 +0.82% 43.60 39.92 −8.44% 43.71 40.01 26.255 28.133
8192 521.51 525.63 +0.79% 43.14 39.62 −8.16% 43.28 39.76 28.577 32.068

Q8 prefill is 0.8–1.0% faster than Q4 at every context. Q8 generation is 8.2–9.2% slower at every context. Time to first token is 1.9–3.5 ms higher for Q8.

Decay from ctx 2048 to 8192 — Q4: prefill −10.48%, generation −11.67%. Q8: prefill −10.65%, generation −10.67%.

kvcache_bytes is byte-identical between the two models at every context. In both CSVs the first three rows increase by exactly 28,188,672 bytes per 2048-token step (52,184,460 → 80,373,132 → 108,561,804) and the 8192 row reports 0. Extrapolating the step size gives 136,750,476 for that row. The speed and memory figures for the 8192 row are in line with the preceding rows in both runs.

Startup / model-preparation time

Residency request, three runs per model:

AProjQ4 AProjQ8
--logprob-vectors 478.473 ms 489.954 ms
decode-consistency 482.455 ms 501.077 ms
benchmark 505.270 ms 494.258 ms
mean 488.73 ms 495.10 ms

Metal model view creation ranged 1.365–2.032 ms (Q4) and 1.751–1.961 ms (Q8). Warmup ranged 7.005–8.331 ms (Q4) and 7.027–7.047 ms (Q8). Both models mapped as 1 overlapping shared buffer in every run.

Crashes, BOS loops, corrupted output, unexpected slowdowns

None observed in any run on either model.

trueimage avatar Aug 22 '26 21:08 trueimage

Follow-up: interleaved Q8 → Q4 → Q4 → Q8 runs

Same PR binary (188f13c668e8ec271186e665fb4c0e7b54e5cd6b), same machine (Mac Studio, M3 Ultra, 512 GB, macOS 26.5.2), same context settings, same prompt as the earlier single runs. --ssd-streaming was not used and no SSD-streaming environment variables or cache options were set.

Sequence: r1-q8, r2-q4, r3-q4, r4-q8, each consisting of the decode-consistency run followed by the benchmark, with a 120 s idle gap between runs. Wall-clock span 22:15:09Z–22:23:18Z on 2026-08-22.

pmset -g therm before every run reported:

Note: No thermal warning level has been recorded
Note: No performance warning level has been recorded
Note: No CPU power status has been recorded

Per-run wall clock from the run markers: r1-q8 33 s, r2-q4 31 s, r3-q4 32 s, r4-q8 33 s.

Decode consistency — bit-identical across repeats

The two Q4 runs produced identical decode-consistency output, as did the two Q8 runs, and both pairs match the earlier single runs exactly:

r2-q4 r3-q4 r1-q8 r4-q8
max_abs 1.74527121 1.74527121 2.3202343 2.3202343
at token 91664 91664 123327 123327
live / fresh 6.41346741 / 4.6681962 6.41346741 / 4.6681962 −26.3867664 / −24.0665321 −26.3867664 / −24.0665321
rms 0.329337693 0.329337693 0.369370608 0.369370608

live_top and fresh_top are identical token-for-token and value-for-value within each pair. All 64 selected token IDs are identical within each pair. The Q4/Q8 output difference at index 60 reproduces in both repeats: Q4 emits id 56468 " BCE", Q8 emits id 16835 " BC"; the other 63 tokens match.

Benchmark — per-run CSVs

# r1-q8
ctx_tokens,prefill_tokens,prefill_tps,gen_tokens,gen_tps,gen_first_ms,gen_steady_tokens,gen_steady_tps,kvcache_bytes
2048,2048,584.76,128,44.53,26.037,127,44.65,52184460
4096,2048,535.45,128,40.25,26.343,127,40.32,80373132
6144,2048,531.79,128,39.83,28.345,127,39.92,108561804
8192,2048,525.69,128,39.51,32.123,127,39.64,0
 
# r2-q4
ctx_tokens,prefill_tokens,prefill_tps,gen_tokens,gen_tps,gen_first_ms,gen_steady_tokens,gen_steady_tps,kvcache_bytes
2048,2048,581.80,128,48.90,25.215,127,49.07,52184460
4096,2048,531.59,128,43.97,24.072,127,44.05,80373132
6144,2048,527.15,128,43.62,26.084,127,43.73,108561804
8192,2048,521.64,128,43.15,30.330,127,43.31,0
 
# r3-q4
ctx_tokens,prefill_tokens,prefill_tps,gen_tokens,gen_tps,gen_first_ms,gen_steady_tokens,gen_steady_tps,kvcache_bytes
2048,2048,581.07,128,48.93,25.510,127,49.11,52184460
4096,2048,531.56,128,43.97,23.040,127,44.04,80373132
6144,2048,526.40,128,43.56,25.787,127,43.67,108561804
8192,2048,521.56,128,43.03,30.337,127,43.19,0
 
# r4-q8
ctx_tokens,prefill_tokens,prefill_tps,gen_tokens,gen_tps,gen_first_ms,gen_steady_tokens,gen_steady_tps,kvcache_bytes
2048,2048,586.47,128,44.35,25.801,127,44.47,52184460
4096,2048,536.69,128,40.07,25.830,127,40.13,80373132
6144,2048,531.52,128,39.90,28.407,127,40.00,108561804
8192,2048,525.63,128,39.50,32.235,127,39.64,0

Q4 vs Q8, pair means

ctx prefill Q4 prefill Q8 Δ gen Q4 gen Q8 Δ steady gen Q4 steady gen Q8 Δ first tok Q4 first tok Q8 Δ
2048 581.43 585.62 +0.72% 48.91 44.44 −9.15% 49.09 44.56 −9.23% 25.36 25.92 +0.56 ms
4096 531.58 536.07 +0.85% 43.97 40.16 −8.66% 44.05 40.23 −8.67% 23.56 26.09 +2.53 ms
6144 526.77 531.65 +0.93% 43.59 39.86 −8.55% 43.70 39.96 −8.56% 25.94 28.38 +2.44 ms
8192 521.60 525.66 +0.78% 43.09 39.50 −8.32% 43.25 39.64 −8.35% 30.33 32.18 +1.85 ms

Q8 prefill is faster than Q4 by 0.72–0.93% at every context. Q8 generation is slower by 8.32–9.15% at every context. Q8 time-to-first-token is higher at every context.

Run-to-run spread within each model

Maximum absolute difference between the two runs of the same model, across the four contexts:

metric Q4 pair Q8 pair
prefill tok/s 0.14% 0.29%
gen tok/s 0.28% 0.45%
steady gen tok/s 0.28% 0.47%
first token ms 4.29% 1.95%

For prefill and generation the within-model spread is between 6× and 30× smaller than the Q4/Q8 gap at the same context. The gen_first_ms spread is the largest of the four metrics; the widest single case is Q4 at ctx 4096 (24.072 ms vs 23.040 ms).

Comparing the Q8 pair across the 7.5-minute span (r1 first, r4 last): prefill moved +0.29%, +0.23%, −0.05%, −0.01% at ctx 2048/4096/6144/8192, and steady generation moved −0.40%, −0.47%, +0.20%, 0.00%. The direction is not consistent across contexts.

Comparison against the earlier single runs

ctx 2048 ctx 4096 ctx 6144 ctx 8192
Q4 prefill, single run 582.58 533.19 527.27 521.51
Q4 prefill, interleaved mean 581.43 531.58 526.77 521.60
Q4 gen, single run 48.84 43.87 43.60 43.14
Q4 gen, interleaved mean 48.91 43.97 43.59 43.09
Q8 prefill, single run 588.27 538.10 531.57 525.63
Q8 prefill, interleaved mean 585.62 536.07 531.65 525.66
Q8 gen, single run 44.35 40.20 39.92 39.62
Q8 gen, interleaved mean 44.44 40.16 39.86 39.50

All differences between the single-run and interleaved-mean figures are under 0.45%.

kvcache_bytes

Byte-identical across all four interleaved runs and both models, and identical to the two earlier single runs. Every CSV shows 52,184,460 / 80,373,132 / 108,561,804 for ctx 2048/4096/6144 — increments of exactly 28,188,672 per step — and 0 for ctx 8192. Extrapolating the step gives 136,750,476. Speed and memory figures for the 8192 row are in line with the preceding rows in all six runs.

Memory and startup

Planned memory was identical run to run: Q4 79.02 GiB at ctx 4096 and 79.10 GiB in the benchmark; Q8 81.16 GiB and 81.25 GiB. Resident model 78.62 GiB (Q4) vs 80.76 GiB (Q8). Mapped 80504.67 MiB (Q4) vs 82697.67 MiB (Q8). Context buffers 497.92 MiB for both models in every benchmark run. Both models mapped as 1 overlapping shared buffer in all eight loads.

Residency request time per load:

run decode bench
r1-q8 500.636 ms 492.961 ms
r2-q4 481.147 ms 472.548 ms
r3-q4 490.427 ms 478.971 ms
r4-q8 500.468 ms 495.617 ms

Q8 mean 497.42 ms, Q4 mean 480.77 ms across these eight loads. The ranges overlap at one point (Q4 490.427 ms vs Q8 492.961 ms).

Warmup was 6.203–6.496 ms across all eight loads in this sequence, against 7.005–8.331 ms across the six loads in the earlier single runs. Metal model view creation was 1.406–2.168 ms here.

Crashes, BOS loops, corrupted output, unexpected slowdowns

None observed in any of the four runs.

trueimage avatar Aug 22 '26 22:08 trueimage

@trueimage Thanks for the run. I really appreciate the time you took to do it.

GiorgioOppo avatar Aug 23 '26 06:08 GiorgioOppo

@trueimage 48.84 in generation is very impressive

GiorgioOppo avatar Aug 23 '26 06:08 GiorgioOppo

@GiorgioOppo let me know anything else you might need my studio is sitting idle quite a bit.

trueimage avatar Aug 23 '26 17:08 trueimage

@trueimage Thanks a lot, if you could do a quick test after the merge with the recent antirez commits, feel free to report the data as a comment to pr #621

GiorgioOppo avatar Aug 23 '26 17:08 GiorgioOppo