VICReg icon indicating copy to clipboard operation
VICReg copied to clipboard

Does this code need large GPU memory?

Open bqdeng opened this issue 2 years ago • 1 comments

Hello! During the training of cifar10 dataset, do you encounter that when the batchsize is set to 2048, you can't run on the dual card nvidia3090? Display memory overflow.

So I changed the batch size to 256, which is still a memory overflow.

Finally, I had no choice but to change it to 128 to run.

However, compared with simclr and swav codes, the batch size that can be set under the same device is not so small. I can generally run 2048 or 1024. Is this normal?

My device is nvidia3090, dual card, with 48g of running video memory. The training data set is cifar10

If you can easily answer, I will be very happy!

bqdeng avatar Apr 25 '22 12:04 bqdeng