oneflow.env.get_node_size

oneflow.env.get_node_size()

Returns the number of machines in the current process group.

Returns

The the number of machines in the process group.