Pretrain VICReg on multiple nodes using SLURM
mainFor multi-node training, use the run_with_submitit.py script. This requires the submitit package (pip install submitit).
Example for 4 nodes with 8 GPUs each for 1000 epochs:
python run_with_submitit.py --nodes 4 --ngpus 8 --data-dir /path/to/imagenet --exp-dir /path/to/experiment/ --arch resnet50 --epochs 1000 --batch-size 2048 --base-lr 0.2