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
8.6 KiB154 linesraw
1{
2 "label": "fresh-128000-run3",
3 "attempt": 1,
4 "epoch_start": 1790923785.5560114,
5 "epoch_end": 1790924023.8725483,
6 "kind": "fresh",
7 "target": 128000,
8 "run": 3,
9 "expected_prompt_tokens": 128000,
10 "needle": "lantern-falcon-213",
11 "needle_depth_pct": 40,
12 "max_tokens": 400,
13 "request_sha256": "84bbbf5a56b3964eedf09e358e52a4b3afa09a7f111ad56d0fd1d03a47a93b98",
14 "client_ttft_s": 226.6725760512054,
15 "client_total_s": 238.31539464183152,
16 "finish_reason": "length",
17 "usage": {
18  "prompt_tokens": 128000,
19  "completion_tokens": 400,
20  "total_tokens": 128400,
21  "prompt_tokens_details": {
22   "cached_tokens": 0
23  }
24 },
25 "timings": {
26  "cache_n": 0,
27  "prompt_n": 128000,
28  "prompt_ms": 226136.6,
29  "prompt_per_token_ms": 1.767,
30  "prompt_per_second": 566.0,
31  "predicted_n": 400,
32  "predicted_ms": 11678.6,
33  "predicted_per_token_ms": 29.197,
34  "predicted_per_second": 34.3,
35  "draft_n": 320,
36  "draft_n_accepted": 187
37 },
38 "keepalives": 43,
39 "text": "The provided documentation details the architecture, configuration, and performance characteristics of Strata, a specialized inference engine designed to run large Mixture-of-Experts models, specifically the Qwen3.8-Flash-Next family, on consumer-grade hardware. The system relies on a sophisticated multi-tier memory hierarchy to manage the massive weight matrices that exceed the capacity of standard GPU VRAM. The core strategy involves keeping the most frequently accessed experts in GPU memory, less frequent experts in system RAM, and the remainder on high-speed SSD storage. This tiered approach allows the engine to maintain high throughput by overlapping CPU computation for RAM-resident experts with GPU computation for VRAM-resident experts, while streaming data from disk as needed. The engine supports various quantization formats, including Q2_0, IQ2_XS, and IQ3_XXS, with specific optimizations for native expert packing and compatibility modes for third-party quantizations like Unsloth’s UD-Q4_K_XL and OrcaRouter’s uncensored variants.\n\nA significant portion of the documentation focuses on experimental support for AMD GPUs via the HIP backend, targeting RDNA2, RDNA3, and RDNA4 architectures. This backend maps CUDA-shaped runtime calls to HIP and hipBLAS, utilizing specific hardware instructions like signed integer dot products for quantized kernels. While the NVIDIA CUDA backend remains the default and most validated path, the AMD implementation has been tested on cards such as the RX 7900 XT, RX 9070 XT, and Radeon AI PRO R9700. The documentation notes that while basic functionality and speed are comparable to NVIDIA counterparts on similar hardware, certain features like vision encoding and specific tuning tables are not yet fully supported or validated for AMD. The setup process for AMD cards involves automatic detection of the GPU architecture and compilation of the engine for the specific graphics card, with optional tuning tables for hipBLASLt to accelerate dense matrix products.\n\nThe engine also supports multi-GPU configurations",
40 "status_before": {
41  "busy": false,
42  "queued": 0,
43  "phase": "answering",
44  "prompt_tokens": 128000,
45  "generated": 400,
46  "max_tokens": 400
47 },
48 "totals_before": 11,
49 "totals_after": 12,
50 "foreign_overlap": false,
51 "engine": {
52  "prompt_tokens": 128000,
53  "reused": 0,
54  "read": 128000,
55  "prompt_ms_log": 226137,
56  "prompt_tok_s_log": 566.0,
57  "generated": 400,
58  "decode_ms_log": 11679,
59  "decode_tok_s_log": 34.3,
60  "drafts_accepted": 187,
61  "drafts_proposed": 320,
62  "checkpoints": 6,
63  "cancelled": false,
64  "line": "strata serve: prompt 128000 tokens = 0 reused + 128000 read in 226137 ms (566.0 tok/s), 400 generated in 11679 ms (34.3 tok/s), drafts accepted 187 of 320, 6 checkpoints",
65  "hit_rate_pct": 55.2,
66  "hit_line": "strata serve: decode expert cache hit rate: 55.2% (127211 hits / 230598 lookups)",
67  "kv_vram_pct": 95.54,
68  "kv_block_reads": 3327588,
69  "kv_ram_mib": 598.4,
70  "kv_line": "strata serve: KV streaming: 95.54% of 3327588 block reads hit VRAM, 598.4 MiB read from RAM",
71  "suffix_windows": 12,
72  "suffix_accepted": 16,
73  "suffix_proposed": 19
74 },
75 "metrics_record": {
76  "projection": null,
77  "time": 1790923786.0184796,
78  "duration_s": 237.9,
79  "finish": "length",
80  "prompt_tokens": 128000,
81  "reused": 0,
82  "output_tokens": 400,
83  "engine_generated": 400,
84  "prompt_ms": 226136.6,
85  "decode_ms": 11678.6,
86  "decode_tok_s": 34.3,
87  "hit_rate": 0.552,
88  "ram_blobs": 0,
89  "file_blobs": 0,
90  "file_mb": 0.0
91 },
92 "engine_log": [
93  "strata serve: prompt 128000 tokens = 0 reused + 128000 read in 226137 ms (566.0 tok/s), 400 generated in 11679 ms (34.3 tok/s), drafts accepted 187 of 320, 6 checkpoints",
94  "strata serve: decode expert cache hit rate: 55.2% (127211 hits / 230598 lookups)",
95  "strata serve: KV streaming: 95.54% of 3327588 block reads hit VRAM, 598.4 MiB read from RAM",
96  "strata serve: suffix drafts: 12 windows, 16 of 19 drafts accepted"
97 ],
98 "server_log": [
99  "[strata] reading the prompt: 3,072 of 128,000 tokens, 4 s so far",
100  "[strata] reading the prompt: 6,144 of 128,000 tokens, 9 s so far",
101  "[strata] reading the prompt: 9,216 of 128,000 tokens, 13 s so far",
102  "[strata] reading the prompt: 12,288 of 128,000 tokens, 17 s so far",
103  "[strata] reading the prompt: 15,360 of 128,000 tokens, 22 s so far",
104  "[strata] reading the prompt: 18,432 of 128,000 tokens, 27 s so far",
105  "[strata] reading the prompt: 21,504 of 128,000 tokens, 31 s so far",
106  "[strata] reading the prompt: 24,576 of 128,000 tokens, 36 s so far",
107  "[strata] reading the prompt: 27,648 of 128,000 tokens, 40 s so far",
108  "[strata] reading the prompt: 30,720 of 128,000 tokens, 45 s so far",
109  "[strata] reading the prompt: 33,792 of 128,000 tokens, 50 s so far",
110  "[strata] reading the prompt: 36,864 of 128,000 tokens, 55 s so far",
111  "[strata] reading the prompt: 39,936 of 128,000 tokens, 60 s so far",
112  "[strata] reading the prompt: 43,008 of 128,000 tokens, 65 s so far",
113  "[strata] reading the prompt: 46,080 of 128,000 tokens, 70 s so far",
114  "[strata] reading the prompt: 49,152 of 128,000 tokens, 75 s so far",
115  "[strata] reading the prompt: 52,224 of 128,000 tokens, 80 s so far",
116  "[strata] reading the prompt: 55,296 of 128,000 tokens, 85 s so far",
117  "[strata] reading the prompt: 58,368 of 128,000 tokens, 90 s so far",
118  "[strata] reading the prompt: 61,440 of 128,000 tokens, 95 s so far",
119  "[strata] reading the prompt: 64,512 of 128,000 tokens, 101 s so far",
120  "[strata] reading the prompt: 67,584 of 128,000 tokens, 106 s so far",
121  "[strata] reading the prompt: 70,656 of 128,000 tokens, 111 s so far",
122  "[strata] reading the prompt: 73,728 of 128,000 tokens, 117 s so far",
123  "[strata] reading the prompt: 76,800 of 128,000 tokens, 122 s so far",
124  "[strata] reading the prompt: 79,872 of 128,000 tokens, 128 s so far",
125  "[strata] reading the prompt: 82,944 of 128,000 tokens, 134 s so far",
126  "[strata] reading the prompt: 86,016 of 128,000 tokens, 139 s so far",
127  "[strata] reading the prompt: 89,088 of 128,000 tokens, 145 s so far",
128  "[strata] reading the prompt: 92,160 of 128,000 tokens, 151 s so far",
129  "[strata] reading the prompt: 95,232 of 128,000 tokens, 157 s so far",
130  "[strata] reading the prompt: 98,304 of 128,000 tokens, 163 s so far",
131  "[strata] reading the prompt: 101,376 of 128,000 tokens, 169 s so far",
132  "[strata] reading the prompt: 104,448 of 128,000 tokens, 176 s so far",
133  "[strata] reading the prompt: 107,520 of 128,000 tokens, 182 s so far",
134  "[strata] reading the prompt: 110,592 of 128,000 tokens, 188 s so far",
135  "[strata] reading the prompt: 113,664 of 128,000 tokens, 195 s so far",
136  "[strata] reading the prompt: 116,736 of 128,000 tokens, 201 s so far",
137  "[strata] reading the prompt: 119,808 of 128,000 tokens, 207 s so far",
138  "[strata] reading the prompt: 122,880 of 128,000 tokens, 214 s so far",
139  "[strata] reading the prompt: 125,952 of 128,000 tokens, 220 s so far",
140  "[strata] reading the prompt: 127,993 of 128,000 tokens, 226 s so far",
141  "[strata] answering: 19 of max 400 tokens, 33.2 tok/s, 227 s",
142  "[strata] answering: 52 of max 400 tokens, 32.5 tok/s, 228 s",
143  "[strata] answering: 86 of max 400 tokens, 33.0 tok/s, 229 s",
144  "[strata] answering: 119 of max 400 tokens, 32.9 tok/s, 230 s",
145  "[strata] answering: 152 of max 400 tokens, 32.7 tok/s, 231 s",
146  "[strata] answering: 188 of max 400 tokens, 33.0 tok/s, 232 s",
147  "[strata] answering: 227 of max 400 tokens, 33.6 tok/s, 233 s",
148  "[strata] answering: 268 of max 400 tokens, 34.4 tok/s, 234 s",
149  "[strata] answering: 301 of max 400 tokens, 34.3 tok/s, 235 s",
150  "[strata] answering: 331 of max 400 tokens, 33.8 tok/s, 236 s",
151  "[strata] answering: 367 of max 400 tokens, 34.0 tok/s, 237 s",
152  "[strata] done: 400 tokens in 238 s (34.4 tok/s) (length, cancel=False), expert cache 55.2% hit"
153 ]
154}