pytorch/ELF

RuntimeError:Device index must not be negetive

Jimerlife opened this issue · 2 comments

After running ./start_client.sh, a error called "RuntimeError:Device index must not be negetive" ocurred. Did someone has same problem?

Not sure if this is the right solution, but I managed to fix this by adding --gpu0 0 to scripts/elfgames/go/start_client.sh.

I just don't see from the code where should the option parser pick up that the default value for --gpu0 should be the same as the one for --gpu if not explicitly given.

RuntimeError: Device index must not be negative
[INFO/MainProcess] process shutting down