Skip to content

save memory by deleting params. lint.#277

Merged
entrpn merged 1 commit intomainfrom
deallocate_params_tree
Oct 24, 2025
Merged

save memory by deleting params. lint.#277
entrpn merged 1 commit intomainfrom
deallocate_params_tree

Conversation

@entrpn
Copy link
Collaborator

@entrpn entrpn commented Oct 23, 2025

Deletes params pytree after creating TrainState to reduce HBM usage. Lints the code.

The only change is in this line: https://github.com/AI-Hypercomputer/maxdiffusion/compare/deallocate_params_tree?expand=1#diff-69cda939e98b489aca1cc8aa543ecc537d9f4bc6c58fa767cbe01cd3636aacf3R311

@entrpn entrpn requested a review from susanbao October 23, 2025 22:56
@entrpn entrpn merged commit c9229c3 into main Oct 24, 2025
3 of 4 checks passed
@entrpn entrpn deleted the deallocate_params_tree branch October 24, 2025 01:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants