{ "label": "fresh-4096-run3", "attempt": 1, "epoch_start": 1790923045.9745162, "epoch_end": 1790923064.3137882, "kind": "fresh", "target": 4096, "run": 3, "expected_prompt_tokens": 4096, "needle": null, "needle_depth_pct": null, "max_tokens": 400, "request_sha256": "6ca43eb99066bd23d6b542bc9d55d2e5233adb1a3bbe545455dfb0e7f139465d", "client_ttft_s": 8.268220596946776, "client_total_s": 18.339178572874516, "finish_reason": "length", "usage": { "prompt_tokens": 4096, "completion_tokens": 400, "total_tokens": 4496, "prompt_tokens_details": { "cached_tokens": 0 } }, "timings": { "cache_n": 0, "prompt_n": 4096, "prompt_ms": 8215.5, "prompt_per_token_ms": 2.006, "prompt_per_second": 498.6, "predicted_n": 400, "predicted_ms": 10103.9, "predicted_per_token_ms": 25.26, "predicted_per_second": 39.6, "draft_n": 365, "draft_n_accepted": 227 }, "keepalives": 3, "text": "The provided documentation details an experimental AMD HIP backend for the Strata software, designed to enable high-performance inference on specific AMD Radeon graphics cards under Linux. This contribution is currently opt-in, meaning the default installation and build processes still prioritize NVIDIA CUDA, but users with supported AMD hardware can explicitly select the HIP backend. The supported architectures include RDNA3 cards such as the RX 7900 XT and XTX, as well as the newer RDNA4 cards like the RX 9070 series and the Radeon AI PRO R9700. Additionally, the RX 7800 XT and RX 9060 XT have been validated by community members, while RDNA2 cards like the RX 6800 and 6900 series are reported to work but remain unvalidated by the core maintainers. The backend functions by mapping CUDA-shaped runtime and BLAS calls to their HIP and hipBLAS equivalents, leveraging specific hardware instructions like signed integer dot products for quantized kernels and wave32 shuffle operations. It is important to note that this implementation does not guarantee bit-identical results across different backends, and certain features such as Windows support, mixed AMD/NVIDIA execution, and wave64 architectures are currently outside the scope of this contribution.\n\nFor users seeking the easiest path to installation, the documentation recommends using the setup script with the HIP backend flag. This process automatically detects the GPU via the kernel’s KFD topology and handles the necessary dependencies. If a compatible system ROCm installation is not found, the setup script installs a pinned version of ROCm into a local virtual environment using AMD’s TheRock wheels, avoiding the need for sudo privileges. The engine is then compiled locally for the specific architecture of the user’s card, a process that takes ten to twenty minutes. The setup also manages hipBLASLt tuning tables, which accelerate dense projections, but only if the installed hipBLASLt version matches the architecture-specific table", "status_before": { "busy": false, "queued": 0, "phase": "answering", "prompt_tokens": 4096, "generated": 400, "max_tokens": 400 }, "totals_before": 5, "totals_after": 6, "foreign_overlap": false, "engine": { "prompt_tokens": 4096, "reused": 0, "read": 4096, "prompt_ms_log": 8215, "prompt_tok_s_log": 498.6, "generated": 400, "decode_ms_log": 10104, "decode_tok_s_log": 39.6, "drafts_accepted": 227, "drafts_proposed": 365, "checkpoints": 1, "cancelled": false, "line": "strata serve: prompt 4096 tokens = 0 reused + 4096 read in 8215 ms (498.6 tok/s), 400 generated in 10104 ms (39.6 tok/s), drafts accepted 227 of 365, 1 checkpoints", "hit_rate_pct": 55.1, "hit_line": "strata serve: decode expert cache hit rate: 55.1% (127845 hits / 232219 lookups)", "kv_vram_pct": 99.6, "kv_block_reads": 3358284, "kv_ram_mib": 54.2, "kv_line": "strata serve: KV streaming: 99.60% of 3358284 block reads hit VRAM, 54.2 MiB read from RAM", "suffix_windows": 10, "suffix_accepted": 17, "suffix_proposed": 20 }, "metrics_record": { "projection": null, "time": 1790923045.989571, "duration_s": 18.3, "finish": "length", "prompt_tokens": 4096, "reused": 0, "output_tokens": 400, "engine_generated": 400, "prompt_ms": 8215.5, "decode_ms": 10103.9, "decode_tok_s": 39.6, "hit_rate": 0.551, "ram_blobs": 0, "file_blobs": 0, "file_mb": 0.0 }, "engine_log": [ "strata serve: prompt 4096 tokens = 0 reused + 4096 read in 8215 ms (498.6 tok/s), 400 generated in 10104 ms (39.6 tok/s), drafts accepted 227 of 365, 1 checkpoints", "strata serve: decode expert cache hit rate: 55.1% (127845 hits / 232219 lookups)", "strata serve: KV streaming: 99.60% of 3358284 block reads hit VRAM, 54.2 MiB read from RAM", "strata serve: suffix drafts: 10 windows, 17 of 20 drafts accepted" ], "server_log": [ "[strata] reading the prompt: 3,072 of 4,096 tokens, 4 s so far", "[strata] reading the prompt: 4,089 of 4,096 tokens, 8 s so far", "[strata] answering: 22 of max 400 tokens, 35.6 tok/s, 9 s", "[strata] answering: 58 of max 400 tokens, 34.9 tok/s, 10 s", "[strata] answering: 101 of max 400 tokens, 37.2 tok/s, 11 s", "[strata] answering: 145 of max 400 tokens, 38.9 tok/s, 12 s", "[strata] answering: 190 of max 400 tokens, 39.8 tok/s, 13 s", "[strata] answering: 236 of max 400 tokens, 40.5 tok/s, 14 s", "[strata] answering: 271 of max 400 tokens, 39.5 tok/s, 15 s", "[strata] answering: 309 of max 400 tokens, 39.2 tok/s, 16 s", "[strata] answering: 347 of max 400 tokens, 39.0 tok/s, 17 s", "[strata] answering: 392 of max 400 tokens, 39.4 tok/s, 18 s", "[strata] done: 400 tokens in 18 s (39.7 tok/s) (length, cancel=False), expert cache 55.1% hit" ] }