I tried many methods, such as adjusting batch size, but still oom. In fact, my machine memory is 32g and my video memory is 8g. Batch should not appear batch size cannot be set more than 8. And bacth_size is reduced, oom will also appear after running several epochs. How to solve it?
I tried many methods, such as adjusting batch size, but still oom. In fact, my machine memory is 32g and my video memory is 8g. Batch should not appear batch size cannot be set more than 8. And bacth_size is reduced, oom will also appear after running several epochs. How to solve it?