Fooocus-API
Fooocus-API copied to clipboard
如何支持多显卡?
单台机器上插了4张显卡,但是好像只会用到一张卡
@aiwillcoming 你的设备倒是牛批,我都没见过多显卡设备 :joy:
租的
云服务器厂商租一下很便宜
看了下 fooocus 多显卡支持还在开发中 那能否暂时先在启动时指定显卡 @mrhan1993
--gpu-device-id DEVICE_ID 参数试一下。
https://github.com/lllyasviel/Fooocus/issues/1034
Worker error: Expected all tensors to be on the same device, but found at least two devices, cpu and cuda:0! (when checking argument for argument index in method wrapper_CUDA__index_select)
6
set the system environment argument CUDA_VISIBLE_DEVICES=0 before launch