walkwithfastai.github.io icon indicating copy to clipboard operation
walkwithfastai.github.io copied to clipboard

Integrate koila to avoid CUDA OOM errors

Open manisnesan opened this issue 3 years ago • 3 comments

@muellerzr Adding this issue based on fastai-dev discussion . I would like to use this issue to learn about callbacks. I liked your idea about having a MemoryMangerCallback callback for this purpose.

https://twitter.com/jeanmarcalkazzi/status/1465418318068781062?s=20 https://github.com/rentruewang/koila

self-assign

manisnesan avatar Nov 29 '21 22:11 manisnesan

Hey @manisnesan, how are we doing with this? :)

muellerzr avatar Jan 20 '22 16:01 muellerzr

@muellerzr - Spent some time studying about callbacks. I will be making progress on this (mostly this week).

manisnesan avatar Jan 22 '22 22:01 manisnesan

One potential issue with koila integration is it requires min python version >=3.8 https://github.com/rentruewang/koila/blob/v0.1.1/setup.py#L28

manisnesan avatar Jan 23 '22 02:01 manisnesan