You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RuntimeError: CUDA out of memory. Tried to allocate 756.00 MiB (GPU 0; 6.00 GiB total capacity; 3.41 GiB already allocated; 0 bytes free; 4.59 GiB reserved in total by PyTorch)
#5
Open
909982211 opened this issue
Oct 23, 2022
· 2 comments
The GPU i used is RTX 2060 6G...really not enough?
OK,It's my fault,i should use --gpu1(because the 0 is not the Nvidia gpu),but .....an other problem appears when the program was to be end:
RuntimeError: Attempting to deserialize object on a CUDA device but torch.cuda.is_available() is False. If you are running on a CPU-only machine, please use torch.load with map_location=torch.device('cpu') to map your storages to the CPU.
i am sure that my cuda version is correct and it match the pytorch .
The text was updated successfully, but these errors were encountered:
I used GTX 1650 4G on windows platform, it's work and enough, maybe check the environment setting.
Now it said:
RuntimeError: Attempting to deserialize object on a CUDA device but torch.cuda.is_available() is False. If you are running on a CPU-only machine, please use torch.load with map_location=torch.device('cpu') to map your storages to the CPU.
The GPU i used is RTX 2060 6G...really not enough?
OK,It's my fault,i should use --gpu1(because the 0 is not the Nvidia gpu),but .....an other problem appears when the program was to be end:
RuntimeError: Attempting to deserialize object on a CUDA device but torch.cuda.is_available() is False. If you are running on a CPU-only machine, please use torch.load with map_location=torch.device('cpu') to map your storages to the CPU.
i am sure that my cuda version is correct and it match the pytorch .
The text was updated successfully, but these errors were encountered: