NVIDIA / NVIDIA/TransformerEngine
Activation + Group Quantize Fusion with te.Sequential
@vthumbe1503 is already working on this.
Since Jul 29, 2026.
- Dominant language
- Python
- Stars
- 3.5k
- Forks
- 831
- Avg merge
- 3d 11h
- Merged PRs (30d)
- 65
Description
Is your feature request related to a problem? Please describe.
Grouped MLP Block in MOE can be roughly -equated to GroupedLinear + Activation + GroupedLinear. Each of the GroupedLinear needs to go through group_quantize. For the cases where this is unfused we need to atleast enable fusing Activation with the group_quantize happening in the second GroupedLinear layer.
Describe the solution you'd like
-
Expose the right tex functions in pytorch that fuses activation and quantize. This is already supported for normal pytorch tensors and idea needs to be extended for GroupedTensors.
-
Enable te.Sequential to handle the fusion for grouped MLP block
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.