okami.mom/strata

git clone https://git.nkp.pet/okami.mom/strata

Niko1221Merge f-142b-serve into f-1426e1085c1d

main
4.4 KiB79 linesraw
1{
2  "_note": "Engine-side numbers (the engine's own decode/prefill lines), NOT client timings. The two arms differ only in STRATA_SM70_TABLE; both generate the same 256 tokens (see output_sha256 below). See README.md for the method and the limits.",
3  "question": "should STRATA_SM70_TABLE=1 become the sm_70 default with the 0.1.41 code (docs/NVIDIA_V100.md asks a V100 owner to confirm)?",
4  "answer": "yes on this machine: decode +9.8% and +15.0% in two order-swapped pairs, output bit-identical",
5  "hardware": {
6    "gpu": "Tesla V100-SXM2-32GB",
7    "compute_capability": 7.0,
8    "pcie": "Gen3 x16 (engine probe: 13.1 GB/s host->device)",
9    "cpu": "AMD Threadripper 2990WX (AVX2, no AVX-512)",
10    "ram_gb": 96,
11    "storage": "NVMe SSD",
12    "os": "Windows 11 (build 26200)",
13    "driver": "560.94",
14    "cuda": "12.6",
15    "msvc": "19.44",
16    "engine": {
17      "commit": "fb58e0d",
18      "version": "0.1.41",
19      "build": "-DSTRATA_EXPERIMENTAL_SM60=ON -DCMAKE_CUDA_ARCHITECTURES=70 -DSTRATA_GGML_DIR=<llama.cpp 3cf03257>",
20      "generator": "NMake Makefiles (see README: ninja cannot start a child process in this host's tooling sandbox)",
21      "sha256": "5bfb80e584053443904b19e7723faa41b7c97390487a5bb8c9e902d8901fc501"
22    }
23  },
24  "protocol": {
25    "model": "Unsloth UD-IQ4_XS (merged single GGUF, 87.2 GiB)",
26    "pack": "tools/iq_pack.py native-experts pack, index v3",
27    "prompt_tokens": 7999,
28    "new_tokens": 256,
29    "context": 262144,
30    "kv": "int8",
31    "prefill_chunk": "auto",
32    "spec": 3,
33    "expert_cache": "auto",
34    "vram_reserve_mib": 1024,
35    "sampling": "greedy",
36    "runs_per_arm": 1,
37    "pairs": 2,
38    "pair_order": ["A then B", "B then A"],
39    "engine_load_excluded": true
40  },
41  "arms": {
42    "A": "STRATA_SM70_TABLE=0 (what 0.1.40.3 ran on sm_70)",
43    "B": "STRATA_SM70_TABLE=1 (native_mmvq_il + Volta rows table, expert mode 8, gr_up_fast)"
44  },
45  "paired_runs": {
46    "pair1_A": {"decode_tok_s": 28.16, "prefill_tok_s": 1626.79, "ttft_s": 5.91, "mtp_accept": 0.612, "tokens_per_round": 2.23, "pool_ms_round": 46.548, "host_ms_round": 19.075, "cpu_experts_per_layer": 2.88, "slots": 9203},
47    "pair1_B": {"decode_tok_s": 30.92, "prefill_tok_s": 1633.11, "ttft_s": 5.87, "mtp_accept": 0.612, "tokens_per_round": 2.23, "pool_ms_round": 39.859, "host_ms_round": 12.571, "cpu_experts_per_layer": 2.88, "slots": 9203},
48    "pair2_B": {"decode_tok_s": 32.94, "prefill_tok_s": 1618.99, "ttft_s": 5.81, "mtp_accept": 0.612, "tokens_per_round": 2.23, "pool_ms_round": 37.338, "host_ms_round": 18.207, "cpu_experts_per_layer": 2.88, "slots": 9203},
49    "pair2_A": {"decode_tok_s": 28.64, "prefill_tok_s": 1629.30, "ttft_s": 5.99, "mtp_accept": 0.612, "tokens_per_round": 2.23, "pool_ms_round": 45.782, "host_ms_round": 18.568, "cpu_experts_per_layer": 2.88, "slots": 9203}
50  },
51  "paired_summary": {
52    "pair1_B_over_A_pct": 9.8,
53    "pair2_B_over_A_pct": 15.0,
54    "A_runs_agree_within_pct": 1.7,
55    "prefill_unchanged": "1619-1633 tok/s in all four runs"
56  },
57  "output_sha256": {
58    "_note": "the generated token id sequence, all four runs",
59    "pair1_A": "258d9017223cd4d36c7b47bf",
60    "pair1_B": "258d9017223cd4d36c7b47bf",
61    "pair2_B": "258d9017223cd4d36c7b47bf",
62    "pair2_A": "258d9017223cd4d36c7b47bf",
63    "token_count": 256,
64    "text_length_chars": 1508
65  },
66  "ab_engine_tool_medians_3_rounds": {
67    "_note": "tools/ab_engine.py, arms alternating per round; raw rows in ab-engine.jsonl. The three short chats are below this machine's noise floor (per-round decode within one arm spans 20.9-37.2 tok/s); the long arm is the informative one.",
68    "chat0": {"prompt_tokens": 34, "A_decode": 26.2, "B_decode": 21.5, "A_prompt": 34.9, "B_prompt": 31.1},
69    "chat1": {"prompt_tokens": 27, "A_decode": 31.4, "B_decode": 30.3, "A_prompt": 33.0, "B_prompt": 30.2},
70    "chat2": {"prompt_tokens": 29, "A_decode": 27.2, "B_decode": 26.4, "A_prompt": 29.7, "B_prompt": 30.6},
71    "long":   {"prompt_tokens": 6345, "A_decode": 30.2, "B_decode": 31.7, "A_prompt": 291.9, "B_prompt": 287.9}
72  },
73  "version_context": {
74    "_note": "single runs, different sessions - for context only, not a paired comparison",
75    "UD-IQ4_XS_0.1.39": {"decode_tok_s": 29.82, "engine": "6f32ec0 / 0.1.39"},
76    "Q2_0_0.1.39": {"decode_tok_s": 65.16, "prefill_tok_s": 1571.79, "kv": "fp16", "prefill": 8192},
77    "Q2_0_0.1.41_SM70": {"decode_tok_s": 69.70, "prefill_tok_s": 1561.51, "kv": "fp16", "prefill": 8192}
78  }
79}