Skip to content

Gradient checkpointing/ rematerialization #817

Answered by avik-pal
jakubMitura14 asked this question in Q&A
Discussion options

You must be logged in to vote

For Zygote you can use https://fluxml.ai/Zygote.jl/stable/utils/#Zygote.checkpointed.

I am not sure if Enzyme has one built in (@wsmoses might know?), though mimicking the Zygote one for Enzyme shouldn't be hard.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jakubMitura14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #816 on August 03, 2024 01:03.