You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
GroupedLinear performance on Mixtral-8x7B at EP=2 #2939
The issue turned out to be for the tier two, which is the looping through the experts' implementation. We didn't attach gradients. Therefore, in the backward pass, the experts are not computing the gradients, that's why it's surprisingly fast. After the fix, now they are normalized.
Tier 2: ~676 ms
Tier 3: ~686 ms
Tier 3 is using the legacy grouped linear. For better improvement, check out the pull request. It used a new sequential operation which improved the performance. PR in progress: #2923
HF BF16 baseline 792 ms
TE EP BF16, Python expert loop 627.5 ms
TE EP BF16, legacy GroupedLinear 592.5 ms
TE EP BF16, Sequential Ops GroupedLinear 535.5 ms
Activity
faradawn commentedon Apr 30, 2026
PR in progress: #2923
faradawn commentedon May 8, 2026
The issue turned out to be for the tier two, which is the looping through the experts' implementation. We didn't attach gradients. Therefore, in the backward pass, the experts are not computing the gradients, that's why it's surprisingly fast. After the fix, now they are normalized.
Tier 2: ~676 ms
Tier 3: ~686 ms
Tier 3 is using the legacy grouped linear. For better improvement, check out the pull request. It used a new sequential operation which improved the performance. PR in progress: #2923
HF BF16 baseline 792 ms
TE EP BF16, Python expert loop 627.5 ms
TE EP BF16, legacy GroupedLinear 592.5 ms
TE EP BF16, Sequential Ops GroupedLinear 535.5 ms