Official Inference Code of EAGLE-4
{
"identity": {
"device": "AMD Instinct MI355X VF",
"torch": "2.9.1+rocm7.2.0.git7e1940d4",
"triton": "3.7.0",
"dtype": "torch.bfloat16",
"vocab_size": 248320,
"num_candidates": 128
},
"max_triton_elements": 63569920,
"measurements": [
{
"rows": 1,
"elements": 248320,
"torch_us": 79.20100167393684,
"triton_us": 33.460499718785286,
"samples_us": {
"torch": [
80.40100336074829,
79.28100228309631,
80.64199984073639,
78.92099767923355,
79.52100038528442,
77.04100012779236,
78.44199985265732,
79.56100255250931,
78.44100147485733,
79.12100106477737
],
"triton": [
34.52000021934509,
33.799998462200165,
31.640999019145966,
33.76099839806557,
31.560000032186508,
34.07999873161316,
31.76100179553032,
33.96100178360939,
31.679999083280563,
33.160001039505005
]
}
},
{
"rows": 4,
"elements": 993280,
"torch_us": 73.52099940180779,
"triton_us": 33.53999927639961,
"samples_us": {
"torch": [
74.2809996008873,
74.0009993314743,
74.2809996008873,
73.08100163936615,
73.32099974155426,
73.92100244760513,
73.64100217819214,
73.40099662542343,
73.24200123548508,
73.16099852323532
],
"triton": [
33.560000360012054,
33.319998532533646,
34.32000055909157,
33.681001514196396,
35.40100157260895,
33.72099995613098,
31.3199982047081,
33.51999819278717,
30.561000108718872,
30.719999223947525
]
}
},
{
"rows": 8,
"elements": 1986560,
"torch_us": 91.42199903726578,
"triton_us": 33.14049914479256,
"samples_us": {
"torch": [
90.84100276231766,
91.5210023522377,
92.36100316047668,
91.44199639558792,
92.12200343608856,
91.68200194835663,
91.40200167894363,
90.72200208902359,
90.6819999217987,
91.04199707508087
],
"triton": [
34.040000289678574,
33.19999948143959,
33.52100029587746,
32.76100009679794,
34.320998936891556,
33.20100158452988,
31.68100118637085,
33.08099880814552,
31.801000237464905,
31.84099867939949
]
}
},
{
"rows": 16,
"elements": 3973120,
"torch_us": 97.80149906873703,
"triton_us": 40.96050001680851,
"samples_us": {
"torch": [
97.96100109815598,
97.88099676370621,
98.60099852085114,
98.04199635982513,
97.52199798822403,
97.72200137376785,
97.96100109815598,
97.6409986615181,
97.36199676990509,
96.76200151443481
],
"triton": [
41.76099970936775,
41.04100167751312,
40.8799983561039,
41.200000792741776,
40.76100140810013,
40.081001818180084,
41.200000792741776,
40.800001472234726,
40.36099836230278,
41.96099936962128
]
}
},
{
"rows": 32,
"elements": 7946240,
"torch_us": 103.76150161027908,
"triton_us": 54.80100028216839,
"samples_us": {
"torch": [
104.68199849128723,
102.84200310707092,
103.80200296640396,
103.12200337648392,
104.68199849128723,
105.12199997901917,
104.2810007929802,
103.44099998474121,
103.7210002541542,
102.72099822759628
],
"triton": [
55.76099827885628,
59.04100090265274,
54.56100031733513,
54.96099963784218,
54.6410009264946,
54.281000047922134,
54.4000007212162,
58.56100097298622,
53.640998899936676,
55.4409995675087
]
}
},
{
"rows": 64,
"elements": 15892480,
"torch_us": 143.32249760627747,
"triton_us": 79.92099970579147,
"samples_us": {
"torch": [
143.2819962501526,
143.68200302124023,
145.04200220108032,
144.2819982767105,
142.643004655838,
144.12200450897217,
143.12200248241425,
143.36299896240234,
141.96200668811798,
142.24199950695038
],
"triton": [
80.72199672460556,
81.48100227117538,
80.00099658966064,
80.68100363016129,
79.8410028219223,
80.68100363016129,
78.64099740982056,
79.20099794864655,
78.60100269317627,
78.2409980893135
]
}
},
{
"rows": 128,
"elements": 31784960,
"torch_us": 225.98300129175186,
"triton_us": 131.64199888706207,
"samples_us": {
"torch": [
227.44299471378326,
226.282998919487,
227.0829975605011,
225.04399716854095,
227.16400027275085,
226.36400163173676,
225.68300366401672,
223.68299961090088,
224.1629958152771,
223.68299961090088
],
"triton": [
131.88199698925018,
132.68199563026428,
132.9219937324524,
133.84200632572174,
135.0419968366623,
131.40200078487396,
130.0020068883896,
129.76199388504028,
129.52199578285217,
130.60200214385986
]
}
},
{
"rows": 256,
"elements": 63569920,
"torch_us": 397.0860093832016,
"triton_us": 227.4240031838417,
"samples_us": {
"torch": [
402.24599838256836,
398.00599217414856,
398.4059989452362,
396.6059982776642,
398.3660042285919,
396.72601222991943,
397.44600653648376,
396.3260054588318,
392.3659920692444,
395.5259919166565
],
"triton": [
232.80300199985504,
232.683002948761,
231.44300282001495,
229.9630045890808,
227.2839993238449,
227.5640070438385,
226.0430008172989,
224.6430069208145,
223.00399839878082,
223.1229990720749
]
}
}
]
}