-
Notifications
You must be signed in to change notification settings - Fork 795
[PyTorch]Fused ScaledActivation Kernel in TE Ops and reducing CPU overheads for MOE #3238
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
vthumbe1503
merged 23 commits into
NVIDIA:main
from
vthumbe1503:grouped_linear_act_fusion
Aug 6, 2026
Merged
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
e53027f
initial implementation for act grouped linear fusion
vthumbe1503 c176fe2
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] af2fa13
address review comments + cleanup
vthumbe1503 28046ae
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] a120b65
nerge conflict resolve
vthumbe1503 ff77e39
address review comment + cleanup
vthumbe1503 59a070b
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 4f84ce0
fix CI + handle activation requires_grad=false and fusion optimizatio…
vthumbe1503 a51d678
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] dfa2956
precomputed tensor offsets in grouped linear as well
vthumbe1503 d6cccfa
fix lint
vthumbe1503 b5fed04
Merge branch 'grouped_linear_act_fusion' of github.com:vthumbe1503/Tr…
vthumbe1503 6d6c482
Merge branch 'main' into grouped_linear_act_fusion
vthumbe1503 9f0e92e
Merge branch 'main' into grouped_linear_act_fusion
vthumbe1503 2a2f6ca
unecsaary based on op infra
vthumbe1503 d143cd6
fix merge conflict
vthumbe1503 63e6b40
better name
vthumbe1503 802fb46
activation+group_quantize fusion via ops infra
vthumbe1503 8dc7ce5
revert to have grouped_linear + activation fusion for now
vthumbe1503 099357b
get rid of fused ops now
vthumbe1503 9c0c9f2
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 07034ab
improve comments
vthumbe1503 457e9c0
Merge branch 'main' into grouped_linear_act_fusion
vthumbe1503 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.