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

checkpointing for backpropagation #139

Closed
jakubMitura14 opened this issue Aug 24, 2022 · 1 comment
Closed

checkpointing for backpropagation #139

jakubMitura14 opened this issue Aug 24, 2022 · 1 comment

Comments

@jakubMitura14
Copy link

Hello is it possible to apply checkpointing in backpropagation - I mean recomputing output of some layers instead of saving them in order to reduce memory consumption during backpropagation.

Something like in https://fluxml.ai/Zygote.jl/dev/adjoints/#Checkpointing-1

@avik-pal
Copy link
Member

Lux is mostly AD Agnostic, so yes you should be able to use checkpointing with the exact code that is present in Zygote documentation.

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

No branches or pull requests

2 participants