I have two graphics cards and do my sillytavern-extras processing on the second one. Could we have a command line argument (maybe as a condition to --CUDA) to specify which GPU to use? Otherwise I have to edit device_string = "cuda:0" every time there's an update.
Added --cuda-device command line option. Defaults to cuda:0 as previously stated. Also, keep in mind that not every transformers module supports running in multi-GPU mode.
I have two graphics cards and do my sillytavern-extras processing on the second one. Could we have a command line argument (maybe as a condition to --CUDA) to specify which GPU to use? Otherwise I have to edit
device_string = "cuda:0"
every time there's an update.