lizekang/ITDD

About the setting n_gpu

Closed this issue · 1 comments

image

Here, in onmt/trainer.py, if n_gpu = 1, and the gpu_rank in my config is not 0,then I can never get into this if, I wonder if this is a bug?

Please refer to OpenNMT-py documentation.