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
5.7 KiB114 linesraw
1{
2 "label": "fresh-4096-run1",
3 "attempt": 1,
4 "epoch_start": 1790922999.8899884,
5 "epoch_end": 1790923018.5607207,
6 "kind": "fresh",
7 "target": 4096,
8 "run": 1,
9 "expected_prompt_tokens": 4096,
10 "needle": null,
11 "needle_depth_pct": null,
12 "max_tokens": 400,
13 "request_sha256": "9197391c910b38220fa1288b4a86c944668a41a4bae90e0c8d23d30f46b32775",
14 "client_ttft_s": 8.521665247157216,
15 "client_total_s": 18.670595599338412,
16 "finish_reason": "length",
17 "usage": {
18  "prompt_tokens": 4096,
19  "completion_tokens": 400,
20  "total_tokens": 4496,
21  "prompt_tokens_details": {
22   "cached_tokens": 0
23  }
24 },
25 "timings": {
26  "cache_n": 0,
27  "prompt_n": 4096,
28  "prompt_ms": 8468.8,
29  "prompt_per_token_ms": 2.068,
30  "prompt_per_second": 483.7,
31  "predicted_n": 400,
32  "predicted_ms": 10181.7,
33  "predicted_per_token_ms": 25.454,
34  "predicted_per_second": 39.3,
35  "draft_n": 366,
36  "draft_n_accepted": 240
37 },
38 "keepalives": 3,
39 "text": "The provided documentation details an experimental AMD HIP backend designed for Linux environments, specifically targeting RDNA3 and RDNA4 graphics architectures such as the RX 7900 series and the newer RX 9070 and Radeon AI PRO R9700 cards. This backend serves as an opt-in alternative to the default NVIDIA CUDA implementation, mapping CUDA-shaped runtime and BLAS calls to HIP and hipBLAS. It leverages specific hardware features like signed integer dot instructions for quantized kernels and wave32 shuffle operations, while providing ordered FP32 fallbacks for CUDA-only matrix instructions. The system supports both dequantization with hipBLAS GEMM and an optional HIP ggml MMQ path for prefill operations, with an additional calibrated hipBLASLt path available to accelerate dense projections. It is important to note that this implementation does not guarantee bit-identical model answers across different backends, and it currently excludes support for wave64 architectures, Windows HIP, and mixed AMD/NVIDIA execution environments.\n\nInstallation is primarily recommended through a setup script that automatically detects the GPU via the kernel’s KFD topology, excluding integrated Radeon GPUs from support. If a system ROCm 7 installation is not present or is outdated, the setup process installs ROCm into a local virtual environment using AMD’s TheRock wheels, which requires approximately ten gigabytes of storage and does not need sudo privileges. The engine is compiled locally for the specific card architecture, a process that takes ten to twenty minutes and requires a C++ compiler and Git. The setup also manages hipBLASLt tuning tables, using them only if the architecture and library version match exactly; otherwise, it falls back to plain hipBLAS, which results in slower prompt processing but identical answers. For systems with multiple supported cards, the setup can split model layers across them, though this requires a system ROCm 7 installation if the cards belong to different architecture families. Current limitations include CPU-only image encoding and",
40 "status_before": {
41  "busy": false,
42  "queued": 0,
43  "phase": "answering",
44  "prompt_tokens": 19,
45  "generated": 1,
46  "max_tokens": 8
47 },
48 "totals_before": 3,
49 "totals_after": 4,
50 "foreign_overlap": false,
51 "engine": {
52  "prompt_tokens": 4096,
53  "reused": 0,
54  "read": 4096,
55  "prompt_ms_log": 8469,
56  "prompt_tok_s_log": 483.7,
57  "generated": 400,
58  "decode_ms_log": 10182,
59  "decode_tok_s_log": 39.3,
60  "drafts_accepted": 240,
61  "drafts_proposed": 366,
62  "checkpoints": 1,
63  "cancelled": false,
64  "line": "strata serve: prompt 4096 tokens = 0 reused + 4096 read in 8469 ms (483.7 tok/s), 400 generated in 10182 ms (39.3 tok/s), drafts accepted 240 of 366, 1 checkpoints",
65  "hit_rate_pct": 50.2,
66  "hit_line": "strata serve: decode expert cache hit rate: 50.2% (112493 hits / 224302 lookups)",
67  "kv_vram_pct": 99.59,
68  "kv_block_reads": 3284400,
69  "kv_ram_mib": 54.3,
70  "kv_line": "strata serve: KV streaming: 99.59% of 3284400 block reads hit VRAM, 54.3 MiB read from RAM",
71  "suffix_windows": 7,
72  "suffix_accepted": 14,
73  "suffix_proposed": 21
74 },
75 "metrics_record": {
76  "projection": null,
77  "time": 1790922999.9056451,
78  "duration_s": 18.7,
79  "finish": "length",
80  "prompt_tokens": 4096,
81  "reused": 0,
82  "output_tokens": 400,
83  "engine_generated": 400,
84  "prompt_ms": 8468.8,
85  "decode_ms": 10181.7,
86  "decode_tok_s": 39.3,
87  "hit_rate": 0.502,
88  "ram_blobs": 0,
89  "file_blobs": 0,
90  "file_mb": 0.0
91 },
92 "engine_log": [
93  "strata verify: captured the 5-token window (upload no error, sync no error)",
94  "strata serve: prompt 4096 tokens = 0 reused + 4096 read in 8469 ms (483.7 tok/s), 400 generated in 10182 ms (39.3 tok/s), drafts accepted 240 of 366, 1 checkpoints",
95  "strata serve: decode expert cache hit rate: 50.2% (112493 hits / 224302 lookups)",
96  "strata serve: KV streaming: 99.59% of 3284400 block reads hit VRAM, 54.3 MiB read from RAM",
97  "strata serve: suffix drafts: 7 windows, 14 of 21 drafts accepted"
98 ],
99 "server_log": [
100  "[strata] reading the prompt: 3,072 of 4,096 tokens, 4 s so far",
101  "[strata] reading the prompt: 4,089 of 4,096 tokens, 8 s so far",
102  "[strata] answering: 14 of max 400 tokens, 21.7 tok/s, 9 s",
103  "[strata] answering: 50 of max 400 tokens, 30.2 tok/s, 10 s",
104  "[strata] answering: 86 of max 400 tokens, 31.6 tok/s, 11 s",
105  "[strata] answering: 127 of max 400 tokens, 33.7 tok/s, 12 s",
106  "[strata] answering: 174 of max 400 tokens, 36.2 tok/s, 13 s",
107  "[strata] answering: 216 of max 400 tokens, 36.9 tok/s, 14 s",
108  "[strata] answering: 261 of max 400 tokens, 37.8 tok/s, 15 s",
109  "[strata] answering: 301 of max 400 tokens, 38.0 tok/s, 16 s",
110  "[strata] answering: 348 of max 400 tokens, 38.9 tok/s, 17 s",
111  "[strata] answering: 394 of max 400 tokens, 39.4 tok/s, 19 s",
112  "[strata] done: 400 tokens in 19 s (39.4 tok/s) (length, cancel=False), expert cache 50.2% hit"
113 ]
114}