Skip to content

Qwen3.8-Flash-Next on any consumer hardware: one-click install for Windows / Linux. Strata inference engine, OpenAI/Anthropic API on localhost, optional image input.

C++
5.5 KB
Raw Blame
{
 "label": "fresh-4096-run2",
 "attempt": 1,
 "epoch_start": 1790923023.2805336,
 "epoch_end": 1790923041.2528577,
 "kind": "fresh",
 "target": 4096,
 "run": 2,
 "expected_prompt_tokens": 4096,
 "needle": null,
 "needle_depth_pct": null,
 "max_tokens": 400,
 "request_sha256": "4110520fc2dae2307b538938f5a000854995aa083b202896a9b491b368b08a01",
 "client_ttft_s": 8.295667034108192,
 "client_total_s": 17.97218555212021,
 "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": 8242.4,
  "prompt_per_token_ms": 2.012,
  "prompt_per_second": 496.9,
  "predicted_n": 400,
  "predicted_ms": 9710.5,
  "predicted_per_token_ms": 24.276,
  "predicted_per_second": 41.2,
  "draft_n": 349,
  "draft_n_accepted": 234
 },
 "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 NVIDIA installer and CUDA build remain the default options for users. The backend specifically targets RDNA3 and RDNA4 architectures, including the RX 7900 XT and XTX, as well as the newer RX 9070 series and Radeon AI PRO R9700. While the RX 7800 XT and RX 9060 XT have been validated by community owners, support for the older RDNA2 series, such as the RX 6800 and 6900, is reported as functional but not yet officially validated by the maintainers. The implementation maps CUDA-shaped runtime and BLAS calls to HIP and hipBLAS, utilizing specific hardware instructions like signed integer dot operations for quantized kernels and wave32 shuffle operations. It is important to note that this backend does not guarantee bit-identical model answers across different hardware backends, and certain features like image processing via GPU encoders are currently limited to CPU execution.\n\nInstallation is recommended through a setup script that automatically detects the graphics card using the kernel’s KFD topology. If a system ROCm installation is not present or is outdated, the setup process can install a pinned version of ROCm from AMD’s TheRock wheels directly into a local virtual environment, avoiding the need for sudo privileges. The engine is compiled locally for the specific architecture of the user’s card, a process that takes ten to twenty minutes and requires a C++ compiler and Git. For users with multiple supported AMD cards, the setup allows for splitting model layers across devices, although this configuration is only beneficial when a single card cannot hold the model’s experts. The documentation emphasizes that integrated Radeon GPUs are not supported, and mixed AMD and NVIDIA execution is outside the scope of this contribution.\n\nFor those",
 "status_before": {
  "busy": false,
  "queued": 0,
  "phase": "answering",
  "prompt_tokens": 4096,
  "generated": 400,
  "max_tokens": 400
 },
 "totals_before": 4,
 "totals_after": 5,
 "foreign_overlap": false,
 "engine": {
  "prompt_tokens": 4096,
  "reused": 0,
  "read": 4096,
  "prompt_ms_log": 8242,
  "prompt_tok_s_log": 496.9,
  "generated": 400,
  "decode_ms_log": 9711,
  "decode_tok_s_log": 41.2,
  "drafts_accepted": 234,
  "drafts_proposed": 349,
  "checkpoints": 1,
  "cancelled": false,
  "line": "strata serve: prompt 4096 tokens = 0 reused + 4096 read in 8242 ms (496.9 tok/s), 400 generated in 9711 ms (41.2 tok/s), drafts accepted 234 of 349, 1 checkpoints",
  "hit_rate_pct": 55.0,
  "hit_line": "strata serve: decode expert cache hit rate: 55.0% (122110 hits / 221821 lookups)",
  "kv_vram_pct": 99.58,
  "kv_block_reads": 3210432,
  "kv_ram_mib": 54.1,
  "kv_line": "strata serve: KV streaming: 99.58% of 3210432 block reads hit VRAM, 54.1 MiB read from RAM",
  "suffix_windows": 10,
  "suffix_accepted": 17,
  "suffix_proposed": 21
 },
 "metrics_record": {
  "projection": null,
  "time": 1790923023.2958589,
  "duration_s": 18.0,
  "finish": "length",
  "prompt_tokens": 4096,
  "reused": 0,
  "output_tokens": 400,
  "engine_generated": 400,
  "prompt_ms": 8242.4,
  "decode_ms": 9710.5,
  "decode_tok_s": 41.2,
  "hit_rate": 0.55,
  "ram_blobs": 0,
  "file_blobs": 0,
  "file_mb": 0.0
 },
 "engine_log": [
  "strata serve: prompt 4096 tokens = 0 reused + 4096 read in 8242 ms (496.9 tok/s), 400 generated in 9711 ms (41.2 tok/s), drafts accepted 234 of 349, 1 checkpoints",
  "strata serve: decode expert cache hit rate: 55.0% (122110 hits / 221821 lookups)",
  "strata serve: KV streaming: 99.58% of 3210432 block reads hit VRAM, 54.1 MiB read from RAM",
  "strata serve: suffix drafts: 10 windows, 17 of 21 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: 19 of max 400 tokens, 32.4 tok/s, 9 s",
  "[strata] answering: 65 of max 400 tokens, 39.6 tok/s, 10 s",
  "[strata] answering: 111 of max 400 tokens, 41.5 tok/s, 11 s",
  "[strata] answering: 157 of max 400 tokens, 42.1 tok/s, 12 s",
  "[strata] answering: 199 of max 400 tokens, 41.6 tok/s, 13 s",
  "[strata] answering: 239 of max 400 tokens, 41.0 tok/s, 14 s",
  "[strata] answering: 287 of max 400 tokens, 41.8 tok/s, 15 s",
  "[strata] answering: 326 of max 400 tokens, 41.2 tok/s, 16 s",
  "[strata] answering: 368 of max 400 tokens, 41.2 tok/s, 17 s",
  "[strata] done: 400 tokens in 18 s (41.3 tok/s) (length, cancel=False), expert cache 55.0% hit"
 ]
}