Skip to content

Qwen3.8-Flash-Next on any consumer hardware: one-click install for Windows / Linux. Strata inference engine, OpenAI/Anthropic API on localhost, optional image input.

C++
10.7 KB
Raw Blame
{
  "bandwidth_GB_s": {
    "vram_read": 147.402334,
    "h2d": 11.886827,
    "d2h": 12.385216,
    "host_read": 75.118952
  },
  "baseline": [
    {
      "tokens": 512,
      "rates": [
        64.58856328291556,
        64.40332582799783,
        64.5201940646462
      ],
      "median_tps": 64.5201940646462,
      "min_tps": 64.40332582799783,
      "max_tps": 64.58856328291556,
      "prompt_ms_median": 7935.5,
      "phases_ms": {
        "embed+steps": 2.0,
        "hc read": 323.0,
        "gdn": 889.0,
        "qsa proj": 509.0,
        "qsa indexer": 0.0,
        "qsa select": 1.0,
        "qsa attn": 50.0,
        "router+shared": 123.0,
        "host grouping": 58.0,
        "gather": 183.0,
        "wait copy": 561.0,
        "dequant": 2501.0,
        "gemm gate/up": 1487.0,
        "gemm down": 557.0,
        "combine": 56.0,
        "ple": 11.0,
        "gdn conv+gates": 16.0,
        "gdn recurrence": 73.0,
        "gdn out proj": 394.0
      },
      "total_ms": 7796.0,
      "logical_expert_MB_median": 24819.2,
      "disk_MB": [
        0.0,
        0.0,
        0.0
      ],
      "major_faults": [
        0,
        0,
        0
      ],
      "wait_only_zero_speedup": 1.0775397373876987,
      "wait_and_dequant_zero_speedup": 1.6468103084072665,
      "expert_phase_zero_speedup": 3.257835353113247,
      "fixed_nonexpert_ms": 2393.0
    },
    {
      "tokens": 4096,
      "rates": [
        77.86583731438901,
        78.08136398382709,
        78.01845319273758
      ],
      "median_tps": 78.01845319273758,
      "min_tps": 77.86583731438901,
      "max_tps": 78.08136398382709,
      "prompt_ms_median": 52500.4,
      "phases_ms": {
        "embed+steps": 74.0,
        "hc read": 2578.0,
        "gdn": 7096.0,
        "qsa proj": 4072.0,
        "qsa indexer": 1.0,
        "qsa select": 153.0,
        "qsa attn": 1804.0,
        "router+shared": 982.0,
        "host grouping": 368.0,
        "gather": 1447.0,
        "wait copy": 3277.0,
        "dequant": 13948.0,
        "gemm gate/up": 8795.0,
        "gemm down": 3368.0,
        "combine": 449.0,
        "ple": 86.0,
        "gdn conv+gates": 127.0,
        "gdn recurrence": 586.0,
        "gdn out proj": 3148.0
      },
      "total_ms": 52363.0,
      "logical_expert_MB_median": 136548.0,
      "disk_MB": [
        0.0,
        0.0,
        0.0
      ],
      "major_faults": [
        0,
        0,
        0
      ],
      "wait_only_zero_speedup": 1.0667603797416778,
      "wait_and_dequant_zero_speedup": 1.4902100290284024,
      "expert_phase_zero_speedup": 2.5282700014485058,
      "fixed_nonexpert_ms": 20711.0
    },
    {
      "tokens": 8192,
      "rates": [
        78.84033869008779,
        78.84785117468091,
        78.83730374881388
      ],
      "median_tps": 78.84033869008779,
      "min_tps": 78.83730374881388,
      "max_tps": 78.84785117468091,
      "prompt_ms_median": 103906.2,
      "phases_ms": {
        "embed+steps": 158.0,
        "hc read": 5155.0,
        "gdn": 14190.0,
        "qsa proj": 8143.0,
        "qsa indexer": 2.0,
        "qsa select": 508.0,
        "qsa attn": 4187.0,
        "router+shared": 1964.0,
        "host grouping": 723.0,
        "gather": 2871.0,
        "wait copy": 6436.0,
        "dequant": 27085.0,
        "gemm gate/up": 17045.0,
        "gemm down": 6520.0,
        "combine": 899.0,
        "ple": 171.0,
        "gdn conv+gates": 253.0,
        "gdn recurrence": 1172.0,
        "gdn out proj": 6297.0
      },
      "total_ms": 103767.0,
      "logical_expert_MB_median": 263919.4,
      "disk_MB": [
        0.0,
        0.0,
        0.0
      ],
      "major_faults": [
        0,
        0,
        0
      ],
      "wait_only_zero_speedup": 1.0661248728565411,
      "wait_and_dequant_zero_speedup": 1.4771944309996299,
      "expert_phase_zero_speedup": 2.4596330710154546,
      "fixed_nonexpert_ms": 42188.0
    }
  ],
  "control": [
    {
      "prefill_setting": "512",
      "prompt_tokens": 4096,
      "prefill_tokens": 4095,
      "h2d_bytes": 135417241600,
      "copies": 75562,
      "unique_bytes": 29545113600,
      "unique_experts": 16700,
      "repetition_ratio": 4.583405683706696,
      "avoidable_repeated_bytes": 105872128000,
      "h2d_floor_s": 11.392211024859703,
      "unique_h2d_floor_s": 2.4855340790271447,
      "prompt_ms": 52560.9,
      "tps": 77.92865038460148,
      "routed_ops": 19322634240000,
      "h2d_ops_per_byte": 142.68961626818427,
      "unique_h2d_ops_per_byte": 654.0043982095232,
      "routed_equiv_TOP_s": 0.3676237324703344,
      "phases": {
        "total_ms": 52420.0,
        "phases_ms": {
          "embed+steps": 74.0,
          "hc read": 2579.0,
          "gdn": 7091.0,
          "qsa proj": 4071.0,
          "qsa indexer": 1.0,
          "qsa select": 153.0,
          "qsa attn": 1801.0,
          "router+shared": 987.0,
          "host grouping": 270.0,
          "gather": 1418.0,
          "wait copy": 3242.0,
          "dequant": 14241.0,
          "gemm gate/up": 8754.0,
          "gemm down": 3342.0,
          "combine": 449.0,
          "ple": 86.0,
          "gdn conv+gates": 127.0,
          "gdn recurrence": 585.0,
          "gdn out proj": 3149.0
        },
        "disk_MB": 0.0,
        "major_faults": 0,
        "logical_expert_MB": 136548.0
      },
      "copy_only_saving_at_peak_s": 8.906676945832558
    },
    {
      "prefill_setting": "512",
      "prompt_tokens": 8192,
      "prefill_tokens": 8191,
      "h2d_bytes": 262788940800,
      "copies": 146553,
      "unique_bytes": 30871321600,
      "unique_experts": 17469,
      "repetition_ratio": 8.512396851840641,
      "avoidable_repeated_bytes": 231917619200,
      "h2d_floor_s": 22.107576799090285,
      "unique_h2d_floor_s": 2.5971036341321363,
      "prompt_ms": 103783.7,
      "tps": 78.933397055607,
      "routed_ops": 38649987072000,
      "h2d_ops_per_byte": 147.0761553143716,
      "unique_h2d_ops_per_byte": 1251.970601478882,
      "routed_equiv_TOP_s": 0.3724090302427067,
      "phases": {
        "total_ms": 103643.0,
        "phases_ms": {
          "embed+steps": 158.0,
          "hc read": 5155.0,
          "gdn": 14195.0,
          "qsa proj": 8141.0,
          "qsa indexer": 2.0,
          "qsa select": 506.0,
          "qsa attn": 4184.0,
          "router+shared": 1976.0,
          "host grouping": 532.0,
          "gather": 2824.0,
          "wait copy": 6368.0,
          "dequant": 27193.0,
          "gemm gate/up": 17062.0,
          "gemm down": 6552.0,
          "combine": 898.0,
          "ple": 171.0,
          "gdn conv+gates": 254.0,
          "gdn recurrence": 1172.0,
          "gdn out proj": 6301.0
        },
        "disk_MB": 0.0,
        "major_faults": 0,
        "logical_expert_MB": 263919.4
      },
      "copy_only_saving_at_peak_s": 19.51047316495815
    },
    {
      "prefill_setting": "auto",
      "prompt_tokens": 4096,
      "prefill_tokens": 4095,
      "h2d_bytes": 105829222400,
      "copies": 60448,
      "unique_bytes": 42600729600,
      "unique_experts": 24401,
      "repetition_ratio": 2.4842115004528,
      "avoidable_repeated_bytes": 63228492800,
      "h2d_floor_s": 8.903067437592892,
      "unique_h2d_floor_s": 3.583860486907061,
      "prompt_ms": 38187.7,
      "tps": 107.25966737981078,
      "routed_ops": 19322634240000,
      "h2d_ops_per_byte": 182.58316372170566,
      "unique_h2d_ops_per_byte": 453.57519510651764,
      "routed_equiv_TOP_s": 0.5059910452842146,
      "phases": {
        "total_ms": 37812.0,
        "phases_ms": {
          "embed+steps": 80.0,
          "hc read": 2349.0,
          "gdn": 5615.0,
          "qsa proj": 3013.0,
          "qsa indexer": 1.0,
          "qsa select": 153.0,
          "qsa attn": 1812.0,
          "router+shared": 830.0,
          "host grouping": 143.0,
          "gather": 285.0,
          "wait copy": 3379.0,
          "dequant": 9403.0,
          "gemm gate/up": 5006.0,
          "gemm down": 2271.0,
          "combine": 453.0,
          "ple": 79.0,
          "gdn conv+gates": 126.0,
          "gdn recurrence": 658.0,
          "gdn out proj": 2154.0
        },
        "disk_MB": 0.0,
        "major_faults": 0,
        "logical_expert_MB": 107669.9
      },
      "copy_only_saving_at_peak_s": 5.319206950685831
    },
    {
      "prefill_setting": "auto",
      "prompt_tokens": 8192,
      "prefill_tokens": 8191,
      "h2d_bytes": 193275468800,
      "copies": 110473,
      "unique_bytes": 42600729600,
      "unique_experts": 24401,
      "repetition_ratio": 4.536905133192836,
      "avoidable_repeated_bytes": 150674739200,
      "h2d_floor_s": 16.259635039695624,
      "unique_h2d_floor_s": 3.583860486907061,
      "prompt_ms": 71387.6,
      "tps": 114.75382279275391,
      "routed_ops": 38649987072000,
      "h2d_ops_per_byte": 199.97357818852177,
      "unique_h2d_ops_per_byte": 907.2611533864434,
      "routed_equiv_TOP_s": 0.5414103719973776,
      "phases": {
        "total_ms": 71009.0,
        "phases_ms": {
          "embed+steps": 152.0,
          "hc read": 4630.0,
          "gdn": 10960.0,
          "qsa proj": 5603.0,
          "qsa indexer": 1.0,
          "qsa select": 509.0,
          "qsa attn": 4224.0,
          "router+shared": 1641.0,
          "host grouping": 242.0,
          "gather": 377.0,
          "wait copy": 6453.0,
          "dequant": 16461.0,
          "gemm gate/up": 8824.0,
          "gemm down": 4164.0,
          "combine": 906.0,
          "ple": 167.0,
          "gdn conv+gates": 251.0,
          "gdn recurrence": 1338.0,
          "gdn out proj": 4104.0
        },
        "disk_MB": 0.0,
        "major_faults": 0,
        "logical_expert_MB": 195112.3
      },
      "copy_only_saving_at_peak_s": 12.675774552788564
    }
  ],
  "notes": [
    "Baseline: main fb58e0d, one P4, IQ3_XXS, int8 KV, 512-token prefill chunks, mmap experts, three repetitions, CPU share default.",
    "Controls: same base plus host-only byte counters, CPU expert share disabled, one observation per length and chunk policy. Auto selected 1792 tokens.",
    "Logical file-tier reads are not physical disk bytes or measured GPU DRAM traffic.",
    "CUDA-event phase times include host-issue/copy stalls; dequant includes quantized group gathering, not just dequantization.",
    "Host staging in the engine log is cumulative and overlapping, not an additive per-request component.",
    "Routed-equivalent ops omit dense, attention, recurrent, and quantization work; the 22-TOPS roof is an optimistic INT8 hardware budget, not a measured IQ3 kernel ceiling.",
    "Unique H2D bytes assume each observed streamed expert is copied once across the request. This models reuse only, not an implemented layer-major run.",
    "Zero-phase scenarios hold remaining phase time fixed. They are conditional sensitivity calculations, not universal hardware bounds."
  ],
  "ops_per_token_routed_only": 4718592000
}