Skip to content

Pytorch regional compilation #361

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
merged 3 commits into from
Apr 8, 2025
Merged

Pytorch regional compilation #361

merged 3 commits into from
Apr 8, 2025

Conversation

a-r-r-o-w
Copy link
Member

Adds support for regional compilation on transformer blocks.

Training speedup with torch.compile can be enabled by settings --compile_modules transformer when launching training.

Accelerate hasn't been tested yet but most likely should work. As it hasn't been tested, unit tests are not yet added either.

@a-r-r-o-w a-r-r-o-w merged commit 7bcdc58 into main Apr 8, 2025
1 check passed
@a-r-r-o-w a-r-r-o-w deleted the feature/torch-compile branch April 8, 2025 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant