okami.mom/strata
git clone https://git.nkp.pet/okami.mom/strata
53623e56f
main
1{ 2"label" :"unsloth-ud-iq4_xs_calibrated" , 3"mode" :"speed" , 4"ctx" :"1k" , 5"target_tokens" :1024 , 6"run" :1 , 7"run_id" :"c0486c44f982" , 8"corpus_repeated" :false , 9"time" :"2026-10-05T17:58:47" , 10"prompt_tokens" :1043 , 11"completion_tokens" :256 , 12"ttft_s" :4.254 , 13"e2e_s" :9.56 , 14"api_prompt_tps" :245.2 , 15"api_decode_tps" :48.1 , 16"engine_prompt_tps" :248.9 , 17"engine_decode_tps" :47.9 , 18"log_lines" : [ 19"strata serve: prompt 1043 tokens = 0 reused + 1043 read in 4191 ms (248.9 tok/s), 256 generated in 5340 ms (47.9 tok/s), drafts accepted 154 of 236, 1 checkpoints" , 20"strata serve: decode expert cache hit rate: 62.9% (90788 hits / 144451 lookups); 19229 more read by the GPU over PCIe or from another GPU (11.7% of all 163680 routed)" 21 ], 22"answer_head" :"The file `chat.py` is a lightweight, standard-library-only command-line interface for interacting with a running Strata server. It implements a streaming chat client that connects to the server's OpenAI-compatible `/v1/chat/completions` endpoint.\n\nKey features include:\n1. **Streaming Support**: It " , 23"metrics_after" : { 24"engine" : { 25"model" :"qwen3.8-flash-next-unsloth-ud-iq4_xs" , 26"max_context" :262144 , 27"images" :false , 28"version" :"0.1.39" , 29"context" :262144 , 30"kv" :"int8" , 31"kv_resident" :32768 , 32"expert_slots" :2941 , 33"expert_cache_mib" :6781 , 34"expert_slots_primary" :2941 , 35"expert_cache_primary_mib" :6781 , 36"spec" :6 , 37"mtp_max" :4 , 38"lookup" :3 , 39"vram_free_mib" :464 , 40"cvec" :0 , 41"arena_mib" :49981 , 42"pool_workers" :11 , 43"pcie_frac" :"0.35" , 44"spec_min_p" :"0.50" , 45"conversation_cache_mib" :0 , 46"conversation_cache_slots" :4 , 47"conversation_cache_min_free_mib" :2560 , 48"tail_role_token" :-1 , 49"vram_elastic" :0 , 50"engine" :"0.1.39" 51 }, 52"live" : { 53"state" :"idle" , 54"queued" :0 , 55"phase" :null , 56"prompt_tokens" :null , 57"prompt_read" :null , 58"prompt_total" :null , 59"generated" :null , 60"max_tokens" :null , 61"elapsed_s" :null , 62"tok_s" :null , 63"tok_s_mean" :null , 64"prefill_tok_s_mean" :null , 65"tok_s_window_s" :null 66 }, 67"requests" : [ 68 { 69"projection" :null , 70"time" :1791244727.687866 , 71"duration_s" :9.5 , 72"finish" :"length" , 73"prompt_tokens" :1043 , 74"reused" :0 , 75"output_tokens" :256 , 76"prompt_total" :1043 , 77"prompt_read" :1043 , 78"engine_generated" :256 , 79"prompt_ms" :4190.6 , 80"decode_ms" :5340.0 , 81"decode_tok_s" :47.9 , 82"hit_rate" :0.629 , 83"pcie_share" :0.117 , 84"ram_blobs" :60641 , 85"file_blobs" :0 , 86"file_mb" :0.0 , 87"drafts_offered" :236 , 88"drafts_accepted" :154 89 } 90 ], 91"conversation_cache" : { 92"enabled" :false , 93"budget_mib" :0 , 94"slots" :4 , 95"parked" :0 , 96"bytes" :0 , 97"evictions" :0 , 98"parks" :0 , 99"restores" :0 , 100"last_event" :null , 101"last_tokens" :null , 102"last_at" :null , 103"requests" :1 , 104"requests_reused" :0 , 105"reused_tokens" :0 , 106"prompt_tokens" :1043 , 107"last_reused" :0 , 108"last_prompt" :1043 109 }, 110"requests_kept" :1 , 111"totals" : { 112"since" :1791244718.639842 , 113"requests" :1 , 114"prompt_tokens" :1043 , 115"reused" :0 , 116"output_tokens" :256 , 117"prompt_ms" :4190.6 , 118"decode_ms" :5340.0 , 119"drafts_offered" :236 , 120"drafts_accepted" :154 121 }, 122"hardware" : { 123"gpu_util" :99 , 124"gpu_mem_used" :16662806528 , 125"gpu_mem_total" :17094934528 , 126"gpu_temp" :49 , 127"gpu_power" :124.508 , 128"gpu_power_limit" :360.0 , 129"gpu_pcie_gen" :5 , 130"gpu_pcie_gen_max" :5 , 131"gpu_pcie_width" :8 , 132"gpu_pcie_rx_mb" :13788.4541015625 , 133"gpu_pcie_tx_mb" :3727.0908203125 , 134"cpu" :69.8 , 135"ram_used" :72724504576 , 136"ram_total" :100516397056 , 137"disk_read_mb" :4.901864074529022 , 138"disk_write_mb" :0.7577230381237804 , 139"tok_s" :47.75190523321685 , 140"tok_s_mean" :48.163770927833085 , 141"prefill_tok_s_mean" :0.0 142 }, 143"hardware_static" : { 144"gpu_name" :"NVIDIA GeForce RTX 5080" , 145"gpu_count" :1 , 146"cpu_name" :"AMD Ryzen 9 9900X3D 12-Core Processor" , 147"cores" :12 , 148"threads" :24 , 149"psutil" :true 150 }, 151"history" : { 152"gpu_util" : [ 1539 , 1543 , 1550 , 1561 , 1577 , 1581 , 1592 , 1600 , 1610 , 16210 , 1631 , 16499 , 165100 , 16692 , 16783 , 16888 , 169100 , 17099 171 ], 172"gpu_mem_used" : [ 17316553910272 , 17416565026816 , 17516565026816 , 17616586194944 , 17716586194944 , 17816586194944 , 17916570859520 , 18016570859520 , 18116570859520 , 18216608608256 , 18316608608256 , 18416629579776 , 18516629579776 , 18616706322432 , 18716665952256 , 18816662806528 , 18916662806528 , 19016662806528 191 ], 192"gpu_temp" : [ 19345 , 19445 , 19544 , 19644 , 19745 , 19844 , 19944 , 20044 , 20144 , 20245 , 20344 , 20448 , 20548 , 20648 , 20749 , 20849 , 20950 , 21049 211 ], 212"gpu_power" : [ 21344.28 , 21440.76 , 21535.21 , 21634.89 , 21737.17 , 21836.09 , 21935.64 , 22034.7 , 22134.62 , 22238.68 , 22337.63 , 22480.72 , 225115.55 , 22682.42 , 227110.85 , 228114.1 , 229116.3 , 230124.51 231 ], 232"gpu_pcie_rx_mb" : [ 23310.95 , 2340.77 , 23511.97 , 2364.45 , 2371.46 , 2381.18 , 2391.5 , 2401.8 , 2411.12 , 2421.31 , 243201.32 , 24441471.22 , 2453157.43 , 2469071.49 , 2477279.02 , 24821583.86 , 24917820.96 , 25013788.45 251 ], 252"cpu" : [ 2530.0 , 25414.3 , 2558.0 , 25610.1 , 2577.6 , 25810.6 , 2599.4 , 2609.9 , 26110.1 , 26250.7 , 263100.0 , 264100.0 , 26557.8 , 26656.0 , 26774.0 , 26867.9 , 26977.1 , 27069.8 271 ], 272"ram_used" : [ 27370623862784 , 27470806196224 , 27570824861696 , 27670889975808 , 27770894174208 , 27870898225152 , 27970901481472 , 28070901587968 , 28170909448192 , 28271587454976 , 28371671451648 , 28472365662208 , 28572740118528 , 28672738037760 , 28772711110656 , 28872735326208 , 28972725479424 , 29072724504576 291 ], 292"disk_read_mb" : [ 293null , 294232.08 , 2956.31 , 29621.39 , 2973.39 , 2982.56 , 2992.24 , 3000.77 , 30124.24 , 302384.64 , 30346.67 , 304630.12 , 305235.73 , 30610.53 , 3075.76 , 30813.65 , 30916.98 , 3104.9 311 ], 312"tok_s" : [ 3130.0 , 3140.0 , 3150.0 , 3160.0 , 3170.0 , 3180.0 , 3190.0 , 3200.0 , 3210.0 , 3220.0 , 3230.0 , 3240.0 , 3250.0 , 32646.32 , 32748.89 , 32844.41 , 32965.97 , 33047.75 331 ], 332"prefill_tok_s_mean" : [ 3330.0 , 3340.0 , 3350.0 , 3360.0 , 3370.0 , 3380.0 , 3390.0 , 3400.0 , 3410.0 , 342null , 343null , 344null , 345287.2 , 3460.0 , 3470.0 , 3480.0 , 3490.0 , 3500.0 351 ] 352 }, 353"time" :1791244737.7281616 354 } 355}