okami.mom/strata
git clone https://git.nkp.pet/okami.mom/strata
01529aaa8
main
1< svg viewBox = " 0 0 700 250 " width = " 100% " xmlns = " http://www.w3.org/2000/svg "> 2< rect x = " 0 " y = " 0 " width = " 700 " height = " 72 " rx = " 6 " fill = " #eaf1f9 " stroke = " #2f6fb3 "/> 3< text x = " 10 " y = " 18 " font-size = " 12 " font-weight = " 700 " fill = " #2f6fb3 "> GPU VRAM 12 GB· 672 GB/s</ text > 4< rect x = " 10 " y = " 26 " width = " 150 " height = " 38 " rx = " 3 " fill = " #2f6fb3 "/>< text x = " 85 " y = " 42 " font-size = " 10 " fill = " #fff " text-anchor = " middle "> dense weights ~3.3 GB</ text >< text x = " 85 " y = " 56 " font-size = " 9 " fill = " #fff " text-anchor = " middle "> mixers· GR· routers· head</ text > 5< rect x = " 166 " y = " 26 " width = " 330 " height = " 38 " rx = " 3 " fill = " #6d9fd4 "/>< text x = " 331 " y = " 42 " font-size = " 10 " fill = " #fff " text-anchor = " middle "> expert cache: everything left (~6 GB)</ text >< text x = " 331 " y = " 56 " font-size = " 9 " fill = " #fff " text-anchor = " middle "> ~4,500 of 24,576 experts, adaptive</ text > 6< rect x = " 502 " y = " 26 " width = " 90 " height = " 38 " rx = " 3 " fill = " #8fb6e0 "/>< text x = " 547 " y = " 42 " font-size = " 10 " fill = " #fff " text-anchor = " middle "> MTP layer</ text >< text x = " 547 " y = " 56 " font-size = " 9 " fill = " #fff " text-anchor = " middle "> 0.8 GB</ text > 7< rect x = " 598 " y = " 26 " width = " 94 " height = " 38 " rx = " 3 " fill = " #b3cde9 "/>< text x = " 645 " y = " 42 " font-size = " 10 " fill = " #1b1d21 " text-anchor = " middle "> KV + state</ text >< text x = " 645 " y = " 56 " font-size = " 9 " fill = " #1b1d21 " text-anchor = " middle "> 0.3-3 GB</ text > 8< text x = " 350 " y = " 88 " font-size = " 10 " fill = " #5a606b " text-anchor = " middle "> PCIe 4.0 x16· ~26 GB/s· experts by DMA (prompt, 20% of misses, cache swaps)</ text > 9< rect x = " 0 " y = " 96 " width = " 700 " height = " 72 " rx = " 6 " fill = " #fbf0e6 " stroke = " #c7702a "/> 10< text x = " 10 " y = " 114 " font-size = " 12 " font-weight = " 700 " fill = " #c7702a "> System RAM 64 GB DDR5· ~41-52 GB/s· 6 CPU cores (AVX-512)</ text > 11< rect x = " 10 " y = " 122 " width = " 440 " height = " 38 " rx = " 3 " fill = " #c7702a "/>< text x = " 230 " y = " 138 " font-size = " 10 " fill = " #fff " text-anchor = " middle "> pinned expert arena: all 24,576 experts</ text >< text x = " 230 " y = " 152 " font-size = " 9 " fill = " #fff " text-anchor = " middle "> 34 GB (Q2_0)· 35.5 GB (IQ2_XS)· 43 GB (IQ3_XXS); the CPU computes misses in place</ text > 12< rect x = " 456 " y = " 122 " width = " 236 " height = " 38 " rx = " 3 " fill = " #e0a877 "/>< text x = " 574 " y = " 138 " font-size = " 10 " fill = " #fff " text-anchor = " middle "> OS page cache: hot n-gram rows</ text >< text x = " 574 " y = " 152 " font-size = " 9 " fill = " #fff " text-anchor = " middle "> + OS, embedding table, buffers</ text > 13< text x = " 350 " y = " 184 " font-size = " 10 " fill = " #5a606b " text-anchor = " middle "> NVMe· 16 row reads per token, issued a step ahead</ text > 14< rect x = " 0 " y = " 192 " width = " 700 " height = " 54 " rx = " 6 " fill = " #f1f3e8 " stroke = " #6b7b3a "/> 15< text x = " 10 " y = " 210 " font-size = " 12 " font-weight = " 700 " fill = " #6b7b3a "> SSD</ text > 16< rect x = " 60 " y = " 200 " width = " 300 " height = " 38 " rx = " 3 " fill = " #6b7b3a "/>< text x = " 210 " y = " 223 " font-size = " 10 " fill = " #fff " text-anchor = " middle "> GGUF shard 1 (37.6-47 GB): read once at start</ text > 17< rect x = " 366 " y = " 200 " width = " 326 " height = " 38 " rx = " 3 " fill = " #95a15f "/>< text x = " 529 " y = " 223 " font-size = " 10 " fill = " #fff " text-anchor = " middle "> GGUF shard 2: n-gram table 28.8 GB, memory-mapped</ text > 18</ svg >