-
Notifications
You must be signed in to change notification settings - Fork 366
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
feat(train) Add support for torch.compile (EXPERIMENTAL) #2931
base: main
Are you sure you want to change the base?
Conversation
@ori-kron-wis Can you add tests for all pytorch models (not pyro and not jax) for compile. Can you check speed improvements on your end? You should execute it with: |
trainingplans with future imports and test_compute_kl revert
Needs tests like: |
I added torch compile tests for most models (of course not working with the github action due to that error) - on new servers, it worked fine and was faster, although the compile part will add some overhead. Currently pyro test not working on a multi GPU machine. Need to see why (only test_pyro_bayesian_regression). once we remove it everything works (it should be passed here) |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2931 +/- ##
==========================================
- Coverage 83.27% 83.25% -0.02%
==========================================
Files 180 180
Lines 15187 15193 +6
==========================================
+ Hits 12647 12649 +2
- Misses 2540 2544 +4
|
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
No description provided.