Ive been trying to follow this tutorial for the simple transformers library but I keep running into cuda errors that I dont quite understand.
RuntimeError: CUDA out of memory. Tried to allocate 20.00 MiB (GPU 0; 6.00 GiB total capacity; 697.82 MiB already allocated; 3.99 GiB free; 744.00 MiB reserved in total by PyTorch)
I dont understand why its failing to allocate memory when it says there is 4GB free. Im also seeing this error in the stack trace
OSERROR: [WinError 1455] The paging file is too small for this operation to complete
occasionally this one will also pop up.
OSERROR: [WinError 1114] A dynamic link library (DLL) initialization routine failed
Dont really know where to go from here.