simclr icon indicating copy to clipboard operation
simclr copied to clipboard

Is training on multiple GPUs possible?

Open lukasugar opened this issue 4 years ago • 2 comments

In the environment setup it's stated that "Our code can also run on a single GPU. It does not support multi-GPUs, for reasons such as global BatchNorm and contrastive loss across cores.". Howerer, here the comment is clear that it's for multiple GPUs. These two seem to contradict one another.

Can the existing tf2 (pre)training code work on multiple GPUs?

lukasugar avatar Jan 19 '22 09:01 lukasugar

It should in principle be able to train on multiple GPUs (using tf2 code with the mirrored strategy), but we might not have tested it.

chentingpc avatar Jan 20 '22 04:01 chentingpc

It works on multiple gpus, thanks.

lsecerovic avatar Apr 07 '22 12:04 lsecerovic