Datasets:
shape stringclasses 10
values | model stringclasses 6
values | tp int64 1 2 | dtype stringclasses 2
values | M int64 1 4.1k | lookup_key int64 1 4.1k | default_us float64 14.3 2.56k | tuned_us float64 12.2 1.83k | speedup float64 0.98 2 | default_rounds_us stringlengths 19 27 | tuned_rounds_us stringlengths 19 27 |
|---|---|---|---|---|---|---|---|---|---|---|
glm-4.7-flash_tp1_bf16 | zai-org/GLM-4.7-Flash | 1 | auto | 1 | 1 | 26.28 | 23.41 | 1.122 | [26.28, 26.17, 26.38] | [23.41, 23.42, 23.38] |
glm-4.7-flash_tp1_bf16 | zai-org/GLM-4.7-Flash | 1 | auto | 2 | 2 | 74.42 | 73.56 | 1.012 | [74.44, 74.42, 74.41] | [73.54, 73.56, 73.56] |
glm-4.7-flash_tp1_bf16 | zai-org/GLM-4.7-Flash | 1 | auto | 3 | 2 | 140.3 | 140.01 | 1.002 | [140.33, 140.3, 140.28] | [140.05, 139.94, 140.01] |
glm-4.7-flash_tp1_bf16 | zai-org/GLM-4.7-Flash | 1 | auto | 4 | 4 | 182.28 | 176.99 | 1.03 | [182.28, 182.31, 182.27] | [176.99, 176.99, 176.93] |
glm-4.7-flash_tp1_bf16 | zai-org/GLM-4.7-Flash | 1 | auto | 8 | 8 | 313.06 | 309.61 | 1.011 | [313.05, 313.09, 313.06] | [309.61, 309.63, 309.59] |
glm-4.7-flash_tp1_bf16 | zai-org/GLM-4.7-Flash | 1 | auto | 12 | 8 | 412.41 | 411.02 | 1.003 | [412.44, 412.4, 412.41] | [411.02, 411.03, 410.98] |
glm-4.7-flash_tp1_bf16 | zai-org/GLM-4.7-Flash | 1 | auto | 16 | 16 | 495.46 | 492.24 | 1.007 | [495.55, 495.46, 495.44] | [492.25, 492.24, 492.18] |
glm-4.7-flash_tp1_bf16 | zai-org/GLM-4.7-Flash | 1 | auto | 24 | 24 | 598.6 | 597.65 | 1.002 | [598.6, 598.59, 598.83] | [597.65, 597.62, 597.67] |
glm-4.7-flash_tp1_bf16 | zai-org/GLM-4.7-Flash | 1 | auto | 32 | 32 | 665.29 | 663.62 | 1.003 | [665.05, 665.38, 665.29] | [663.62, 663.56, 663.63] |
glm-4.7-flash_tp1_bf16 | zai-org/GLM-4.7-Flash | 1 | auto | 48 | 48 | 729.81 | 726.79 | 1.004 | [729.6, 729.81, 729.99] | [726.79, 726.8, 726.64] |
glm-4.7-flash_tp1_bf16 | zai-org/GLM-4.7-Flash | 1 | auto | 64 | 64 | 752.73 | 749.79 | 1.004 | [752.73, 753.15, 752.7] | [749.77, 749.83, 749.79] |
glm-4.7-flash_tp1_bf16 | zai-org/GLM-4.7-Flash | 1 | auto | 96 | 96 | 1,148.78 | 762.48 | 1.507 | [1147.07, 1149.09, 1148.78] | [762.42, 762.48, 762.67] |
glm-4.7-flash_tp1_bf16 | zai-org/GLM-4.7-Flash | 1 | auto | 128 | 128 | 1,155.03 | 765.77 | 1.508 | [1155.03, 1157.01, 1154.64] | [765.8, 765.72, 765.77] |
glm-4.7-flash_tp1_bf16 | zai-org/GLM-4.7-Flash | 1 | auto | 192 | 128 | 1,166.64 | 772.96 | 1.509 | [1165.89, 1166.64, 1167.65] | [772.89, 772.96, 773.03] |
glm-4.7-flash_tp1_bf16 | zai-org/GLM-4.7-Flash | 1 | auto | 256 | 256 | 1,173.46 | 779.59 | 1.505 | [1172.14, 1173.49, 1173.46] | [779.59, 779.55, 779.6] |
glm-4.7-flash_tp1_bf16 | zai-org/GLM-4.7-Flash | 1 | auto | 384 | 256 | 1,184.23 | 792.51 | 1.494 | [1183.31, 1184.23, 1184.39] | [792.02, 792.51, 792.59] |
glm-4.7-flash_tp1_bf16 | zai-org/GLM-4.7-Flash | 1 | auto | 512 | 512 | 1,200.16 | 807.17 | 1.487 | [1199.2, 1200.16, 1200.22] | [806.78, 807.17, 807.25] |
glm-4.7-flash_tp1_bf16 | zai-org/GLM-4.7-Flash | 1 | auto | 768 | 512 | 1,222.97 | 895.32 | 1.366 | [1221.91, 1222.97, 1223.01] | [886.63, 895.64, 895.32] |
glm-4.7-flash_tp1_bf16 | zai-org/GLM-4.7-Flash | 1 | auto | 1,024 | 1,024 | 1,243.03 | 883.14 | 1.408 | [1243.03, 1244.48, 1242.84] | [882.19, 883.72, 883.14] |
glm-4.7-flash_tp1_bf16 | zai-org/GLM-4.7-Flash | 1 | auto | 1,536 | 1,536 | 1,271.58 | 948.08 | 1.341 | [1268.83, 1271.58, 1272.87] | [945.57, 948.08, 948.44] |
glm-4.7-flash_tp1_bf16 | zai-org/GLM-4.7-Flash | 1 | auto | 2,048 | 2,048 | 1,461.32 | 1,083.63 | 1.349 | [1461.32, 1467.6, 1456.14] | [1082.37, 1083.63, 1084.24] |
glm-4.7-flash_tp1_bf16 | zai-org/GLM-4.7-Flash | 1 | auto | 3,072 | 3,072 | 1,977.19 | 1,467.6 | 1.347 | [1976.16, 1994.73, 1977.19] | [1467.6, 1472.18, 1467.58] |
glm-4.7-flash_tp1_bf16 | zai-org/GLM-4.7-Flash | 1 | auto | 4,096 | 4,096 | 2,493.61 | 1,717.68 | 1.452 | [2482.17, 2500.44, 2493.61] | [1717.1, 1718.91, 1717.68] |
qwen3-30b-a3b_tp1_bf16 | Qwen/Qwen3-30B-A3B | 1 | auto | 1 | 1 | 25.96 | 23.7 | 1.095 | [25.96, 25.95, 25.96] | [23.73, 23.7, 23.65] |
qwen3-30b-a3b_tp1_bf16 | Qwen/Qwen3-30B-A3B | 1 | auto | 2 | 2 | 72.64 | 72.02 | 1.009 | [72.64, 72.65, 72.63] | [72.03, 72.02, 72.01] |
qwen3-30b-a3b_tp1_bf16 | Qwen/Qwen3-30B-A3B | 1 | auto | 3 | 2 | 139.82 | 140.1 | 0.998 | [139.79, 139.82, 139.83] | [140.11, 140.1, 140.1] |
qwen3-30b-a3b_tp1_bf16 | Qwen/Qwen3-30B-A3B | 1 | auto | 4 | 4 | 180.64 | 175.49 | 1.029 | [180.59, 180.64, 180.67] | [175.49, 175.44, 175.49] |
qwen3-30b-a3b_tp1_bf16 | Qwen/Qwen3-30B-A3B | 1 | auto | 8 | 8 | 305.44 | 304.38 | 1.003 | [305.44, 305.44, 305.42] | [304.38, 304.34, 304.38] |
qwen3-30b-a3b_tp1_bf16 | Qwen/Qwen3-30B-A3B | 1 | auto | 12 | 8 | 406.9 | 406.8 | 1 | [406.92, 406.9, 406.86] | [406.8, 406.75, 406.8] |
qwen3-30b-a3b_tp1_bf16 | Qwen/Qwen3-30B-A3B | 1 | auto | 16 | 16 | 486.48 | 484.75 | 1.004 | [486.49, 486.28, 486.48] | [484.75, 484.75, 485.0] |
qwen3-30b-a3b_tp1_bf16 | Qwen/Qwen3-30B-A3B | 1 | auto | 24 | 24 | 590.86 | 590.45 | 1.001 | [590.58, 590.86, 591.06] | [590.45, 590.54, 590.38] |
qwen3-30b-a3b_tp1_bf16 | Qwen/Qwen3-30B-A3B | 1 | auto | 32 | 32 | 655.3 | 654.25 | 1.002 | [655.3, 655.74, 655.27] | [654.25, 654.3, 654.2] |
qwen3-30b-a3b_tp1_bf16 | Qwen/Qwen3-30B-A3B | 1 | auto | 48 | 48 | 718.85 | 718.55 | 1 | [718.53, 718.85, 718.96] | [718.5, 718.55, 718.55] |
qwen3-30b-a3b_tp1_bf16 | Qwen/Qwen3-30B-A3B | 1 | auto | 64 | 64 | 740.86 | 740.03 | 1.001 | [740.62, 740.86, 740.88] | [740.01, 740.03, 740.03] |
qwen3-30b-a3b_tp1_bf16 | Qwen/Qwen3-30B-A3B | 1 | auto | 96 | 96 | 753.24 | 752.64 | 1.001 | [753.24, 753.54, 752.89] | [752.59, 752.67, 752.64] |
qwen3-30b-a3b_tp1_bf16 | Qwen/Qwen3-30B-A3B | 1 | auto | 128 | 128 | 757.58 | 756.72 | 1.001 | [757.11, 757.58, 757.7] | [756.72, 756.83, 756.59] |
qwen3-30b-a3b_tp1_bf16 | Qwen/Qwen3-30B-A3B | 1 | auto | 192 | 128 | 1,124.98 | 765.09 | 1.47 | [1124.61, 1125.17, 1124.98] | [765.0, 765.09, 765.24] |
qwen3-30b-a3b_tp1_bf16 | Qwen/Qwen3-30B-A3B | 1 | auto | 256 | 256 | 1,131.14 | 772.59 | 1.464 | [1130.69, 1131.57, 1131.14] | [772.59, 771.86, 772.67] |
qwen3-30b-a3b_tp1_bf16 | Qwen/Qwen3-30B-A3B | 1 | auto | 384 | 256 | 1,141.36 | 791.51 | 1.442 | [1141.09, 1141.36, 1141.55] | [791.48, 791.51, 791.76] |
qwen3-30b-a3b_tp1_bf16 | Qwen/Qwen3-30B-A3B | 1 | auto | 512 | 512 | 1,150.63 | 806.86 | 1.426 | [1149.26, 1150.63, 1150.64] | [806.18, 807.08, 806.86] |
qwen3-30b-a3b_tp1_bf16 | Qwen/Qwen3-30B-A3B | 1 | auto | 768 | 512 | 1,170.86 | 889.26 | 1.317 | [1170.86, 1171.17, 1170.01] | [887.2, 900.16, 889.26] |
qwen3-30b-a3b_tp1_bf16 | Qwen/Qwen3-30B-A3B | 1 | auto | 1,024 | 1,024 | 1,161.19 | 883.77 | 1.314 | [1161.19, 1161.64, 1160.99] | [877.55, 883.77, 884.52] |
qwen3-30b-a3b_tp1_bf16 | Qwen/Qwen3-30B-A3B | 1 | auto | 1,536 | 1,536 | 1,251.44 | 944.81 | 1.325 | [1250.56, 1252.57, 1251.44] | [944.81, 947.62, 941.91] |
qwen3-30b-a3b_tp1_bf16 | Qwen/Qwen3-30B-A3B | 1 | auto | 2,048 | 2,048 | 1,514.04 | 1,143.33 | 1.324 | [1500.63, 1516.39, 1514.04] | [1143.33, 1129.42, 1143.34] |
qwen3-30b-a3b_tp1_bf16 | Qwen/Qwen3-30B-A3B | 1 | auto | 3,072 | 3,072 | 2,048.14 | 1,494.18 | 1.371 | [2026.57, 2048.14, 2057.07] | [1496.01, 1493.43, 1494.18] |
qwen3-30b-a3b_tp1_bf16 | Qwen/Qwen3-30B-A3B | 1 | auto | 4,096 | 4,096 | 2,559.89 | 1,826.13 | 1.402 | [2553.51, 2574.71, 2559.89] | [1821.56, 1826.56, 1826.13] |
qwen3-30b-a3b_tp1_fp8 | Qwen/Qwen3-30B-A3B-FP8 | 1 | fp8_w8a8 | 1 | 1 | 28.61 | 17.49 | 1.636 | [28.66, 28.61, 28.58] | [17.49, 17.49, 17.64] |
qwen3-30b-a3b_tp1_fp8 | Qwen/Qwen3-30B-A3B-FP8 | 1 | fp8_w8a8 | 2 | 2 | 42.5 | 24.6 | 1.728 | [42.59, 42.5, 42.47] | [24.6, 24.59, 24.6] |
qwen3-30b-a3b_tp1_fp8 | Qwen/Qwen3-30B-A3B-FP8 | 1 | fp8_w8a8 | 3 | 2 | 46.28 | 32.19 | 1.438 | [46.2, 46.28, 46.3] | [32.33, 32.18, 32.19] |
qwen3-30b-a3b_tp1_fp8 | Qwen/Qwen3-30B-A3B-FP8 | 1 | fp8_w8a8 | 4 | 4 | 73.17 | 59.51 | 1.229 | [73.23, 73.17, 73.12] | [59.52, 59.51, 59.49] |
qwen3-30b-a3b_tp1_fp8 | Qwen/Qwen3-30B-A3B-FP8 | 1 | fp8_w8a8 | 8 | 8 | 173.11 | 161.26 | 1.073 | [173.08, 173.11, 173.55] | [161.23, 161.26, 161.27] |
qwen3-30b-a3b_tp1_fp8 | Qwen/Qwen3-30B-A3B-FP8 | 1 | fp8_w8a8 | 12 | 8 | 227.96 | 211.39 | 1.078 | [227.65, 227.96, 228.2] | [211.39, 211.31, 211.45] |
qwen3-30b-a3b_tp1_fp8 | Qwen/Qwen3-30B-A3B-FP8 | 1 | fp8_w8a8 | 16 | 16 | 262.91 | 250.24 | 1.051 | [260.89, 262.91, 263.13] | [250.19, 250.29, 250.24] |
qwen3-30b-a3b_tp1_fp8 | Qwen/Qwen3-30B-A3B-FP8 | 1 | fp8_w8a8 | 24 | 24 | 322.26 | 301.99 | 1.067 | [320.2, 322.26, 322.59] | [301.83, 301.99, 302.01] |
qwen3-30b-a3b_tp1_fp8 | Qwen/Qwen3-30B-A3B-FP8 | 1 | fp8_w8a8 | 32 | 32 | 351.27 | 336.54 | 1.044 | [350.89, 351.27, 352.08] | [336.35, 336.54, 336.58] |
qwen3-30b-a3b_tp1_fp8 | Qwen/Qwen3-30B-A3B-FP8 | 1 | fp8_w8a8 | 48 | 48 | 383.86 | 366.98 | 1.046 | [380.77, 384.0, 383.86] | [366.97, 366.98, 367.12] |
qwen3-30b-a3b_tp1_fp8 | Qwen/Qwen3-30B-A3B-FP8 | 1 | fp8_w8a8 | 64 | 64 | 397.24 | 379.74 | 1.046 | [395.64, 397.24, 397.66] | [379.74, 379.01, 379.82] |
qwen3-30b-a3b_tp1_fp8 | Qwen/Qwen3-30B-A3B-FP8 | 1 | fp8_w8a8 | 96 | 96 | 407.13 | 387.75 | 1.05 | [405.48, 407.19, 407.13] | [387.75, 387.71, 387.9] |
qwen3-30b-a3b_tp1_fp8 | Qwen/Qwen3-30B-A3B-FP8 | 1 | fp8_w8a8 | 128 | 128 | 409.78 | 391.09 | 1.048 | [408.9, 409.78, 410.0] | [390.25, 391.12, 391.09] |
qwen3-30b-a3b_tp1_fp8 | Qwen/Qwen3-30B-A3B-FP8 | 1 | fp8_w8a8 | 192 | 128 | 414.25 | 398.49 | 1.04 | [413.47, 414.25, 414.28] | [398.24, 398.49, 398.58] |
qwen3-30b-a3b_tp1_fp8 | Qwen/Qwen3-30B-A3B-FP8 | 1 | fp8_w8a8 | 256 | 256 | 417.96 | 402.56 | 1.038 | [416.41, 417.96, 418.08] | [402.5, 402.56, 402.68] |
qwen3-30b-a3b_tp1_fp8 | Qwen/Qwen3-30B-A3B-FP8 | 1 | fp8_w8a8 | 384 | 256 | 425.09 | 434.11 | 0.979 | [423.59, 425.28, 425.09] | [434.11, 435.83, 426.41] |
qwen3-30b-a3b_tp1_fp8 | Qwen/Qwen3-30B-A3B-FP8 | 1 | fp8_w8a8 | 512 | 512 | 430 | 431.07 | 0.998 | [425.46, 430.0, 430.39] | [430.48, 431.07, 431.44] |
qwen3-30b-a3b_tp1_fp8 | Qwen/Qwen3-30B-A3B-FP8 | 1 | fp8_w8a8 | 768 | 512 | 444.12 | 440.44 | 1.008 | [438.18, 444.12, 444.19] | [440.18, 440.44, 449.21] |
qwen3-30b-a3b_tp1_fp8 | Qwen/Qwen3-30B-A3B-FP8 | 1 | fp8_w8a8 | 1,024 | 1,024 | 491.14 | 485.88 | 1.011 | [485.92, 491.14, 491.21] | [485.88, 487.78, 485.22] |
qwen3-30b-a3b_tp1_fp8 | Qwen/Qwen3-30B-A3B-FP8 | 1 | fp8_w8a8 | 1,536 | 1,536 | 619.72 | 578.02 | 1.072 | [610.9, 619.72, 620.1] | [576.05, 578.79, 578.02] |
qwen3-30b-a3b_tp1_fp8 | Qwen/Qwen3-30B-A3B-FP8 | 1 | fp8_w8a8 | 2,048 | 2,048 | 748.03 | 737.42 | 1.014 | [748.03, 733.55, 753.42] | [737.42, 720.01, 738.68] |
qwen3-30b-a3b_tp1_fp8 | Qwen/Qwen3-30B-A3B-FP8 | 1 | fp8_w8a8 | 3,072 | 3,072 | 1,031.32 | 1,010.95 | 1.02 | [1025.88, 1031.32, 1032.65] | [1009.48, 1010.95, 1013.22] |
qwen3-30b-a3b_tp1_fp8 | Qwen/Qwen3-30B-A3B-FP8 | 1 | fp8_w8a8 | 4,096 | 4,096 | 1,313.93 | 1,292.17 | 1.017 | [1297.97, 1314.55, 1313.93] | [1289.41, 1292.17, 1292.5] |
qwen3-30b-a3b_tp2_bf16 | Qwen/Qwen3-30B-A3B | 2 | auto | 1 | 1 | 16.86 | 15.81 | 1.067 | [16.86, 16.88, 16.82] | [15.82, 15.81, 15.77] |
qwen3-30b-a3b_tp2_bf16 | Qwen/Qwen3-30B-A3B | 2 | auto | 2 | 2 | 23.51 | 22.52 | 1.044 | [23.55, 23.51, 23.49] | [22.51, 22.52, 22.52] |
qwen3-30b-a3b_tp2_bf16 | Qwen/Qwen3-30B-A3B | 2 | auto | 3 | 2 | 32.57 | 31.68 | 1.028 | [32.57, 32.58, 32.54] | [31.68, 31.57, 31.68] |
qwen3-30b-a3b_tp2_bf16 | Qwen/Qwen3-30B-A3B | 2 | auto | 4 | 4 | 56 | 55.82 | 1.003 | [56.0, 56.01, 55.99] | [55.82, 55.83, 55.81] |
qwen3-30b-a3b_tp2_bf16 | Qwen/Qwen3-30B-A3B | 2 | auto | 8 | 8 | 159.75 | 158.41 | 1.008 | [159.75, 159.95, 159.75] | [158.41, 158.41, 158.4] |
qwen3-30b-a3b_tp2_bf16 | Qwen/Qwen3-30B-A3B | 2 | auto | 12 | 8 | 210.5 | 209.52 | 1.005 | [210.5, 210.37, 210.65] | [209.52, 209.55, 209.51] |
qwen3-30b-a3b_tp2_bf16 | Qwen/Qwen3-30B-A3B | 2 | auto | 16 | 16 | 250.48 | 249.42 | 1.004 | [250.48, 250.57, 250.37] | [249.42, 249.46, 249.38] |
qwen3-30b-a3b_tp2_bf16 | Qwen/Qwen3-30B-A3B | 2 | auto | 24 | 24 | 303.56 | 302.8 | 1.003 | [303.47, 303.56, 303.59] | [302.66, 302.83, 302.8] |
qwen3-30b-a3b_tp2_bf16 | Qwen/Qwen3-30B-A3B | 2 | auto | 32 | 32 | 338.51 | 334.94 | 1.011 | [338.51, 338.51, 338.64] | [334.87, 335.03, 334.94] |
qwen3-30b-a3b_tp2_bf16 | Qwen/Qwen3-30B-A3B | 2 | auto | 48 | 48 | 365.53 | 364.24 | 1.004 | [365.39, 365.53, 366.01] | [364.19, 364.24, 364.27] |
qwen3-30b-a3b_tp2_bf16 | Qwen/Qwen3-30B-A3B | 2 | auto | 64 | 64 | 376.49 | 376.05 | 1.001 | [376.26, 376.49, 376.52] | [375.97, 376.14, 376.05] |
qwen3-30b-a3b_tp2_bf16 | Qwen/Qwen3-30B-A3B | 2 | auto | 96 | 96 | 383.54 | 382.94 | 1.002 | [382.85, 383.57, 383.54] | [382.82, 382.94, 383.03] |
qwen3-30b-a3b_tp2_bf16 | Qwen/Qwen3-30B-A3B | 2 | auto | 128 | 128 | 385.41 | 385.54 | 1 | [385.25, 385.41, 385.79] | [385.12, 385.54, 385.59] |
qwen3-30b-a3b_tp2_bf16 | Qwen/Qwen3-30B-A3B | 2 | auto | 192 | 128 | 532.43 | 390.43 | 1.364 | [530.68, 532.43, 532.56] | [390.39, 390.43, 390.54] |
qwen3-30b-a3b_tp2_bf16 | Qwen/Qwen3-30B-A3B | 2 | auto | 256 | 256 | 537.35 | 394.1 | 1.363 | [537.35, 538.52, 536.35] | [393.47, 394.1, 394.12] |
qwen3-30b-a3b_tp2_bf16 | Qwen/Qwen3-30B-A3B | 2 | auto | 384 | 256 | 547.58 | 414.1 | 1.322 | [546.51, 547.58, 547.69] | [413.93, 414.1, 414.83] |
qwen3-30b-a3b_tp2_bf16 | Qwen/Qwen3-30B-A3B | 2 | auto | 512 | 512 | 554.84 | 411.44 | 1.349 | [553.01, 555.19, 554.84] | [407.71, 411.44, 411.83] |
qwen3-30b-a3b_tp2_bf16 | Qwen/Qwen3-30B-A3B | 2 | auto | 768 | 512 | 566.52 | 462.59 | 1.225 | [566.52, 567.65, 566.49] | [462.59, 463.87, 452.33] |
qwen3-30b-a3b_tp2_bf16 | Qwen/Qwen3-30B-A3B | 2 | auto | 1,024 | 1,024 | 568.53 | 455.96 | 1.247 | [566.3, 568.53, 568.92] | [454.35, 455.96, 456.32] |
qwen3-30b-a3b_tp2_bf16 | Qwen/Qwen3-30B-A3B | 2 | auto | 1,536 | 1,536 | 651.69 | 505.53 | 1.289 | [651.69, 638.1, 656.25] | [505.27, 505.53, 506.91] |
qwen3-30b-a3b_tp2_bf16 | Qwen/Qwen3-30B-A3B | 2 | auto | 2,048 | 2,048 | 768.05 | 596.09 | 1.288 | [768.05, 781.31, 750.71] | [596.09, 587.17, 599.04] |
qwen3-30b-a3b_tp2_bf16 | Qwen/Qwen3-30B-A3B | 2 | auto | 3,072 | 3,072 | 1,049.44 | 813.48 | 1.29 | [1049.44, 1061.31, 1041.75] | [812.93, 813.9, 813.48] |
qwen3-30b-a3b_tp2_bf16 | Qwen/Qwen3-30B-A3B | 2 | auto | 4,096 | 4,096 | 1,332.5 | 997.41 | 1.336 | [1325.34, 1334.18, 1332.5] | [996.04, 998.59, 997.41] |
qwen3-30b-a3b_tp2_fp8 | Qwen/Qwen3-30B-A3B-FP8 | 2 | fp8_w8a8 | 1 | 1 | 25.43 | 13.67 | 1.861 | [25.43, 25.33, 25.43] | [13.64, 13.67, 13.68] |
qwen3-30b-a3b_tp2_fp8 | Qwen/Qwen3-30B-A3B-FP8 | 2 | fp8_w8a8 | 2 | 2 | 28.2 | 16.68 | 1.691 | [28.24, 28.18, 28.2] | [16.68, 16.67, 16.69] |
qwen3-30b-a3b_tp2_fp8 | Qwen/Qwen3-30B-A3B-FP8 | 2 | fp8_w8a8 | 3 | 2 | 30.15 | 20.19 | 1.494 | [30.07, 30.15, 30.37] | [20.14, 20.24, 20.19] |
qwen3-30b-a3b_tp2_fp8 | Qwen/Qwen3-30B-A3B-FP8 | 2 | fp8_w8a8 | 4 | 4 | 40.03 | 23.64 | 1.693 | [40.03, 39.97, 40.24] | [23.7, 23.62, 23.64] |
qwen3-30b-a3b_tp2_fp8 | Qwen/Qwen3-30B-A3B-FP8 | 2 | fp8_w8a8 | 8 | 8 | 56.06 | 41.05 | 1.366 | [56.11, 56.06, 56.02] | [41.03, 41.06, 41.05] |
qwen3-30b-a3b_tp2_fp8 | Qwen/Qwen3-30B-A3B-FP8 | 2 | fp8_w8a8 | 12 | 8 | 121.69 | 102.87 | 1.183 | [121.93, 121.68, 121.69] | [102.87, 102.87, 102.87] |
qwen3-30b-a3b_tp2_fp8 | Qwen/Qwen3-30B-A3B-FP8 | 2 | fp8_w8a8 | 16 | 16 | 140.64 | 129.71 | 1.084 | [140.64, 140.44, 140.68] | [129.71, 129.69, 129.75] |
qwen3-30b-a3b_tp2_fp8 | Qwen/Qwen3-30B-A3B-FP8 | 2 | fp8_w8a8 | 24 | 24 | 168.96 | 159 | 1.063 | [168.83, 168.96, 169.3] | [159.0, 158.99, 159.22] |
- Hardware and software
- Shapes
- What's in here
- Method
- Results
- Kernel: default vs tuned (speedup = default / tuned, median of 3 rounds)
- Round 2: cold-weight A/B of the shipped files, all 23 M (speedup = default / shipped, median of 3)
- Round 3: Mixtral-8x7B, cold-weight A/B of the shipped files, all 23 M (speedup = default / shipped, median of 3)
- End-to-end: Qwen3-30B-A3B-FP8, TP1 (Triton MoE runner, the SM120 auto choice)
- End-to-end: Qwen3-30B-A3B (bf16), TP1
- Kernel: default vs tuned (speedup = default / tuned, median of 3 rounds)
- Limitations
- Reproduce
RTX PRO 6000 Blackwell Max-Q: fused-MoE Triton configs and full tuning sweeps
Tuned SGLang fused-MoE Triton kernel configs for the NVIDIA RTX PRO 6000 Blackwell Max-Q Workstation Edition (SM120, 96 GB, 300 W), plus every single kernel measurement behind them: 76,569 timed (shape, batch size, tile config) points over 18 shapes, a default-vs-tuned A/B over 23 batch sizes per shape, and a three-arm end-to-end SGLang server A/B.
Why this exists: on this card, SGLang main (Triton 3.8.0) had no MoE config for any popular single-node MoE model, so they ran on the generic default. Round 2 (2026-11-26) added DeepSeek-V2-Lite, Nemotron-3-Nano-30B-A3B (bf16 and FP8), GLM-4.5-Air-FP8 TP2 and GLM-4.7-Flash block-FP8. Round 3 (2026-11-27) added Mixtral-8x7B (bf16 TP2, per-tensor FP8 TP1 and TP2). The configs are upstreamed in sgl-project/sglang#53061; this dataset holds what a PR cannot: the full search space with timings (which tiles are good/bad on SM120 with 99 KB shared memory, how flat or peaked the optimum is), the scripts, and the raw server logs, so anyone with this card can check, extend or re-tune.
Every number here was measured by me on one card, with the commands in scripts/.
Hardware and software
| GPU | 1x NVIDIA RTX PRO 6000 Blackwell Max-Q Workstation Edition, 96 GB GDDR7, 300 W power limit, SM120 (cc 12.0), 99 KB (101376 B) shared memory per block opt-in, max SM clock 3090 MHz |
| Driver | 590.48.01 (CUDA 13.1) |
| torch | 2.14.1+cu130 |
| Triton | 3.8.0 |
| SGLang | round 1: main @ 8fdaa8787b264d09eee3b7e1dd64edaff1b9674b (2026-11-25), 0.5.24.dev; round 2: main @ b0f145c8fedab08fcb140f2d2806850854507f70 (2026-11-25); round 3: main @ 372967f04b4297c2e86ae7a09a13538d704cc445 (2026-11-26) |
| flashinfer / sgl-kernel | 0.7.4 / 0.4.11 |
| Host | 64 cores, 503 GB RAM; other GPUs in the box were busy with unrelated jobs (they share PCIe/host, not this GPU) |
The Max-Q (300 W) and the 600 W Workstation / Server Edition are different device_name strings in SGLang, and the clocks differ. These configs are only loaded on the Max-Q; whether they transfer to the 600 W cards was not tested.
Shapes
N = per-rank intermediate size (SGLang naming, w2.shape[2]; for non-gated relu2 experts it equals w1 rows); K = hidden size. TP2 shapes were tuned on one GPU with the per-rank shard, which is all the kernel sees.
| Run | Model(s) | TP | dtype | E | N | K | top-k | SGLang config file |
|---|---|---|---|---|---|---|---|---|
| qwen3-30b-a3b_tp1_bf16 | Qwen3-30B-A3B / Coder-30B-A3B / VL-30B-A3B | 1 | bf16 | 128 | 768 | 2048 | 8 | E=128,N=768,device_name=NVIDIA_RTX_PRO_6000_Blackwell_Max-Q_Workstation_Edition.json |
| qwen3-30b-a3b_tp1_fp8 | Qwen3-30B-A3B-FP8 (and other E=128 FP8 block) | 1 | fp8 block [128,128] | 128 | 768 | 2048 | 8 | E=128,N=768,device_name=NVIDIA_RTX_PRO_6000_Blackwell_Max-Q_Workstation_Edition,dtype=fp8_w8a8,block_shape=[128, 128].json |
| qwen3-30b-a3b_tp2_bf16 | Qwen3-30B-A3B / Coder-30B-A3B / VL-30B-A3B | 2 | bf16 | 128 | 384 | 2048 | 8 | E=128,N=384,device_name=NVIDIA_RTX_PRO_6000_Blackwell_Max-Q_Workstation_Edition.json |
| qwen3-30b-a3b_tp2_fp8 | Qwen3-30B-A3B-FP8 (and other E=128 FP8 block) | 2 | fp8 block [128,128] | 128 | 384 | 2048 | 8 | E=128,N=384,device_name=NVIDIA_RTX_PRO_6000_Blackwell_Max-Q_Workstation_Edition,dtype=fp8_w8a8,block_shape=[128, 128].json |
| qwen3.6-35b-a3b_tp1_bf16 | Qwen3.5/3.6-35B-A3B | 1 | bf16 | 256 | 512 | 2048 | 8 | E=256,N=512,device_name=NVIDIA_RTX_PRO_6000_Blackwell_Max-Q_Workstation_Edition.json |
| qwen3.6-35b-a3b_tp1_fp8 | Qwen3.5/3.6-35B-A3B-FP8 | 1 | fp8 block [128,128] | 256 | 512 | 2048 | 8 | E=256,N=512,device_name=NVIDIA_RTX_PRO_6000_Blackwell_Max-Q_Workstation_Edition,dtype=fp8_w8a8,block_shape=[128, 128].json |
| qwen3.6-35b-a3b_tp2_bf16 | Qwen3.5/3.6-35B-A3B | 2 | bf16 | 256 | 256 | 2048 | 8 | E=256,N=256,device_name=NVIDIA_RTX_PRO_6000_Blackwell_Max-Q_Workstation_Edition.json |
| qwen3.6-35b-a3b_tp2_fp8 | Qwen3.5/3.6-35B-A3B-FP8 | 2 | fp8 block [128,128] | 256 | 256 | 2048 | 8 | E=256,N=256,device_name=NVIDIA_RTX_PRO_6000_Blackwell_Max-Q_Workstation_Edition,dtype=fp8_w8a8,block_shape=[128, 128].json |
| qwen3-next-80b-a3b_tp2_fp8 | Qwen3-Next-80B-A3B FP8 | 2 | fp8 block [128,128] | 512 | 256 | 2048 | 10 | E=512,N=256,device_name=NVIDIA_RTX_PRO_6000_Blackwell_Max-Q_Workstation_Edition,dtype=fp8_w8a8,block_shape=[128, 128].json |
| glm-4.7-flash_tp1_bf16 | GLM-4.7-Flash (64 routed + 1 fused shared) | 1 | bf16 | 65 | 1536 | 2048 | 4 | E=65,N=1536,device_name=NVIDIA_RTX_PRO_6000_Blackwell_Max-Q_Workstation_Edition.json |
| glm-4.7-flash_tp1_fp8 (round 2) | GLM-4.7-Flash block-FP8 (e.g. RadixArk/glm47-flash-blockwise-fp8) | 1 | fp8 block [128,128] | 65 | 1536 | 2048 | 4 | E=65,N=1536,device_name=NVIDIA_RTX_PRO_6000_Blackwell_Max-Q_Workstation_Edition,dtype=fp8_w8a8,block_shape=[128, 128].json |
| glm-4.5-air_tp2_fp8 (round 2) | GLM-4.5-Air-FP8 (compressed-tensors: per-channel weights, dynamic per-token activations; 128 routed + 1 fused shared) | 2 | fp8 per-channel | 129 | 704 | 4096 | 8 | E=129,N=704,device_name=NVIDIA_RTX_PRO_6000_Blackwell_Max-Q_Workstation_Edition,dtype=fp8_w8a8,per_channel_quant=True.json |
| dsv2-lite_tp1_bf16 (round 2) | DeepSeek-V2-Lite / -Chat | 1 | bf16 | 64 | 1408 | 2048 | 6 | E=64,N=1408,device_name=NVIDIA_RTX_PRO_6000_Blackwell_Max-Q_Workstation_Edition.json |
| nemotron-3-nano-30b-a3b_tp1_bf16 (round 2) | NVIDIA-Nemotron-3-Nano-30B-A3B-BF16 (relu2, non-gated) | 1 | bf16 | 128 | 1856 | 2688 | 6 | E=128,N=1856,device_name=NVIDIA_RTX_PRO_6000_Blackwell_Max-Q_Workstation_Edition.json |
| nemotron-3-nano-30b-a3b_tp1_fp8 (round 2) | NVIDIA-Nemotron-3-Nano-30B-A3B-FP8 (ModelOpt per-tensor FP8) | 1 | fp8 per-tensor | 128 | 1856 | 2688 | 6 | E=128,N=1856,device_name=NVIDIA_RTX_PRO_6000_Blackwell_Max-Q_Workstation_Edition,dtype=fp8_w8a8.json |
| mixtral-8x7b_tp2_bf16 (round 3) | Mixtral-8x7B / -Instruct-v0.1 | 2 | bf16 | 8 | 7168 | 4096 | 2 | E=8,N=7168,device_name=NVIDIA_RTX_PRO_6000_Blackwell_Max-Q_Workstation_Edition.json |
| mixtral-8x7b_tp1_fp8 (round 3) | Mixtral-8x7B-Instruct FP8, per-tensor (compressed-tensors TENSOR e.g. RedHatAI/Mixtral-8x7B-Instruct-v0.1-FP8, AutoFP8) | 1 | fp8 per-tensor | 8 | 14336 | 4096 | 2 | E=8,N=14336,device_name=NVIDIA_RTX_PRO_6000_Blackwell_Max-Q_Workstation_Edition,dtype=fp8_w8a8.json |
| mixtral-8x7b_tp2_fp8 (round 3) | same, FP8 | 2 | fp8 per-tensor | 8 | 7168 | 4096 | 2 | E=8,N=7168,device_name=NVIDIA_RTX_PRO_6000_Blackwell_Max-Q_Workstation_Edition,dtype=fp8_w8a8.json |
What's in here
configs/triton_3_8_0/*.json the 18 shipped config files (= PR #53061; drop into $SGLANG_MOE_CONFIG_DIR/configs/triton_3_8_0/)
data/sweep.jsonl.gz every timed measurement: shape, M, stage, iters, config, us, error
data/tuning_summary.csv per (shape, M): default us, tuned us, #configs measured, winner + top-5
data/kernel_ab.csv default vs tuned, 23 M values, 3 alternating rounds (raw rounds included)
data/kernel_ab_cold.csv same with per-call weight copies (DRAM-cold weights): round 1 M <= 32; rounds 2-3 all 23 M
(independent re-check of the shipped file, column file=shipped)
data/server_ab_*.csv end-to-end SGLang server A/B (A default / B tuned / A2 default)
raw/runs/<run>/ meta.json, summary.jsonl, ab.jsonl, sweep.jsonl, the config file; rounds 2-3 also
ab_cold.jsonl (tuner file), final/ (shipped file), final_edits.json (keys reverted to
default), ab_cold_final.jsonl, ab_cold_verify.jsonl
raw/logs/round2/, round3/ tuning, cold A/B, finalize and verify logs per round
raw/e2e/<run>/ server logs, bench_serving logs + JSONL, GSM8K outputs per arm
scripts/ tune_shape.py (round 2 adds --per-channel), ab_kernel.py, ab_cold.py (--ladder),
finalize.py, pipeline2.sh, verify.sh, queue_round2.txt, queue_round3.txt, numcheck.py, table.py, cold_rerank.py, server_ab.sh, server_c1.sh,
chat_gsm8k.py, aggregate.py, server_table.py, queue/supervisor scripts, ray_stub/
sweep.jsonl row: {"run", "M", "stage": 1|2|3|"default", "iters", "cfg": {BLOCK_SIZE_M, BLOCK_SIZE_N, BLOCK_SIZE_K, GROUP_SIZE_M, num_warps, num_stages}, "us", "err"}. Stage 1/2 are 10-replay search measurements, stage 3 is the 100-replay re-measure of the top 5, default is SGLang's get_default_config measured in the same harness.
Method
Timing harness (same as SGLang's benchmark/kernels/fused_moe_triton/tuning_fused_moe_triton.py::benchmark_config): fused_moe() under override_config(cfg), 10 calls captured in one CUDA graph, 5 warm-up replays, a 256 MB write to flush L2, then N replays with the routing (topk_ids/weights) refreshed before each replay; reported value = mean time per fused_moe call in microseconds. Two speed-only changes versus the stock script: tensors are allocated once per M (not per config) and the per-replay routings are precomputed, so the refresh is a pure copy; the timed region is identical. Inputs are random (randn activations/weights, fp8 weights cast from fp16, random fp32 block scales), routing is top-k of random gating logits (uniform-ish expert load).
Search (scripts/tune_shape.py), per shape and per M in {1, 2, 4, 8, 16, 24, 32, 48, 64, 96, 128, 256, 512, 1024, 1536, 2048, 3072, 4096}:
- Stage 1: BLOCK_M {16..256} x BLOCK_N {32..256} x BLOCK_K {64,128,256} x warps {4,8} x stages {2,3,4}, GROUP_SIZE_M = 1. Configs whose (stages-1) x A/B tile bytes exceed 99 KB are skipped (they can only fail with OutOfResources); BLOCK_M > 64 is skipped for M <= 64 and > 128 for M <= 512. For fp8 block-quant [128,128], BLOCK_K must divide 128.
- Stage 2: the 6 best (BLOCK_M, BLOCK_N, BLOCK_K, warps) tiles x GROUP_SIZE_M {1,16,32,64} x stages {2,3,4,5}.
- Top 5 re-measured with 100 replays; fastest wins. This is ~230-320 configs per M instead of the stock tuner's 1920; the pruned regions are tiles that do not fit SM120 shared memory or are too tall for M.
Round-2 cold guard (scripts/pipeline2.sh): after tuning, the tuner's file is A/B'd against the default with the cold-weight harness (ab_cold.py --ladder, all 23 M). finalize.py puts the default tile back at every key where the tuned tile is not at least 2% faster cold; where an M between keys lost (M=384 for GLM-4.7-Flash fp8, M=768 for Nemotron fp8) a key with the default tile was added by hand (recorded in final_edits.json). verify.sh then re-runs the cold A/B on the final file from scratch; that run is what kernel_ab_cold.csv holds for round 2. The GLM-4.7-Flash fp8 and Nemotron fp8 runs use 13 batch sizes (1, 2, 4, ..., 4096) and 4 stage-2 tiles to fit the time budget. Round 2 has no warm ab.jsonl and no server run.
Kernel A/B (scripts/ab_kernel.py): for 23 M values (adds M between tuned keys: 3, 12, 192, 384, 768), measure SGLang's default config vs the tuned file's nearest key (exactly what the server looks up), alternating A/B for 3 rounds x 100 replays, report the median.
Server A/B (scripts/server_ab.sh): python -m sglang.launch_server --model-path <model> --tp 1 --mem-fraction-static 0.85, configs switched only via SGLANG_MOE_CONFIG_DIR (empty dir = default). Arms run A (default) -> B (tuned) -> A2 (default) to expose drift. Load: python -m sglang.benchmark.serving --backend sglang --dataset-name random --random-range-ratio 1.0 --seed 1 --warmup-requests 4 --flush-cache at concurrency 1/8/32/64/128/256 plus a prefill-only point. Accuracy: 200 GSM8K test questions over /v1/chat/completions, greedy, thinking off (scripts/chat_gsm8k.py).
Results
Kernel: default vs tuned (speedup = default / tuned, median of 3 rounds)
Warm-weight harness (stock tuner method), 23 M values in data/kernel_ab.csv; 13 shown:
| Config | 1 | 2 | 4 | 8 | 16 | 32 | 64 | 128 | 256 | 512 | 1024 | 2048 | 4096 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| E=128,N=768 bf16 | 1.09 | 1.01 | 1.03 | 1.00 | 1.00 | 1.00 | 1.00 | 1.00 | 1.46 | 1.43 | 1.31 | 1.32 | 1.40 |
| E=128,N=768 fp8 | 1.64 | 1.73 | 1.23 | 1.07 | 1.05 | 1.04 | 1.05 | 1.05 | 1.04 | 1.00 | 1.01 | 1.01 | 1.02 |
| E=128,N=384 bf16 | 1.07 | 1.04 | 1.00 | 1.01 | 1.00 | 1.01 | 1.00 | 1.00 | 1.36 | 1.35 | 1.25 | 1.29 | 1.34 |
| E=128,N=384 fp8 | 1.86 | 1.69 | 1.69 | 1.37 | 1.08 | 1.07 | 1.07 | 1.09 | 1.08 | 1.04 | 1.01 | 1.00 | 1.02 |
| E=256,N=512 bf16 | 1.07 | 1.06 | 1.00 | 1.00 | 1.00 | 1.00 | 1.00 | 1.00 | 1.00 | 1.45 | 1.43 | 1.31 | 1.31 |
| E=256,N=512 fp8 | 1.80 | 1.59 | 1.58 | 1.14 | 1.09 | 1.05 | 1.05 | 1.05 | 1.05 | 1.04 | 1.01 | 1.01 | 1.02 |
| E=256,N=256 bf16 | 1.06 | 1.06 | 1.03 | 1.00 | 1.00 | 1.01 | 1.00 | 1.01 | 1.02 | 1.35 | 1.31 | 1.26 | 1.25 |
| E=256,N=256 fp8 | 2.00 | 1.87 | 1.59 | 1.60 | 1.25 | 1.07 | 1.07 | 1.06 | 1.05 | 1.04 | 1.02 | 1.00 | 1.02 |
| E=512,N=256 fp8 | 1.88 | 1.66 | 1.43 | 1.36 | 1.07 | 1.05 | 1.05 | 1.05 | 1.05 | 1.05 | 1.04 | 1.01 | 1.05 |
| E=65,N=1536 bf16 | 1.12 | 1.01 | 1.03 | 1.01 | 1.01 | 1.00 | 1.00 | 1.51 | 1.50 | 1.49 | 1.41 | 1.35 | 1.45 |
The E=128,N=768 bf16 M=1 value is for the tuner's winner (1.09x warm); the shipped file keeps the default tile at M=1 (see below), i.e. 1.00x.
Cold-weight harness (scripts/ab_cold.py: each of the 10 graph-captured calls has its own weight copy, so weights come from DRAM as per-layer weights do in a real model), M <= 32, data/kernel_ab_cold.csv:
| Config | 1 | 2 | 4 | 8 | 16 | 32 |
|---|---|---|---|---|---|---|
| E=128,N=768 bf16 | 0.98 (tuner pick; shipped = default tile) | 1.00 | 1.03 | 1.00 | 1.00 | 1.00 |
| E=128,N=768 fp8 | 1.14 | 1.12 | 1.10 | 1.07 | 1.05 | 1.05 |
| E=128,N=384 bf16 | 1.00 | 1.00 | 1.00 | 1.01 | 1.00 | 1.01 |
| E=128,N=384 fp8 | 1.34 | 1.17 | 1.11 | 1.08 | 1.08 | 1.06 |
| E=256,N=512 bf16 | 1.00 | 1.00 | 1.00 | 1.00 | 1.00 | 1.00 |
| E=256,N=512 fp8 | 1.21 | 1.10 | 1.11 | 1.11 | 1.09 | 1.05 |
| E=256,N=256 bf16 | 1.01 | 1.00 | 1.00 | 1.00 | 1.00 | 1.01 |
| E=256,N=256 fp8 | 1.59 | 1.26 | 1.18 | 1.11 | 1.19 | 1.06 |
| E=512,N=256 fp8 | 1.47 | 1.16 | 1.11 | 1.08 | 1.06 | 1.05 |
| E=65,N=1536 bf16 | 1.01 | 1.00 | 1.03 | 1.01 | 1.01 | 1.00 |
Findings:
- **bf16, M <= E: the default is already optimal** (within ~1%, both harnesses) for every bf16 shape; there is nothing to gain from tuning bf16 decode on this card. The gain is entirely at M > E, where SGLang's default switches from
16/32/64to64/64/32and gets ~1.25-1.5x slower than tuned (e.g. E=128,N=768: 757 us at M=128 vs 1125 us at M=192 with the default, 765 us tuned). - fp8 block-quant, small M: the low-smem fp8 default is the weak spot: 1.6-2.0x slower than tuned at M=1 in the warm harness, 1.14-1.59x with cold weights; ~5-10% above M ~16.
- The stock (warm-weight) harness overstates small-M gains. At M=1 only top-k experts are touched, and with one weight copy they stay in the 128 MB L2 across the 10 captured calls. For
E=128,N=768 bf16the tuner's M=1 winner (16/128/64 w8 s4, 1.09x warm) was 0.98x with cold weights and +1.9% TPOT at concurrency 1 on the server, so the shipped file keeps the default tile at M=1 (raw tuner output is unchanged inraw/runs/; the cold re-rank is inraw/runs/qwen3-30b-a3b_tp1_bf16/cold_rerank.jsonl). Re-check small-M picks withscripts/ab_cold.pybefore trusting them. - The optimum is flat for mid-size M (e.g. M=64 bf16: >200 of 230 configs within 5% of best) and sharp for large M (M=4096: 1-18 configs within 5%, worst config 50-120x slower). See
data/sweep.jsonl.gz.
Round 2: cold-weight A/B of the shipped files, all 23 M (speedup = default / shipped, median of 3)
| Config | 1 | 2 | 4 | 8 | 16 | 32 | 64 | 128 | 256 | 384 | 512 | 1024 | 2048 | 4096 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| E=64,N=1408 bf16 (DSV2-Lite) | 1.00 | 1.00 | 1.02 | 1.00 | 1.00 | 1.01 | 1.01 | 1.55 | 1.54 | 1.37 | 1.48 | 1.37 | 1.36 | 1.36 |
| E=128,N=1856 bf16 (Nemotron-3-Nano) | 1.00 | 1.00 | 1.02 | 1.00 | 1.00 | 1.00 | 1.00 | 1.00 | 1.54 | 1.47 | 1.53 | 1.50 | 1.31 | 1.25 |
| E=129,N=704 fp8 per-channel (GLM-4.5-Air TP2) | 1.06 | 1.03 | 1.00 | 1.00 | 1.03 | 1.02 | 1.03 | 1.04 | 1.04 | 1.03 | 1.00 | 1.00 | 1.07 | 1.22 |
| E=65,N=1536 fp8 [128,128] (GLM-4.7-Flash) | 1.19 | 1.11 | 1.08 | 1.12 | 1.07 | 1.07 | 1.07 | 1.08 | 1.05 | 1.00 | 1.00 | 1.00 | 1.00 | 1.00 |
| E=128,N=1856 fp8 per-tensor (Nemotron-3-Nano) | 1.08 | 1.04 | 1.04 | 1.03 | 1.00 | 1.00 | 1.00 | 1.00 | 1.09 | 1.03 | 1.09 | 1.03 | 1.15 | 1.17 |
Lowest of all 115 points: 0.998 (default-tile keys). Round-2 findings:
- Same bf16 pattern as round 1: default optimal for M <= E, 1.25-1.55x above.
- GLM-4.7-Flash block-FP8: the tuner's tiles above M=256 lost to the default with cold weights (0.91-0.99, e.g. M=768 0.906), although the warm tuner harness had them 1.00-1.03x ahead; those keys keep the default.
- fp8 per-tensor and per-channel (non-block) defaults are closer to optimal than the block-FP8 default: 1.00-1.08x at small M, up to 1.17-1.22x at M=4096.
- Mixtral-8x7B (E=8) was not tuned in round 2 (time budget); it is round 3.
Round 3: Mixtral-8x7B, cold-weight A/B of the shipped files, all 23 M (speedup = default / shipped, median of 3)
| Config | 1 | 2 | 4 | 8 | 12 | 16 | 32 | 64 | 128 | 256 | 384 | 512 | 1024 | 2048 | 4096 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| E=8,N=7168 bf16 (TP2) | 1.00 | 1.00 | 1.00 | 1.00 | 1.54 | 1.56 | 1.57 | 1.56 | 1.50 | 1.39 | 1.44 | 1.38 | 1.40 | 1.47 | 1.53 |
| E=8,N=14336 fp8 per-tensor (TP1) | 1.00 | 1.02 | 1.00 | 1.00 | 1.02 | 1.02 | 1.02 | 1.00 | 1.00 | 1.04 | 1.19 | 1.07 | 1.21 | 1.24 | 1.28 |
| E=8,N=7168 fp8 per-tensor (TP2) | 1.00 | 1.03 | 1.00 | 1.00 | 1.04 | 1.04 | 1.04 | 1.03 | 1.00 | 1.00 | 1.15 | 1.05 | 1.20 | 1.26 | 1.33 |
Lowest of all 69 points: 0.996 (M=192 on the TP2 fp8 file, a default-tile key). Round-3 findings:
- With E=8 the bf16 default leaves
16/32/64already at M > 8, so the bf16 gain starts at M=12: 1.26-1.57x from there to 4096 (e.g. M=16: 1347 -> 863 us). For M <= 8 the bf16 default is optimal again (tuner gains 1.00-1.02x, reverted). - Per-tensor FP8: the low-smem default is within 1-4% at decode sizes; the gain grows with M above 256 (1.03-1.33x, e.g. TP1 M=2048: 4788 -> 3854 us).
- Cold guard: keys 1/4/8/64/128 (TP1 fp8), 1/2/4/8 (TP2 bf16) and 1/4/8/128/256 (TP2 fp8) keep the default tile. In the TP2 fp8 file the tuned key-256 tile tied at M=256 but was 1.14x at M=384, so a key 384 carries it (hand edit, in
final_edits.json). scripts/numcheck.py: outputs with the shipped tile equal the default config's bit for bit (max abs diff 0 at M = 1, 12, 384, 4096 on all three files).- Mixtral bf16 TP1 (
E=8,N=14336bf16) was not tuned: ~93 GB of bf16 weights leave no KV room on one 96 GB card.
End-to-end: Qwen3-30B-A3B-FP8, TP1 (Triton MoE runner, the SM120 auto choice)
Arms A (default) -> B (tuned) -> A2 (default); change = B vs mean(A, A2).
| Concurrency | In / out | Output tok/s A / A2 | B | Change | Mean TPOT ms A / A2 | B | Change | Mean TTFT ms A / A2 | B | Change |
|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 2048 / 128 | 185 / 185 | 193 | +4.4% | 4.91 / 4.92 | 4.70 | -4.4% | 67 / 64 | 64 | -2.1% |
| 8 | 2048 / 256 | 650 / 650 | 689 | +6.0% | 11.10 / 11.11 | 10.41 | -6.3% | 313 / 312 | 313 | +0.0% |
| 32 | 2048 / 256 | 1238 / 1223 | 1274 | +3.5% | 21.99 / 22.06 | 21.29 | -3.3% | 999 / 1061 | 993 | -3.6% |
| 64 | 1024 / 512 | 2339 / 2338 | 2409 | +3.0% | 25.55 / 25.55 | 24.78 | -3.0% | 929 / 934 | 923 | -0.9% |
| 128 | 1024 / 256 | 2972 / 2975 | 3017 | +1.5% | 36.29 / 36.28 | 35.65 | -1.8% | 1744 / 1730 | 1738 | +0.1% |
| 256 | 512 / 256 | 5433 / 5422 | 5488 | +1.1% | 40.45 / 40.50 | 39.83 | -1.6% | 1700 / 1708 | 1731 | +1.6% |
| 16 (prefill only) | 4096 / 1 | 33757 / 33765 total | 34013 | +0.7% | - | - | - | 1893 / 1893 | 1880 | -0.7% |
GSM8K (200, greedy): A 0.960, B 0.955, A2 0.960; identical outputs A=B 38/200, A=A2 38/200, B=A2 64/200
End-to-end: Qwen3-30B-A3B (bf16), TP1
| Concurrency | In / out | Output tok/s A / A2 | B | Change | Mean TPOT ms A / A2 | B | Change | Mean TTFT ms A / A2 | B | Change |
|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 2048 / 128 | 156 / 156 | 155 | -0.6% | 5.68 / 5.67 | 5.78 | +1.9% | 97 / 97 | 88 | -9.1% |
| 8 | 2048 / 256 | 446 / 446 | 461 | +3.4% | 16.04 / 16.06 | 15.82 | -1.4% | 501 / 493 | 408 | -17.9% |
| 32 | 2048 / 256 | 805 / 801 | 850 | +6.0% | 33.62 / 33.77 | 32.70 | -3.0% | 1592 / 1599 | 1274 | -20.2% |
| 64 | 1024 / 512 | 1498 / 1501 | 1542 | +2.8% | 39.75 / 39.72 | 39.23 | -1.3% | 1531 / 1518 | 1175 | -23.0% |
| 128 | 1024 / 256 | 1920 / 1917 | 2066 | +7.7% | 55.58 / 55.63 | 53.36 | -4.0% | 2860 / 2869 | 2220 | -22.5% |
| 256 | 512 / 256 | 2911 / 2904 | 3750 | +29.0% | 77.03 / 77.12 | 59.75 | -22.5% | 2823 / 2845 | 2196 | -22.5% |
| 16 (prefill only) | 4096 / 1 | 22069 / 22101 total | 27509 | +24.6% | - | - | - | 2898 / 2893 | 2323 | -19.8% |
GSM8K (200, greedy): A 0.980, B 0.965, A2 0.970; identical outputs A=B 97/200, A=A2 83/200, B=A2 134/200
Recheck after the M=1 hand edit (B2 = shipped file, A3 = default, back-to-back): concurrency 1: 158.05 vs 156.34 tok/s, TPOT 5.68 vs 5.68 ms, TTFT 86 vs 96 ms; concurrency 8: 461.17 vs 446.20 tok/s, TPOT 15.81 vs 16.03 ms. The B row at concurrency 1 above (TPOT +1.9%) is the tuner's M=1 entry that was reverted.
Limitations
- One card, one power limit. All numbers are from a single RTX PRO 6000 Max-Q at its 300 W limit; no repeat on a second card. Other GPUs in the same host were running unrelated work during the runs.
- Random routing. Tuning and kernel A/B use random gating, not captured real
topk_ids. Real routing is skewed and can move the optimum (see sglang #50928 for an H20 case where it did). The server A/B uses real model routing. - Pruned search. Not the full 1920-config stock search; the pruning is described above and every measured config is in
sweep.jsonl. - TP2 files were tuned and A/B'd on one GPU (the per-rank shape). No TP2 serving run.
- Server A/B only for Qwen3-30B-A3B (FP8 and BF16) at TP1; Qwen3.6-35B-A3B, Qwen3-Next-80B-A3B, GLM-4.7-Flash, all round-2/3 shapes and the TP2 shapes are kernel-level only.
- The round-1 cold-weight re-check covers M <= 32 only (rounds 2-3 cover all 23 M); only one small-M entry (E=128,N=768 bf16, M=1) was found to regress and was reverted in the shipped file. Other small-M fp8 picks were faster in both harnesses.
- GSM8K checks (200 questions) are a sanity gate, not an accuracy benchmark; the tiling change does not alter the math.
- Configs are keyed by Triton version: they are for Triton 3.8.0 and may be suboptimal on other Triton versions.
- No
_down(separate down-projection / TMA) configs.
Reproduce
# env: sglang main @ 8fdaa8787b, torch 2.14.1+cu130, triton 3.8.0
export SGL_BENCH_DIR=<sglang>/benchmark/kernels/fused_moe_triton
export PYTHONPATH=<sglang>/python:<dir with a 'ray' import stub> # the stock tuner imports ray at module level
CUDA_VISIBLE_DEVICES=0 python scripts/tune_shape.py --model Qwen/Qwen3-30B-A3B-FP8 --tp 1 --dtype fp8_w8a8 --out-dir runs/qwen3-30b-a3b_tp1_fp8
CUDA_VISIBLE_DEVICES=0 python scripts/ab_kernel.py --run-dir runs/qwen3-30b-a3b_tp1_fp8
# round 2 (tune -> cold ladder A/B -> cold guard -> independent cold re-check), lines name|model|tp|dtype|extra
bash scripts/pipeline2.sh scripts/queue_round2.txt && bash scripts/verify.sh
# round 3 (Mixtral): same pipeline, then the bit-exactness check
bash scripts/pipeline2.sh scripts/queue_round3.txt && bash scripts/verify.sh && python scripts/numcheck.py mixtral-8x7b_tp1_fp8 mixtral-8x7b_tp2_bf16 mixtral-8x7b_tp2_fp8
bash scripts/server_ab.sh <name> Qwen/Qwen3-30B-A3B-FP8 <dir containing configs/triton_3_8_0/>
Only config.json is needed for tuning; weights are needed only for the server A/B.
GPU time: round 1 about 3.6 h of tuning + 1.5 h of A/B and server runs (5 GPU-hours); round 2 about 3.2 h of tuning + 0.6 h of cold A/B and verification (3.8 GPU-hours); round 3 about 2.0 h of tuning + 0.6 h of cold A/B, verification and the output check (2.7 GPU-hours, 02:50-05:30 UTC), one card each.
- Downloads last month
- 143