okami.mom/strata

git clone https://git.nkp.pet/okami.mom/strata

homeofebench: community results, RTX 2080 Ti 11 GB + Threadripper 3960X, IQ3_S at 262K with KV streaming (#469)707fd49eb

main
6.2 KiB122 linesraw
1{
2 "label": "fresh-32768-run3",
3 "attempt": 1,
4 "epoch_start": 1790923207.3132477,
5 "epoch_end": 1790923269.4979405,
6 "kind": "fresh",
7 "target": 32768,
8 "run": 3,
9 "expected_prompt_tokens": 32768,
10 "needle": null,
11 "needle_depth_pct": null,
12 "max_tokens": 400,
13 "request_sha256": "11f1aae5ef0ddff8c8d8263b83e6c63ac8d9f94948c4bb75fe1169d6ac44ab22",
14 "client_ttft_s": 51.61191347008571,
15 "client_total_s": 62.18413063092157,
16 "finish_reason": "length",
17 "usage": {
18  "prompt_tokens": 32768,
19  "completion_tokens": 400,
20  "total_tokens": 33168,
21  "prompt_tokens_details": {
22   "cached_tokens": 0
23  }
24 },
25 "timings": {
26  "cache_n": 0,
27  "prompt_n": 32768,
28  "prompt_ms": 51452.3,
29  "prompt_per_token_ms": 1.57,
30  "prompt_per_second": 636.9,
31  "predicted_n": 400,
32  "predicted_ms": 10605.7,
33  "predicted_per_token_ms": 26.514,
34  "predicted_per_second": 37.7,
35  "draft_n": 355,
36  "draft_n_accepted": 226
37 },
38 "keepalives": 12,
39 "text": "The provided documentation details the experimental AMD HIP backend for the Strata software, which enables high-performance inference on specific AMD Radeon graphics cards on Linux. This backend is opt-in and primarily targets RDNA3 and RDNA4 architectures, including the RX 7900 XT, RX 9070 series, and the Radeon AI PRO R9700, while also supporting RDNA2 cards like the RX 6800 and 6900 series through community validation. The implementation maps CUDA-shaped runtime and BLAS calls to HIP and hipBLAS, utilizing RDNA-specific signed integer dot instructions for quantized kernels and wave32 shuffle operations. While it offers an ordered FP32 fallback for CUDA-only matrix instructions, it does not claim bit-identical results across different backends. Installation is streamlined via a setup script that detects the GPU through kernel topology and manages ROCm dependencies, either using a system installation or installing pinned TheRock wheels into a virtual environment. The engine is compiled locally for the specific GPU architecture, requiring a C++ compiler and Git, and supports multi-GPU configurations by splitting model layers across cards, though this is only beneficial when a single card cannot hold the model’s expert weights.\n\nPerformance evidence for the RX 7900 XTX demonstrates significant improvements in prompt processing speed, with fresh prompts achieving nearly double the throughput of previous AMD runtimes and reduced wall time for requests. These measurements were conducted on a dedicated idle server with specific tuning tables for hipBLASLt, which accelerates dense projections. However, the documentation emphasizes that these are throughput measurements rather than quality benchmarks, and end-to-end coding quality or long-context behavior beyond 16K tokens remains unvalidated for some configurations. For RDNA4 cards, such as the RX 9070 XT and R9700, validation includes successful end-to-end runs with coherent answers and passing server smoke tests. Speed switches like the fast Mo",
40 "status_before": {
41  "busy": false,
42  "queued": 0,
43  "phase": "answering",
44  "prompt_tokens": 32768,
45  "generated": 400,
46  "max_tokens": 400
47 },
48 "totals_before": 8,
49 "totals_after": 9,
50 "foreign_overlap": false,
51 "engine": {
52  "prompt_tokens": 32768,
53  "reused": 0,
54  "read": 32768,
55  "prompt_ms_log": 51452,
56  "prompt_tok_s_log": 636.9,
57  "generated": 400,
58  "decode_ms_log": 10606,
59  "decode_tok_s_log": 37.7,
60  "drafts_accepted": 226,
61  "drafts_proposed": 355,
62  "checkpoints": 2,
63  "cancelled": false,
64  "line": "strata serve: prompt 32768 tokens = 0 reused + 32768 read in 51452 ms (636.9 tok/s), 400 generated in 10606 ms (37.7 tok/s), drafts accepted 226 of 355, 2 checkpoints",
65  "hit_rate_pct": 52.9,
66  "hit_line": "strata serve: decode expert cache hit rate: 52.9% (120559 hits / 228070 lookups)",
67  "kv_vram_pct": 97.69,
68  "kv_block_reads": 3315072,
69  "kv_ram_mib": 308.3,
70  "kv_line": "strata serve: KV streaming: 97.69% of 3315072 block reads hit VRAM, 308.3 MiB read from RAM",
71  "suffix_windows": 8,
72  "suffix_accepted": 11,
73  "suffix_proposed": 18
74 },
75 "metrics_record": {
76  "projection": null,
77  "time": 1790923207.4277713,
78  "duration_s": 62.1,
79  "finish": "length",
80  "prompt_tokens": 32768,
81  "reused": 0,
82  "output_tokens": 400,
83  "engine_generated": 400,
84  "prompt_ms": 51452.3,
85  "decode_ms": 10605.7,
86  "decode_tok_s": 37.7,
87  "hit_rate": 0.529,
88  "ram_blobs": 0,
89  "file_blobs": 0,
90  "file_mb": 0.0
91 },
92 "engine_log": [
93  "strata serve: prompt 32768 tokens = 0 reused + 32768 read in 51452 ms (636.9 tok/s), 400 generated in 10606 ms (37.7 tok/s), drafts accepted 226 of 355, 2 checkpoints",
94  "strata serve: decode expert cache hit rate: 52.9% (120559 hits / 228070 lookups)",
95  "strata serve: KV streaming: 97.69% of 3315072 block reads hit VRAM, 308.3 MiB read from RAM",
96  "strata serve: suffix drafts: 8 windows, 11 of 18 drafts accepted"
97 ],
98 "server_log": [
99  "[strata] reading the prompt: 3,072 of 32,768 tokens, 4 s so far",
100  "[strata] reading the prompt: 6,144 of 32,768 tokens, 9 s so far",
101  "[strata] reading the prompt: 9,216 of 32,768 tokens, 13 s so far",
102  "[strata] reading the prompt: 12,288 of 32,768 tokens, 18 s so far",
103  "[strata] reading the prompt: 15,360 of 32,768 tokens, 23 s so far",
104  "[strata] reading the prompt: 18,432 of 32,768 tokens, 27 s so far",
105  "[strata] reading the prompt: 21,504 of 32,768 tokens, 32 s so far",
106  "[strata] reading the prompt: 24,576 of 32,768 tokens, 37 s so far",
107  "[strata] reading the prompt: 27,648 of 32,768 tokens, 42 s so far",
108  "[strata] reading the prompt: 30,720 of 32,768 tokens, 47 s so far",
109  "[strata] reading the prompt: 32,761 of 32,768 tokens, 51 s so far",
110  "[strata] answering: 19 of max 400 tokens, 30.5 tok/s, 52 s",
111  "[strata] answering: 57 of max 400 tokens, 34.5 tok/s, 53 s",
112  "[strata] answering: 99 of max 400 tokens, 37.1 tok/s, 54 s",
113  "[strata] answering: 142 of max 400 tokens, 38.2 tok/s, 55 s",
114  "[strata] answering: 183 of max 400 tokens, 38.4 tok/s, 56 s",
115  "[strata] answering: 229 of max 400 tokens, 39.4 tok/s, 57 s",
116  "[strata] answering: 270 of max 400 tokens, 39.4 tok/s, 58 s",
117  "[strata] answering: 307 of max 400 tokens, 38.7 tok/s, 59 s",
118  "[strata] answering: 343 of max 400 tokens, 38.2 tok/s, 60 s",
119  "[strata] answering: 381 of max 400 tokens, 38.2 tok/s, 61 s",
120  "[strata] done: 400 tokens in 62 s (37.8 tok/s) (length, cancel=False), expert cache 52.9% hit"
121 ]
122}