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" :3 , 7"run_id" :"c05f55974d63" , 8"corpus_repeated" :false , 9"time" :"2026-10-05T17:59:04" , 10"prompt_tokens" :1132 , 11"completion_tokens" :256 , 12"ttft_s" :2.318 , 13"e2e_s" :6.646 , 14"api_prompt_tps" :488.4 , 15"api_decode_tps" :58.9 , 16"engine_prompt_tps" :500.6 , 17"engine_decode_tps" :58.7 , 18"log_lines" : [ 19"strata serve: prompt 1132 tokens = 0 reused + 1132 read in 2261 ms (500.6 tok/s), 256 generated in 4361 ms (58.7 tok/s), drafts accepted 150 of 215, 1 checkpoints" , 20"strata serve: decode expert cache hit rate: 69.1% (96115 hits / 139056 lookups); 15504 more read by the GPU over PCIe or from another GPU (10.0% of all 154560 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\n**Key Features:**\n1. **Streaming Support:** It cons" , 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" :1791244744.8610961 , 71"duration_s" :6.6 , 72"finish" :"length" , 73"prompt_tokens" :1132 , 74"reused" :0 , 75"output_tokens" :256 , 76"prompt_total" :1132 , 77"prompt_read" :1132 , 78"engine_generated" :256 , 79"prompt_ms" :2261.3 , 80"decode_ms" :4361.0 , 81"decode_tok_s" :58.7 , 82"hit_rate" :0.691 , 83"pcie_share" :0.1 , 84"ram_blobs" :50950 , 85"file_blobs" :0 , 86"file_mb" :0.0 , 87"drafts_offered" :215 , 88"drafts_accepted" :150 89 }, 90 { 91"projection" :null , 92"time" :1791244737.733817 , 93"duration_s" :6.6 , 94"finish" :"length" , 95"prompt_tokens" :1142 , 96"reused" :0 , 97"output_tokens" :256 , 98"prompt_total" :1142 , 99"prompt_read" :1142 , 100"engine_generated" :256 , 101"prompt_ms" :2382.4 , 102"decode_ms" :4213.5 , 103"decode_tok_s" :60.8 , 104"hit_rate" :0.695 , 105"pcie_share" :0.1 , 106"ram_blobs" :48305 , 107"file_blobs" :0 , 108"file_mb" :0.0 , 109"drafts_offered" :206 , 110"drafts_accepted" :157 111 }, 112 { 113"projection" :null , 114"time" :1791244727.687866 , 115"duration_s" :9.5 , 116"finish" :"length" , 117"prompt_tokens" :1043 , 118"reused" :0 , 119"output_tokens" :256 , 120"prompt_total" :1043 , 121"prompt_read" :1043 , 122"engine_generated" :256 , 123"prompt_ms" :4190.6 , 124"decode_ms" :5340.0 , 125"decode_tok_s" :47.9 , 126"hit_rate" :0.629 , 127"pcie_share" :0.117 , 128"ram_blobs" :60641 , 129"file_blobs" :0 , 130"file_mb" :0.0 , 131"drafts_offered" :236 , 132"drafts_accepted" :154 133 } 134 ], 135"conversation_cache" : { 136"enabled" :false , 137"budget_mib" :0 , 138"slots" :4 , 139"parked" :0 , 140"bytes" :0 , 141"evictions" :0 , 142"parks" :0 , 143"restores" :0 , 144"last_event" :null , 145"last_tokens" :null , 146"last_at" :null , 147"requests" :3 , 148"requests_reused" :0 , 149"reused_tokens" :0 , 150"prompt_tokens" :3317 , 151"last_reused" :0 , 152"last_prompt" :1132 153 }, 154"requests_kept" :3 , 155"totals" : { 156"since" :1791244718.639842 , 157"requests" :3 , 158"prompt_tokens" :3317 , 159"reused" :0 , 160"output_tokens" :768 , 161"prompt_ms" :8834.3 , 162"decode_ms" :13914.5 , 163"drafts_offered" :657 , 164"drafts_accepted" :461 165 }, 166"hardware" : { 167"gpu_util" :91 , 168"gpu_mem_used" :16648454144 , 169"gpu_mem_total" :17094934528 , 170"gpu_temp" :50 , 171"gpu_power" :124.89 , 172"gpu_power_limit" :360.0 , 173"gpu_pcie_gen" :5 , 174"gpu_pcie_gen_max" :5 , 175"gpu_pcie_width" :8 , 176"gpu_pcie_rx_mb" :3105.125 , 177"gpu_pcie_tx_mb" :2.4951171875 , 178"cpu" :70.3 , 179"ram_used" :74309931008 , 180"ram_total" :100516397056 , 181"disk_read_mb" :3.727215730490254 , 182"disk_write_mb" :0.7076641980263325 , 183"tok_s" :0.0 , 184"tok_s_mean" :0 , 185"prefill_tok_s_mean" :0.0 186 }, 187"hardware_static" : { 188"gpu_name" :"NVIDIA GeForce RTX 5080" , 189"gpu_count" :1 , 190"cpu_name" :"AMD Ryzen 9 9900X3D 12-Core Processor" , 191"cores" :12 , 192"threads" :24 , 193"psutil" :true 194 }, 195"history" : { 196"gpu_util" : [ 1979 , 1983 , 1990 , 2001 , 2017 , 2021 , 2032 , 2040 , 2050 , 20610 , 2071 , 20899 , 209100 , 21092 , 21183 , 21288 , 213100 , 21499 , 2151 , 216100 , 217100 , 21899 , 21987 , 22090 , 22190 , 22295 , 223100 , 22453 , 22599 , 22699 , 22793 , 22891 229 ], 230"gpu_mem_used" : [ 23116553910272 , 23216565026816 , 23316565026816 , 23416586194944 , 23516586194944 , 23616586194944 , 23716570859520 , 23816570859520 , 23916570859520 , 24016608608256 , 24116608608256 , 24216629579776 , 24316629579776 , 24416706322432 , 24516665952256 , 24616662806528 , 24716662806528 , 24816662806528 , 24916662806528 , 25016662806528 , 25116648454144 , 25216648454144 , 25316648454144 , 25416648454144 , 25516648454144 , 25616648454144 , 25716648716288 , 25816648978432 , 25916648978432 , 26016648978432 , 26116648716288 , 26216648454144 263 ], 264"gpu_temp" : [ 26545 , 26645 , 26744 , 26844 , 26945 , 27044 , 27144 , 27244 , 27344 , 27445 , 27544 , 27648 , 27748 , 27848 , 27949 , 28049 , 28150 , 28249 , 28346 , 28449 , 28550 , 28650 , 28751 , 28851 , 28950 , 29048 , 29150 , 29249 , 29351 , 29451 , 29551 , 29650 297 ], 298"gpu_power" : [ 29944.28 , 30040.76 , 30135.21 , 30234.89 , 30337.17 , 30436.09 , 30535.64 , 30634.7 , 30734.62 , 30838.68 , 30937.63 , 31080.72 , 311115.55 , 31282.42 , 313110.85 , 314114.1 , 315116.3 , 316124.51 , 31795.0 , 31890.62 , 319118.47 , 320112.53 , 321130.17 , 322123.0 , 323129.86 , 32482.49 , 325114.47 , 326107.44 , 327129.04 , 328128.53 , 329130.41 , 330124.89 331 ], 332"gpu_pcie_rx_mb" : [ 33310.95 , 3340.77 , 33511.97 , 3364.45 , 3371.46 , 3381.18 , 3391.5 , 3401.8 , 3411.12 , 3421.31 , 343201.32 , 34441471.22 , 3453157.43 , 3469071.49 , 3477279.02 , 34821583.86 , 34917820.96 , 35013788.45 , 351209.26 , 35242252.17 , 35336622.43 , 3547013.09 , 3553831.13 , 3568704.66 , 3578982.17 , 35833571.41 , 35934306.35 , 36010014.28 , 3613946.53 , 36218651.35 , 36315575.45 , 3643105.12 365 ], 366"cpu" : [ 3670.0 , 36814.3 , 3698.0 , 37010.1 , 3717.6 , 37210.6 , 3739.4 , 3749.9 , 37510.1 , 37650.7 , 377100.0 , 378100.0 , 37957.8 , 38056.0 , 38174.0 , 38267.9 , 38377.1 , 38469.8 , 38546.4 , 38695.2 , 38761.9 , 38871.9 , 38963.8 , 39071.0 , 39171.3 , 39250.1 , 393100.0 , 39448.6 , 39573.1 , 39670.1 , 39774.4 , 39870.3 399 ], 400"ram_used" : [ 40170623862784 , 40270806196224 , 40370824861696 , 40470889975808 , 40570894174208 , 40670898225152 , 40770901481472 , 40870901587968 , 40970909448192 , 41071587454976 , 41171671451648 , 41272365662208 , 41372740118528 , 41472738037760 , 41572711110656 , 41672735326208 , 41772725479424 , 41872724504576 , 41972720965632 , 42073319505920 , 42173646616576 , 42273675087872 , 42373677127680 , 42473687048192 , 42573698160640 , 42673814618112 , 42774153160704 , 42874301845504 , 42974305253376 , 43074308231168 , 43174309529600 , 43274309931008 433 ], 434"disk_read_mb" : [ 435null , 436232.08 , 4376.31 , 43821.39 , 4393.39 , 4402.56 , 4412.24 , 4420.77 , 44324.24 , 444384.64 , 44546.67 , 446630.12 , 447235.73 , 44810.53 , 4495.76 , 45013.65 , 45116.98 , 4524.9 , 453100.48 , 454409.28 , 45522.18 , 4563.28 , 4574.57 , 4583.67 , 4597.87 , 460250.15 , 461185.21 , 4625.49 , 4631.35 , 4641.35 , 4652.55 , 4663.73 467 ], 468"tok_s" : [ 4690.0 , 4700.0 , 4710.0 , 4720.0 , 4730.0 , 4740.0 , 4750.0 , 4760.0 , 4770.0 , 4780.0 , 4790.0 , 4800.0 , 4810.0 , 48246.32 , 48348.89 , 48444.41 , 48565.97 , 48647.75 , 4870.0 , 4880.0 , 4890.0 , 49064.73 , 49151.54 , 49272.62 , 49368.35 , 4940.0 , 4950.0 , 49636.0 , 49772.47 , 49849.47 , 49960.5 , 5000.0 501 ], 502"prefill_tok_s_mean" : [ 5030.0 , 5040.0 , 5050.0 , 5060.0 , 5070.0 , 5080.0 , 5090.0 , 5100.0 , 5110.0 , 512null , 513null , 514null , 515287.2 , 5160.0 , 5170.0 , 5180.0 , 5190.0 , 5200.0 , 521null , 522null , 523528.4 , 5240.0 , 5250.0 , 5260.0 , 5270.0 , 528null , 529null , 5300.0 , 5310.0 , 5320.0 , 5330.0 , 5340.0 535 ] 536 }, 537"time" :1791244752.0152555 538 } 539}