Chinese-CLIP
Chinese-CLIP copied to clipboard
train script using torchrun for torch version >= 2.0.0
torch 2.0.0 use torchrun。 The module torch.distributed.launch is deprecated and will be removed in future. Use torchrun. Note that --use-env is set by default in torchrun.