Skip to content

Latest commit

 

History

History
138 lines (101 loc) · 7.25 KB

RESULTS.md

File metadata and controls

138 lines (101 loc) · 7.25 KB

Results

Measured on the two boxes described in the README, 18–22 October 2026. Nothing here is projected.

How we measure

  • Prompt set: the same eight categories and prompts as the published two-DGX-Spark run: coding, json, narrative, prose, math, reasoning, summary and format.
  • Settings: temperature 0, thinking off, every prompt cold, five repetitions, and the quiet windows on both boxes.
  • One chat (decode): completion tokens minus one, divided by the time from the first content event to the end. We report the mean of the eight category medians.
  • Prompt reading: one output token, the whole request timed.
  • Several chats: the same prompts sent as 1 to 8 conversations at once. The total tokens per second is the mean of the eight category medians.
  • Raw data: every run writes a manifest with the commit, binaries, kit objects, configuration, toolchain and the prompt token ids.

One chat

One chat

Engine Date Tokens per second Against 2 × DGX Spark
DwarfStar (kyuz0's ROCm port of ds4), Q2 GGUF 18 Oct 13.3
This port, first working run 19 Oct 20.6
This port, two-cable build 20 Oct 52.84 72.3%

DwarfStar reaches 14.7 tok/s with the CPU set to its performance setting. The boxes serve at the default balanced power setting.

Prompt reading

Prompt reading

Engine Prompt Tokens per second Against 2 × DGX Spark
DwarfStar 8,159 tokens ~268–285
This port, first run 8,165 tokens 829
This port now 2,952 tokens 1,413.8 73.6% (Spark 1,921.6)
This port now 11,594 tokens 1,543.4 70.8% (Spark 2,180.2)

Several chats at once

Several chats at once

Chats at once 1 2 3 4 5 6 7 8
Total tokens per second 52.84 72.26 84.15 88.51 91.04 95.07 101.01 107.96

Drafting is on. From six chats at once, the drafting switch stops drafting, which gives the 7- and 8-chat numbers their lift (+5.5% and +10.4%). Spark's published run has single batches for 1–4 chats and no data for 5–8, so we only compare one chat and prompt reading against it.

Quality

The same weights give the same quality as the Spark build: MMLU-Pro 84.8% and HumanEval+ 92%. The output checks (tools/dsv41-hip/gates.json, qualify.sh) hold the logits hashes and decode receipts each build must match. Drafts on gives exactly the same text as drafts off.

Speed at long context

Measured 5 November 2026 on the deployed build: one chat, the same coding task every time with real code in front of it as context (this repository's own Zig sources, a different slice for each request so nothing is cached), 400 tokens written, two runs at each length, drafting on and off. Writing speed is in tokens per second; prompt reading is the prompt's tokens over the time to the first token.

Context Drafting off Drafting on Prompt reading
the task alone (~50 tokens) 32.7 79.1
2K 32.3 72.9 1,171
4K 32.4 77.0 1,281
8K 32.4 72.9 1,344
16K 31.8 74.7 1,369
32K 31.5 75.7 1,377
48K 31.5 73.7 1,379
  • With drafting off, writing loses about 4% from the task alone to 48K tokens of context.
  • With drafting on, a round takes 59-66 ms at every length and keeps 4.4-4.9 tokens. What moves the drafted number is how many drafted tokens are kept, and that depends on the text being written, not on the length of the context.
  • This is one coding task, which drafts well, so its drafted speed is above the eight-category 52.8.

To measure your own pair: python3 tools/dsv41-hip/ctx_sweep.py http://127.0.0.1:18080 dsv41 zig/src 0,2000,4000,8000,16000,32000,48000 2 sweep.json RUN/rank0.log (the log adds rounds and accepted drafts).

Long context

Context windows from 16K up to 1M tokens. At 1M, a needle test found all three needles (run on a fine-tune with the same layout). The first read of a 1M prompt takes 948 s; asking again with the prompt cached takes 2.3 s.

One 1M conversation on the official weights (6 November 2026, drafting on): a 1,030,061-token prompt of code read in 962 s (1,071 tok/s), and the fact hidden 44% of the way in came back. The next turn resumed from the kept state and its first token came 3.9 s later. The two short replies (54 and 78 tokens) wrote at 40.1 and 48.9 tok/s; at 1M a drafted round takes about 100 ms, against about 63 ms at short context.

All chats share one context window, and its length is capped by the RoPE tables' rows, so a 1M window holds one 1M conversation, or several shorter ones whose lengths add up to it.

Real agent work

Two days of an agent harness at work, 12 and 13 November 2026, on three pairs serving the same model: the Ryzen AI Halo pair above and two Bosgame M5 pairs (BOSGAME-M5.md). Most requests had thinking on. The numbers come from each finished request's own counts and timings: requests with at least 64 reply tokens, health probes left out.

The pairs weren't set up alike, so read the columns as what each pair did, not as a hardware comparison:

  • Halo pair: its performance power profile (about 120–130 W while busy), one request at a time.
  • M5 pairs A and B: the stock balanced mode (85 W), up to four requests at a time.

Requests alone on their pair (no other counted request overlapped it in time), decode speed in tokens per second, median, with the number of requests in brackets:

Prompt Halo pair M5 pair A M5 pair B
under 20K tokens 48.2 (118) 54.5 (47) 49.7 (37)
20K–40K 53.1 (22) 48.3 (175) 52.1 (78)
40K–70K 52.4 (119) 50.0 (311) 43.3 (27)
70K–100K 53.9 (698) 51.2 (64) 39.7 (10)
100K–150K 54.2 (347) 51.6 (28)
  • On the Halo pair, decode speed barely changes from 20K to 150K tokens of prompt (52.4–54.2 tok/s).
  • Pair B's samples are small, and its USB4 links changed during these two days.

Requests sharing a pair. On the M5 pairs, requests that ran alongside others decoded at a median of 21.2 tok/s each on pair A (1,379 requests) and 23.5 on pair B (1,539).

Prompt reading (requests with more than 8K prompt tokens not in the cache), median: 1,250 tok/s on the Halo pair (23 requests), 1,128 on M5 pair A (223) and 1,118 on M5 pair B (87).

A cold read holds up the whole pair. A prompt is read whole before the pair's next decode step, so while one request reads a long prompt that isn't cached, the other requests on the pair wait. In a busy five minutes on 13 November, these reads took 47% of an M5 pair's time. A 24K-token read took about 25 s, and an agent's steps that landed in such reads decoded at about 3 tok/s. How a harness keeps its prompts cached: api.md.

After the harness kept its prompts cached (a six-agent run on the afternoon of 13 November, following api.md): cold reads took 6–7% of each M5 pair's time instead of 47%, and requests sharing an M5 pair decoded at a median of 27.3 and 27.6 tok/s each, against 21.2 and 23.5 before.

The older, more detailed engineering results (19 Oct, per-category tables) are in tools/dsv41-hip/RESULTS.md.