OpenNMT Forum

What is "gpu_ranks" parameter?

I didn’t understand what are “-gpu_ranks” and “-gpu_ranks 0”.
I wanna know this command.

See this entry in the docs.
This stems from the distributed (multi node) setup. Please note that this distributed setup is not yet properly supported in v2.