CUDA out of memory error #2020
-
After training my model for many epochs (200), I receive the following error when I run
I've done some research on how to clear Cuda's memory (Stack Overflow posts here and here). So far, I've tried running:
And
I suspect that my It seems that performing garbage collection and emptying the cache will not work because my |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I suspect the ONNX export is the problem (specifically this line that tries to allocate a sample input on the device). You can try |
Beta Was this translation helpful? Give feedback.
I suspect the ONNX export is the problem (specifically this line that tries to allocate a sample input on the device). You can try
learner.save_model_bundle(export_onnx=False)
instead.