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

Add examples for jax.checkpoint activation offloading policies #25594

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

zhenying-liu
Copy link
Contributor

jax.checkpoint supports offloading policies, which are mentioned in tutorials without details.
This CL:

  • creates a subsection for offloading policies.
  • adds two examples to explain activation offloading policies.

Copy link
Collaborator

@mattjj mattjj left a comment

Choose a reason for hiding this comment

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

Thanks!

@google-ml-butler google-ml-butler bot added kokoro:force-run pull ready Ready for copybara import and testing labels Dec 18, 2024
@zhenying-liu zhenying-liu force-pushed the activation-offloading-doc branch 2 times, most recently from 3a57b72 to 5aa4ab3 Compare December 19, 2024 19:44
@zhenying-liu
Copy link
Contributor Author

I couldn't see the error of "import/copybara — An error happened while migrating the change". Sorry about updating the documentation after it's approved. @jaro-sevcik pointed out the issues in the 2nd code example, so I tested, verified and updated. Please let me know what I need to do to resolve the error. Thanks!

@zhenying-liu zhenying-liu force-pushed the activation-offloading-doc branch from 5aa4ab3 to 522a8fd Compare December 19, 2024 22:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pull ready Ready for copybara import and testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants