Skip to content

[HIP] fea: add LL, LL128 proto into gfx9 - #5272

Merged
valarLip merged 2 commits into
mainfrom
gfx9_ll_ll128
Sep 13, 2026
Merged

valarLip merged 2 commits into
mainfrom
gfx9_ll_ll128

Conversation

@TennyWang1223

Copy link
Copy Markdown
Contributor

Motivation

add LL proto and LL128 proto for optimization of small size case

Technical Details

remove rank level sync and replace by LL,LL128 proto

Test Plan

Test Result

MI308 tp2

  baseline ll ll128 b256 ll128 b512 ll128 b1024
1024 12.98 5.49 10.6 10.77 10.65
2048 13.12 5.46 11 11.07 10.77
4096 13.43 5.42 8.4 11.33 11.55
7168 13.86 5.32 7.89 11.35 11.31
8192 13.62 5.43 7.12 8.49 11.7
2*7168 13.98 5.36 6.83 8.59 12.5
2*8192 14 5.19 6.3 7.47 9.07
4*7168 14.3 5.9 6.12 7.2 9.34
4*8192 14.83 6.14 6.45 7 8.36
8*7168 16.3 8.02 7.59 7.99 8.57
8*8192 16.55 8.72 9 8.02 8.81
16*7168 18.65 12.88 9.62 10.31 10.23
16*8192 19.78 14.51 10.72 10.84 11.03
32*7168 24.42 24.27 15.24 15.09 15.19
32*8192 25.04 26.7 16.8 16.7 16.78
64*7168 33.69 43.95 25.34 26.05 25.85
64*8192 36.95 50.2 28.29 28.23 28.28
128*7168 54.11 85.7 49.61 45.87 47.09
128*8192 59.92 96.95 53.2 51.71 52.21
256*7168 99.15 168.54 91.16 89.16 87.02
256*8192 108.75 192.03 104.37 100.74 98.63
512*7168 175.89 335.19 178.62 175.76 171.33
512*8192 197.63 382.96 204.01 200.04 194.6
1024*7168 331.55 668.5 354.64 348.02 340.17
1024*8192 377.44 762.34 405.3 398.45 389.39
2048*7168 649.77 1332.35 707.04 698.71 687.44
2048*8192 737.73 1521.82 807.99 801.23 787.31
4096*7168 1277.77 2664.31 1417.07 1409.67 1382.22
4096*8192 1460.21 3042.05 1621.97 1611.16 1581.16

MI308 tp4

  baseline ll ll128 b256 ll128 b512 ll128 b1024
1024 14.63 5.22 11.69 11.3 11.52
2048 14.02 5.22 12.09 11.84 12.7
4096 13.88 5.25 9.42 13.06 13.21
7168 14.14 5.4 9.36 13.74 13.15
8192 13.99 5.81 8.57 10.11 13.26
2*7168 14.28 5.34 7.58 10.02 15.51
2*8192 14.56 5.54 7.6 9.07 12.71
4*7168 15.74 7.08 7.6 8.44 12.43
4*8192 15.87 8.35 7.54 8.26 11.77
8*7168 16.94 10.56 8.48 8.95 11.77
8*8192 17.75 11.65 8.54 9.39 12.22
16*7168 14.78 17.49 12.03 11.19 13.57
16*8192 15.31 19.47 13.55 13.14 15.17
32*7168 18.83 29.48 20.55 18.58 18.54
32*8192 20.29 35.35 22.63 21.08 20.52
64*7168 26.36 52.79 34.18 32.27 32.24
64*8192 26.58 60.97 36.7 35.88 36.51
128*7168 38.28 100.34 58.33 59.18 58.72
128*8192 41.42 112.2 64.55 66.8 67.2
256*7168 62.55 195.04 106.26 103.63 105.27
256*8192 68.61 223.2 121.48 118.07 117.67
512*7168 111.51 384.31 198.86 198.67 191.34
512*8192 127.55 440.33 224.16 228.35 229.35
1024*7168 205.78 765.6 384.17 387.57 390.17
1024*8192 232.06 872.02 438.62 440.95 435.88
2048*7168 397.46 1522.59 756 754.92 741.23
2048*8192 451.74 1740.29 861.29 850.53 847.44
4096*7168 780.58 3048.46 1501.88 1474.57 1461.8
4096*8192 886.44 3483.03 1715.62 1676.47 1665.9

MI308 tp8

  baseline ll ll128 b256 ll128 b512 ll128 b1024
1024 14.21 7.95 16.44 16.41 16.93
2048 14.83 7.59 17.18 17.23 17.45
4096 15.51 8.42 15.39 18.42 18.2
7168 14.91 8.15 15.5 19.98 19.68
8192 14.98 7.36 14.02 16.26 20.06
2*7168 15.74 8.06 12.68 16.26 25.59
2*8192 15.12 8.25 12.64 15.25 22.01
4*7168 16.28 10.54 12.92 14.92 22.03
4*8192 16.51 11.21 13.31 15.93 21.91
8*7168 14.43 15.12 15.43 17.2 22.58
8*8192 14.46 16.35 16.15 16.75 22.21
16*7168 15.56 26.27 20.26 20.06 24.33
16*8192 15.71 27.97 22.31 20.58 24.41
32*7168 18.37 41.73 34.53 28.77 30.66
32*8192 19.21 48.28 40.44 30.88 31.34
64*7168 22.99 71.7 59.95 53.61 43.7
64*8192 23.71 82.51 67.89 60.59 49.52
128*7168 30.31 134.09 96.43 90.67 82.73
128*8192 32.96 150.1 108.65 100.01 94.45
256*7168 43.29 254.68 168.85 145.58 156.88
256*8192 47.99 292.44 190.07 182.98 173.89
512*7168 71.54 493.37 304.45 306.17 261.04
512*8192 78.35 563.18 335.17 331.09 326.77
1024*7168 121.54 981.78 529.93 518.31 521.05
1024*8192 135.52 1122.52 595.95 580.46 592.65
2048*7168 218.98 1955.59 968.83 954.82 964.47
2048*8192 245.71 2244.52 1089.31 1080.69 1084.06
4096*7168 434.35 3944.21 1837.5 1793.19 1851.19
4096*8192 489.97 4512.78 2088.8 2031.16 2087.35

MI355 tp2

baseline ll ll128 b256 ll128 b512 ll128 b1024
10.37 5.74 7.68 7.42 8.64
10.19 6.14 7.49 7.95 7.53
10.28 8.15 7.6 7.55 7.66
10.15 3.89 9.1 7.65 7.5
10.21 7.11 8.83 6.71 7.77
10.08 8.66 9.54 8.11 8.21
10.03 6.62 8.2 7.42 6.78
10.36 8.11 9.04 5.64 7.24
10.47 8.47 9.52 8.29 9.93
11.35 8.68 7.1 8.01 7.26
11.75 7.06 8.85 7.42 6.72
13.94 11.11 7.96 7.96 8.21
13.98 12.02 8.83 8.84 11.32
18.29 19.61 12.6 12.73 12.67
19.41 22.59 14.04 14.06 14.1
26.11 37.65 21.54 21.56 21.52
29.12 42.84 24.11 24.23 24.05
42.64 73.88 40.88 39.75 39.51
47.52 83.72 46.18 45.07 44.65
74.9 144.9 78.66 77.19 76.06
84.36 165.37 88.46 87.73 87.33
141.07 287.9 153.25 150.9 153.5
158.63 328.72 175.13 171.62 175.03
271.8 572.92 305.69 301.33 307.37
309.01 654.96 349.45 344.62 350.08
532.09 1145.88 610 604.81 617.43
607.24 1309.49 697.37 692.29 705.45
1054.53 2298.98 1215.34 1215.03 1238.87
1205.55 2628 1389.22 1389.33 1417.86

MI355 tp4

  baseline ll ll128 b256 ll128 b512 ll128 b1024
1024 10.75 10.29 8.66 8.35 8.83
2048 10.92 8.1 8.85 10.66 8.77
4096 10.78 7.4 11.06 10.71 12.96
7168 10.88 7.34 7.15 9.65 11.19
8192 10.87 9.44 6.73 9.79 9.98
2*7168 10.86 10.07 9.5 11.33 11.97
2*8192 11.18 8.31 10.27 7.49 10.74
4*7168 10.94 11.1 7.38 21.69 10.45
4*8192 11.17 10.63 7.28 7.43 10.23
8*7168 22.25 9.04 8.39 11.93 10.52
8*8192 12.94 9.68 8.25 8.52 10.74
16*7168 10.82 14.5 11.24 10.64 12.15
16*8192 11.23 15.49 12.19 11.82 12.65
32*7168 12.85 23.93 17.7 16.75 16.41
32*8192 13.24 27.57 19.59 18.43 17.86
64*7168 16.92 43.78 32.23 28.45 27.89
64*8192 17.61 49.43 36.3 32.46 30.66
128*7168 25.31 82.45 61.54 51.53 51.1
128*8192 28.27 92.98 66.95 58.22 57.79
256*7168 42.74 160.32 102.63 99.35 95.41
256*8192 47.1 182.38 115.06 110.77 108.05
512*7168 77.92 315.78 184.81 180.97 185.14
512*8192 86.42 360.92 208.57 201.87 206.1
1024*7168 147.2 627.19 346.23 336.14 344.9
1024*8192 161.35 716.09 395.58 385.49 407.5
2048*7168 277.91 1249.78 678.02 663.24 685.51
2048*8192 316.22 1428.54 775.52 756.39 771.32
4096*7168 549.05 2509.65 1347.79 1315.01 1334.74
4096*8192 626.56 2870.92 1541.67 1500.51 1519.02

MI355 tp8

  LL LL128-256 LL28-512 LL28-1024 baseline
1024 10.29 18.19 13.47 13.46 14.05
2048 6.9 21.92 11.51 18.46 12.66
4096 10.52 10.61 10.66 12.6 13.29
8192 10.18 10.07 10.04 11.87 13.11
2*8192 8.58 10.27 10.28 11.31 13.19
4*8192 9.5 10.19 10.34 11.43 13.54
8*8192 14.36 12.34 11.6 12.24 11.44
16*8192 23.03 17.26 15.67 15.31 11.52
32*8192 40.07 32.66 23.78 21.86 18.76
64*8192 69.55 48.63 45.34 35.54 15.31
128*8192 126.39 80.2 73.03 67.15 20.73
256*8192 244.69 142.83 126.59 121.16 30.33
512*8192 482.01 270.33 244.76 222.9 49.38
1024*8192 952.44 529.65 453.7 426.72 87.76
2048*8192 1916.78 1054.89 901.28 836.36 164.78
4096*8192 3872.92 2097.16 1813.57 1652.76 319.12

Submission Checklist

@TennyWang1223
TennyWang1223 requested review from a team and valarLip September 4, 2026 03:47
@github-actions

github-actions Bot commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

🏷️ CI Guide

Runs automatically on every PR:

  • ✅ Pre-checks (submodule verification, code formatting)
  • ✅ Aiter op tests (gfx942 + gfx950)
  • ✅ Triton tests on MI35X (only when aiter/ops/triton/** or related paths are changed)

Extended tests (opt-in via labels):

Label Tests
ci:gfx1250-ffm-triton Run the five-shard gfx1250 FFM Triton test suite
ci:triton-300x Run an additional Triton test job on MI300X in PRs; main branch always runs both MI35X and MI300X
multigpu Aiter multi-GPU tests on the 8-GPU runner
ci:sglang SGLang integration tests: DeepSeek-R1-MXFP4 accuracy, Qwen 3.5 accuracy
ci:atom ATOM benchmark: DeepSeek-R1-0528, GPT-OSS-120B
ci:atom_full ATOM accuracy suite for PR and main models from ATOM models_accuracy.json
ci:vllm vLLM benchmark: GPT-OSS-120B, DeepSeek-R1-0528, Kimi-K2.5
ci:all All standard extended tests (excludes ci:atom_full)

Only add ci:atom_full for FlyDSL or Triton upgrades.
Add labels via the sidebar or gh pr edit 5272 --add-label <label>

PR title tags & labels:
Component tags ([Triton/Gluon], [HIP], [CK], [ASM], ...) are added to the PR title and as PR labels automatically from the changed files and re-synced on every push — change-type tags like [fix]/[Perf], op tags like [MLA], and human labels (ci:*) are left untouched. Add the no-auto-title label to opt this PR out.

@github-actions github-actions Bot changed the title fea: add LL, LL128 proto into gfx9 [HIP] fea: add LL, LL128 proto into gfx9 Sep 4, 2026
@github-actions github-actions Bot added the HIP label Sep 4, 2026
Signed-off-by: TennyWang1223 <[email protected]>
@valarLip
valarLip merged commit 2039d2b into main Sep 13, 2026
57 of 58 checks passed
@valarLip
valarLip deleted the gfx9_ll_ll128 branch September 13, 2026 03:30
sammysun0711 pushed a commit to sammysun0711/aiter that referenced this pull request Sep 16, 2026
* fea: add LL, LL128 proto into gfx9

Signed-off-by: TennyWang1223 <[email protected]>

* fix: ll and ll128 dispatch

Signed-off-by: TennyWang1223 <[email protected]>

---------

Signed-off-by: TennyWang1223 <[email protected]>
Co-authored-by: TennyWang1223 <[email protected]>
Signed-off-by: Xiake Sun <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants