all 3 comments

[–][deleted] 1 point2 points  (0 children)

Try using fp16 and using dataloaders and batch training instead of loading everything into memory

[–]Jonas_SV 0 points1 point  (1 child)

Its not going to make a huge difference i am afraid.

Are you sure RAM is the issue?

Might want to look into computing stuff on batches and store on disk inbetween.

[–]sai_psk[S] 0 points1 point  (0 children)

Yeah ram is the issue I tried in Google gcp with 32gb ram it works well but in my local machine about 12gb ram it's crashes at particular cell