Please refer to the official repository for detailed documentation.
cd Vision/classification/image/resnet50/examples
bash train_ofccl_graph_distributed_fp32.sh <NUM_LOCAL_GPUS>
Notes:
- Prepare the ImageNet dataset in advance.
- If the environment virable
ONEFLOW_ENABLE_OFCCL
in train_ofccl_graph_distributed_fp32.sh is set to1
, OCCL will be used during training; otherwise, NCCL will be employed.