Skip to content

Improved accelerator memory usage#65

Merged
janpfeifer merged 18 commits into
mainfrom
gpumem
Aug 29, 2024
Merged

Improved accelerator memory usage#65
janpfeifer merged 18 commits into
mainfrom
gpumem

Conversation

@janpfeifer

Copy link
Copy Markdown
Contributor
  • Immediately free accelerator (GPU) memory, where possible -- as opposed to waiting for the garbage collector.
    • This impacts the train.Loop and train.Trainer: they both immediately finalize the inputs and labels after use.
  • Fixed nil point exception, where initializer was not properly set if value of a variable was loaded from a checkpoint.
    • This impacted when restarting training with batch normalization.
  • Fixes to the notebooks: some small things were broken on the v0.11.0 transition; large speed-up with v0.11.1 fixes.

@janpfeifer janpfeifer merged commit 216d411 into main Aug 29, 2024
@janpfeifer janpfeifer deleted the gpumem branch October 23, 2024 06:39
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

Successfully merging this pull request may close these issues.

1 participant