{ "label": "followup-250000", "attempt": 1, "epoch_start": 1790925083.7678778, "epoch_end": 1790925099.8523955, "kind": "followup", "target": 250000, "run": 1, "expected_prompt_tokens": 250463, "needle": "glacier-falcon-113", "needle_depth_pct": 40, "max_tokens": 400, "follows": "fresh-250000-run1", "request_sha256": "cf2d9a518ea9dc2f4b809419ba7f0e9e78da4ea1cb0db6e6413420c6287931ec", "client_ttft_s": 4.551283943001181, "client_total_s": 16.08047249726951, "finish_reason": "length", "usage": { "prompt_tokens": 250463, "completion_tokens": 400, "total_tokens": 250863, "prompt_tokens_details": { "cached_tokens": 249993 } }, "timings": { "cache_n": 249993, "prompt_n": 470, "prompt_ms": 3556.5, "prompt_per_token_ms": 7.567, "prompt_per_second": 132.2, "predicted_n": 400, "predicted_ms": 11567.7, "predicted_per_token_ms": 28.919, "predicted_per_second": 34.6, "draft_n": 361, "draft_n_accepted": 214 }, "keepalives": 2, "text": "glacier-falcon-113\n\nThe server handles long prompts by breaking them into manageable chunks, typically up to 8,192 tokens at a time, rather than processing the entire sequence in a single pass. This chunking strategy is essential because the model’s architecture, which relies on a Mixture of Experts (MoE) design, requires significant memory bandwidth to access the vast number of expert weights. By processing in chunks, the engine can efficiently stream the necessary expert data from system RAM or SSD into GPU VRAM while simultaneously performing computations on the current chunk. This overlap between data transfer and computation is a key performance optimization, allowing the system to hide latency and maintain high throughput even when the model’s total weight size exceeds the available VRAM.\n\nFor each chunk, the engine first processes the input through the dense layers, such as attention and gated residual connections, which are primarily handled by the GPU. The critical step involves the MoE layers, where the router selects a subset of experts for each token. The engine then determines which of these selected experts are already resident in the GPU’s expert cache. If an expert is present, the GPU computes its output directly. If not, the system employs a hybrid approach: the CPU computes the missing experts using optimized vector instructions (AVX-512 or AVX2) while the GPU continues processing other parts of the layer or the next chunk. This parallel execution ensures that neither the CPU nor the GPU sits idle waiting for the other.\n\nThe engine also utilizes a sophisticated conversation cache to optimize repeated or incremental prompts. If a new request shares a prefix with a previously processed conversation, the server can reuse the Key-Value (KV) cache from the shared prefix, only processing the new tokens. This is managed through checkpoints that store the state of the model at various points in the conversation. For very long contexts, the KV cache itself may be streamed from RAM to VRAM, with only the most recently accessed portions", "status_before": { "busy": false, "queued": 0, "phase": "answering", "prompt_tokens": 250000, "generated": 400, "max_tokens": 400 }, "totals_before": 14, "totals_after": 15, "foreign_overlap": false, "engine": { "prompt_tokens": 250463, "reused": 249993, "read": 470, "prompt_ms_log": 3556, "prompt_tok_s_log": 132.2, "generated": 400, "decode_ms_log": 11568, "decode_tok_s_log": 34.6, "drafts_accepted": 214, "drafts_proposed": 361, "checkpoints": 6, "cancelled": false, "line": "strata serve: prompt 250463 tokens = 249993 reused + 470 read in 3556 ms (132.2 tok/s), 400 generated in 11568 ms (34.6 tok/s), drafts accepted 214 of 361, 6 checkpoints", "hit_rate_pct": 57.2, "hit_line": "strata serve: decode expert cache hit rate: 57.2% (135904 hits / 237410 lookups)", "kv_vram_pct": 94.66, "kv_block_reads": 6969288, "kv_ram_mib": 1498.3, "kv_line": "strata serve: KV streaming: 94.66% of 6969288 block reads hit VRAM, 1498.3 MiB read from RAM", "suffix_windows": 7, "suffix_accepted": 10, "suffix_proposed": 14 }, "metrics_record": { "projection": null, "time": 1790925084.6542559, "duration_s": 15.2, "finish": "length", "prompt_tokens": 250463, "reused": 249993, "output_tokens": 400, "engine_generated": 400, "prompt_ms": 3556.5, "decode_ms": 11567.7, "decode_tok_s": 34.6, "hit_rate": 0.572, "ram_blobs": 0, "file_blobs": 0, "file_mb": 0.0 }, "engine_log": [ "strata serve: prompt 250463 tokens = 249993 reused + 470 read in 3556 ms (132.2 tok/s), 400 generated in 11568 ms (34.6 tok/s), drafts accepted 214 of 361, 6 checkpoints", "strata serve: decode expert cache hit rate: 57.2% (135904 hits / 237410 lookups)", "strata serve: KV streaming: 94.66% of 6969288 block reads hit VRAM, 1498.3 MiB read from RAM", "strata serve: suffix drafts: 7 windows, 10 of 14 drafts accepted" ], "server_log": [ "[strata] reading the prompt: 250,456 of 250,463 tokens, 3 s so far", "[strata] answering: 22 of max 400 tokens, 30.3 tok/s, 4 s", "[strata] answering: 60 of max 400 tokens, 34.6 tok/s, 5 s", "[strata] answering: 97 of max 400 tokens, 35.2 tok/s, 6 s", "[strata] answering: 130 of max 400 tokens, 34.5 tok/s, 7 s", "[strata] answering: 166 of max 400 tokens, 34.8 tok/s, 8 s", "[strata] answering: 201 of max 400 tokens, 34.5 tok/s, 9 s", "[strata] answering: 242 of max 400 tokens, 35.1 tok/s, 11 s", "[strata] answering: 277 of max 400 tokens, 34.9 tok/s, 12 s", "[strata] answering: 312 of max 400 tokens, 34.8 tok/s, 13 s", "[strata] answering: 341 of max 400 tokens, 34.2 tok/s, 14 s", "[strata] answering: 380 of max 400 tokens, 34.5 tok/s, 15 s", "[strata] done: 400 tokens in 15 s (34.7 tok/s) (length, cancel=False), expert cache 57.2% hit" ], "needle_found": true }