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" :2 , 7"run_id" :"5fc5187cee8d" , 8"corpus_repeated" :false , 9"time" :"2026-10-05T17:58:57" , 10"prompt_tokens" :1142 , 11"completion_tokens" :256 , 12"ttft_s" :2.419 , 13"e2e_s" :6.602 , 14"api_prompt_tps" :472.1 , 15"api_decode_tps" :61.0 , 16"engine_prompt_tps" :479.4 , 17"engine_decode_tps" :60.8 , 18"log_lines" : [ 19"strata serve: prompt 1142 tokens = 0 reused + 1142 read in 2382 ms (479.4 tok/s), 256 generated in 4213 ms (60.8 tok/s), drafts accepted 157 of 206, 1 checkpoints" , 20"strata serve: decode expert cache hit rate: 69.5% (91534 hits / 131732 lookups); 14668 more read by the GPU over PCIe or from another GPU (10.0% of all 146400 routed)" 21 ], 22"answer_head" :"The file `chat.py` is a lightweight, standard-library-only Python script that provides a terminal-based interface for interacting with a running Strata server.\n\n**Key Features:**\n1. **API Interaction:** It sends HTTP POST requests to the Strata server's `/v1/chat/completions` endpoint, expecting a " , 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" :1791244737.733817 , 71"duration_s" :6.6 , 72"finish" :"length" , 73"prompt_tokens" :1142 , 74"reused" :0 , 75"output_tokens" :256 , 76"prompt_total" :1142 , 77"prompt_read" :1142 , 78"engine_generated" :256 , 79"prompt_ms" :2382.4 , 80"decode_ms" :4213.5 , 81"decode_tok_s" :60.8 , 82"hit_rate" :0.695 , 83"pcie_share" :0.1 , 84"ram_blobs" :48305 , 85"file_blobs" :0 , 86"file_mb" :0.0 , 87"drafts_offered" :206 , 88"drafts_accepted" :157 89 }, 90 { 91"projection" :null , 92"time" :1791244727.687866 , 93"duration_s" :9.5 , 94"finish" :"length" , 95"prompt_tokens" :1043 , 96"reused" :0 , 97"output_tokens" :256 , 98"prompt_total" :1043 , 99"prompt_read" :1043 , 100"engine_generated" :256 , 101"prompt_ms" :4190.6 , 102"decode_ms" :5340.0 , 103"decode_tok_s" :47.9 , 104"hit_rate" :0.629 , 105"pcie_share" :0.117 , 106"ram_blobs" :60641 , 107"file_blobs" :0 , 108"file_mb" :0.0 , 109"drafts_offered" :236 , 110"drafts_accepted" :154 111 } 112 ], 113"conversation_cache" : { 114"enabled" :false , 115"budget_mib" :0 , 116"slots" :4 , 117"parked" :0 , 118"bytes" :0 , 119"evictions" :0 , 120"parks" :0 , 121"restores" :0 , 122"last_event" :null , 123"last_tokens" :null , 124"last_at" :null , 125"requests" :2 , 126"requests_reused" :0 , 127"reused_tokens" :0 , 128"prompt_tokens" :2185 , 129"last_reused" :0 , 130"last_prompt" :1142 131 }, 132"requests_kept" :2 , 133"totals" : { 134"since" :1791244718.639842 , 135"requests" :2 , 136"prompt_tokens" :2185 , 137"reused" :0 , 138"output_tokens" :512 , 139"prompt_ms" :6573.0 , 140"decode_ms" :9553.5 , 141"drafts_offered" :442 , 142"drafts_accepted" :311 143 }, 144"hardware" : { 145"gpu_util" :90 , 146"gpu_mem_used" :16648454144 , 147"gpu_mem_total" :17094934528 , 148"gpu_temp" :50 , 149"gpu_power" :129.863 , 150"gpu_power_limit" :360.0 , 151"gpu_pcie_gen" :5 , 152"gpu_pcie_gen_max" :5 , 153"gpu_pcie_width" :8 , 154"gpu_pcie_rx_mb" :8982.1650390625 , 155"gpu_pcie_tx_mb" :1981.97265625 , 156"cpu" :71.3 , 157"ram_used" :73698160640 , 158"ram_total" :100516397056 , 159"disk_read_mb" :7.8676157160073235 , 160"disk_write_mb" :0.467025301321205 , 161"tok_s" :68.34931139961006 , 162"tok_s_mean" :61.7290904574539 , 163"prefill_tok_s_mean" :0.0 164 }, 165"hardware_static" : { 166"gpu_name" :"NVIDIA GeForce RTX 5080" , 167"gpu_count" :1 , 168"cpu_name" :"AMD Ryzen 9 9900X3D 12-Core Processor" , 169"cores" :12 , 170"threads" :24 , 171"psutil" :true 172 }, 173"history" : { 174"gpu_util" : [ 1759 , 1763 , 1770 , 1781 , 1797 , 1801 , 1812 , 1820 , 1830 , 18410 , 1851 , 18699 , 187100 , 18892 , 18983 , 19088 , 191100 , 19299 , 1931 , 194100 , 195100 , 19699 , 19787 , 19890 , 19990 200 ], 201"gpu_mem_used" : [ 20216553910272 , 20316565026816 , 20416565026816 , 20516586194944 , 20616586194944 , 20716586194944 , 20816570859520 , 20916570859520 , 21016570859520 , 21116608608256 , 21216608608256 , 21316629579776 , 21416629579776 , 21516706322432 , 21616665952256 , 21716662806528 , 21816662806528 , 21916662806528 , 22016662806528 , 22116662806528 , 22216648454144 , 22316648454144 , 22416648454144 , 22516648454144 , 22616648454144 227 ], 228"gpu_temp" : [ 22945 , 23045 , 23144 , 23244 , 23345 , 23444 , 23544 , 23644 , 23744 , 23845 , 23944 , 24048 , 24148 , 24248 , 24349 , 24449 , 24550 , 24649 , 24746 , 24849 , 24950 , 25050 , 25151 , 25251 , 25350 254 ], 255"gpu_power" : [ 25644.28 , 25740.76 , 25835.21 , 25934.89 , 26037.17 , 26136.09 , 26235.64 , 26334.7 , 26434.62 , 26538.68 , 26637.63 , 26780.72 , 268115.55 , 26982.42 , 270110.85 , 271114.1 , 272116.3 , 273124.51 , 27495.0 , 27590.62 , 276118.47 , 277112.53 , 278130.17 , 279123.0 , 280129.86 281 ], 282"gpu_pcie_rx_mb" : [ 28310.95 , 2840.77 , 28511.97 , 2864.45 , 2871.46 , 2881.18 , 2891.5 , 2901.8 , 2911.12 , 2921.31 , 293201.32 , 29441471.22 , 2953157.43 , 2969071.49 , 2977279.02 , 29821583.86 , 29917820.96 , 30013788.45 , 301209.26 , 30242252.17 , 30336622.43 , 3047013.09 , 3053831.13 , 3068704.66 , 3078982.17 308 ], 309"cpu" : [ 3100.0 , 31114.3 , 3128.0 , 31310.1 , 3147.6 , 31510.6 , 3169.4 , 3179.9 , 31810.1 , 31950.7 , 320100.0 , 321100.0 , 32257.8 , 32356.0 , 32474.0 , 32567.9 , 32677.1 , 32769.8 , 32846.4 , 32995.2 , 33061.9 , 33171.9 , 33263.8 , 33371.0 , 33471.3 335 ], 336"ram_used" : [ 33770623862784 , 33870806196224 , 33970824861696 , 34070889975808 , 34170894174208 , 34270898225152 , 34370901481472 , 34470901587968 , 34570909448192 , 34671587454976 , 34771671451648 , 34872365662208 , 34972740118528 , 35072738037760 , 35172711110656 , 35272735326208 , 35372725479424 , 35472724504576 , 35572720965632 , 35673319505920 , 35773646616576 , 35873675087872 , 35973677127680 , 36073687048192 , 36173698160640 362 ], 363"disk_read_mb" : [ 364null , 365232.08 , 3666.31 , 36721.39 , 3683.39 , 3692.56 , 3702.24 , 3710.77 , 37224.24 , 373384.64 , 37446.67 , 375630.12 , 376235.73 , 37710.53 , 3785.76 , 37913.65 , 38016.98 , 3814.9 , 382100.48 , 383409.28 , 38422.18 , 3853.28 , 3864.57 , 3873.67 , 3887.87 389 ], 390"tok_s" : [ 3910.0 , 3920.0 , 3930.0 , 3940.0 , 3950.0 , 3960.0 , 3970.0 , 3980.0 , 3990.0 , 4000.0 , 4010.0 , 4020.0 , 4030.0 , 40446.32 , 40548.89 , 40644.41 , 40765.97 , 40847.75 , 4090.0 , 4100.0 , 4110.0 , 41264.73 , 41351.54 , 41472.62 , 41568.35 416 ], 417"prefill_tok_s_mean" : [ 4180.0 , 4190.0 , 4200.0 , 4210.0 , 4220.0 , 4230.0 , 4240.0 , 4250.0 , 4260.0 , 427null , 428null , 429null , 430287.2 , 4310.0 , 4320.0 , 4330.0 , 4340.0 , 4350.0 , 436null , 437null , 438528.4 , 4390.0 , 4400.0 , 4410.0 , 4420.0 443 ] 444 }, 445"time" :1791244744.8383467 446 } 447}