Skip to content
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

JIT multiple train steps #220

Merged
merged 9 commits into from
Jan 16, 2024
Merged

JIT multiple train steps #220

merged 9 commits into from
Jan 16, 2024

Conversation

M-R-Schaefer
Copy link
Contributor

Added an option to jit multiple train steps using lax.scan to iterate over an additional batch axis.
The speedups this enables can be significant when training on small structures, when using small batch sizes or both.
It's fully compatible with training ensembles.

@M-R-Schaefer M-R-Schaefer added the enhancement New feature or request label Jan 9, 2024
@@ -13,7 +13,7 @@ jobs:
uses: psf/black@stable
with:
src: "./apax"
version: "22.10.0"
version: "22.12.0"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use pre-commit.ci now that the repo is public

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will this be part of this PR or a separate one? I looked over it and the rest looks good for me.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will this be part of this PR or a separate one? I looked over it and the rest looks good for me.

separate

@M-R-Schaefer M-R-Schaefer merged commit dae2002 into dev Jan 16, 2024
5 checks passed
@M-R-Schaefer M-R-Schaefer deleted the epoch_jit branch February 26, 2024 10:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants