okami.mom/strata
git clone https://git.nkp.pet/okami.mom/strata
cc02cdef7
main
1{ 2"label" :"lim-kv-pp-x2" , 3"extra" : [ 4"--max-context" , 5"131072" , 6"--kv-resident" , 7"32768" , 8"--layer-split" , 9"auto" 10 ], 11"gpus" :"0,2" , 12"needles" : [ 13 { 14"tokens" :15925 , 15"prompt_ms" :9452.6 , 16"pp_tok_s" :1684.7 , 17"found" :true , 18"answer" :"meadow-254<|im_end|>" 19 }, 20 { 21"tokens" :27474 , 22"prompt_ms" :14042.4 , 23"pp_tok_s" :1956.5 , 24"found" :true , 25"answer" :"juniper-766<|im_end|>" 26 }, 27 { 28"tokens" :59725 , 29"prompt_ms" :30345.9 , 30"pp_tok_s" :1968.1 , 31"found" :true , 32"answer" :"falcon-174<|im_end|>" 33 } 34 ], 35"chat" : { 36"turn1_tokens" :6584 , 37"turn1_ms" :3806.1 , 38"turn2_tokens" :6660 , 39"reused" :6632 , 40"turn2_ms" :245.6 , 41"answer" :"lantern-417<|im_end|>" , 42"ok" :true 43 }, 44"decode" : [ 45 { 46"name" :"story" , 47"tok_s" :75.8 , 48"reps" : [ 4975.8 50 ], 51"hit_rate" :0.9698055042592483 , 52"text" :"The wind didn\u2019t just blow; it screamed.\n\nElias pulled his woolen collar up to his chin, the rough fabric scratching against his stubble. Outside the thick, salt-crusted glass of the lantern room, the Atlantic was a churning cauldron of black and white foam. Rain lashed against the panes in horizontal sheets, blurring the world into a smear of gray and shadow.\n\nInside, however, it was warm. The smell of kerosene and old wood hung heavy in the air, a scent that had defined Elias\u2019s life for thirty years. He stood before the great Fresnel lens, a cathedral of glass and brass that caught the light of the single, powerful bulb and fractured it into a thousand beams.\n\nHe checked the clock. 11:42 PM. The rotation was smooth, silent, a hypnotic sweep that painted the darkness with a slow, rhythmic pulse. *Flash. Dark. Flash. Dark.*\n\nE" 53 }, 54 { 55"name" :"code" , 56"tok_s" :97.0 , 57"reps" : [ 5897.0 59 ], 60"hit_rate" :0.9562207324057541 , 61"text" :"```python\nimport csv\nfrom typing import List, Dict, Any\n\n\ndef parse_csv_to_dicts(filepath: str) -> List[Dict[str, Any]]:\n \"\"\"\n Parse a CSV file into a list of dictionaries.\n \n Each dictionary represents a row, with keys from the header and values from the row.\n \n Args:\n filepath: Path to the CSV file.\n \n Returns:\n A list of dictionaries, one per row (excluding the header).\n \"\"\"\n result: List[Dict[str, Any]] = []\n with open(filepath, 'r', newline='', encoding='utf-8') as f:\n reader = csv.DictReader(f)\n for row in reader:\n result.append(dict(row))\n return result\n\n\n# Tests\ndef test_parse_csv_to_dicts():\n import tempfile\n import os\n \n # Create a temporary CSV file\n with tempfile.NamedTemporaryFile" 62 } 63 ], 64"stage_timing" : [], 65"engine_lines" : [ 66"strata generate: layer split across 2 GPUs: CUDA0, then CUDA1 (split auto)" , 67"strata generate: layer split: CUDA1 PCIe probe 6.4 GB/s -> pcie_frac 0.14" , 68"strata generate: layer split: CUDA1 holds its weights, session and head; 17.96 GiB free" , 69"strata generate: layer split auto: CUDA0 84 SMs at 2.81 GHz -> 0.31 ms per layer, 8.13 GiB for experts" , 70"strata generate: layer split auto: CUDA1 82 SMs at 1.86 GHz -> 0.48 ms per layer, 13.98 GiB for experts" , 71"strata generate: layer split auto: K=22 - predicted 19.7 ms per decode window; the caches hold 11199 of 12288 profiled pairs (~99.7% of the routed mass)" , 72"strata generate: expert cache auto: 10.30 GiB free, 700 MiB reserved -> 3277 slots" , 73"strata generate: expert cache 3409 slots, 6.09 GiB of VRAM; policy is" , 74"strata generate: layer split: CUDA1 runs layers 22-47, expert cache 6656 slots (13.34 GiB), 6656 of its 6656 profiled pairs; slot 0 verified" , 75"strata generate: layer split: CUDA0 runs layers 0-21" , 76"strata serve: the prompt path allocates its own buffers (too few cache slots to borrow)" , 77"strata serve: layer split: layers 0-21 (CUDA0), 22-47 (CUDA1), one hand-off per window" , 78"strata serve: decode expert cache hit rate: 91.3% (5098 hits / 5585 lookups)" , 79"strata serve: decode expert cache hit rate: 94.7% (4000 hits / 4225 lookups)" , 80"strata serve: decode expert cache hit rate: 96.5% (4095 hits / 4245 lookups)" , 81"strata serve: decode expert cache hit rate: 97.8% (4183 hits / 4278 lookups)" , 82"strata serve: decode expert cache hit rate: 96.2% (27177 hits / 28250 lookups)" , 83"strata serve: decode expert cache hit rate: 97.6% (4177 hits / 4281 lookups)" , 84"strata serve: decode expert cache hit rate: 97.0% (130241 hits / 134296 lookups)" , 85"strata serve: decode expert cache hit rate: 95.6% (113534 hits / 118732 lookups)" 86 ] 87}