To run multiple workers in an instance with multiple GPUs, I need to specify which device to use, but I don't know how to assign device ID (or GPU ID) via mxnet.gpu() without duplication. Is there good way of doing this? For example, I want the first worker use mx.gpu(0), the second worker use mx.gpu(1), and so on.
To run multiple workers in an instance with multiple GPUs, I need to specify which device to use, but I don't know how to assign device ID (or GPU ID) via mxnet.gpu() without duplication. Is there good way of doing this? For example, I want the first worker use mx.gpu(0), the second worker use mx.gpu(1), and so on.