-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Hi,
Thank you for sharing the code of your work.
While reviewing the './tools/train.py' script, I noticed that the multi-GPU mode is not supported.
I was wondering if there is an alternative way for me to train the code using MMDistributedDataParallel.
I have NVIDIA TITAN V (12GB) GPUs, which cannot train the model based on Transformer in single GPU.
if args.gpus is not None:
cfg.gpu_ids = range(4)
warnings.warn('`--gpus` is deprecated because we only support '
'single GPU mode in non-distributed training. '
'Use `gpus=1` now.')
if args.gpu_ids is not None:
cfg.gpu_ids = args.gpu_ids[0:3]
warnings.warn('`--gpu-ids` is deprecated, please use `--gpu-id`. '
'Because we only support single GPU mode in '
'non-distributed training. Use the first GPU '
'in `gpu_ids` now.')
Thank you for response in advance.
Metadata
Metadata
Assignees
Labels
No labels