controlnet_aux icon indicating copy to clipboard operation
controlnet_aux copied to clipboard

Fix pidi models ability to run on non primary gpu

Open Teriks opened this issue 7 months ago • 0 comments

The PidiNet detector cannot run on any other GPU aside from GPU 0 due always initializing a specific tensor on the first available GPU.

Changing this line of code so that the tensor is created on the correct GPU fixes the issue and allows PidiNet to run on a device other than the primary GPU.

Teriks avatar Jul 12 '24 03:07 Teriks