Use enable_gradient_checkpointing() for flux#244
Conversation
|
I have verified that this PR fixes the issue.
|
Can I know what is the proper step? I run these code first only run setup code? git clone https://github.com/ostris/ai-toolkit.git which line come first? |
|
This pull request has been automatically closed due to inactivity. It has had no activity for 6 months. If this PR is still relevant, please feel free to reopen it with updated information or context. We apologize for any inconvenience. |
Thank you for your amazing work 😚.
Related Issues / PRs
Summarize Changes
enable_gradient_checkpointing()also needs to be called for Flux, unless it gets a None type error for the_gradient_checkpointing_funcattribute.