Multiple GPUs #848
Unanswered
muchkanensys
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
when I use cuda:1, got this message.
Loading model from cache: control_v11p_sd15_openpose_fp16 [73c2b67d]
Loading preprocessor: openpose_full
Error running process: /mnt/d/content/webui/extensions/sd-webui-controlnet/scripts/controlnet.py
Traceback (most recent call last):
File "/mnt/d/content/webui/modules/scripts.py", line 417, in process
script.process(p, *script_args)
File "/mnt/d/content/webui/extensions/sd-webui-controlnet/scripts/controlnet.py", line 741, in process
detected_map, is_image = preprocessor(input_image, res=unit.processor_res, thr_a=unit.threshold_a, thr_b=unit.threshold_b)
File "/mnt/d/content/webui/extensions/sd-webui-controlnet/scripts/processor.py", line 174, in openpose_full
result = model_openpose(img, include_hand=True, include_face=True)
File "/mnt/d/content/webui/extensions/sd-webui-controlnet/annotator/openpose/init.py", line 84, in call
candidate, subset = self.body_estimation(oriImg)
File "/mnt/d/content/webui/extensions/sd-webui-controlnet/annotator/openpose/body.py", line 48, in call
Mconv7_stage6_L1, Mconv7_stage6_L2 = self.model(data)
File "/home/user/.local/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl
return forward_call(*args, **kwargs)
File "/mnt/d/content/webui/extensions/sd-webui-controlnet/annotator/openpose/model.py", line 116, in forward
out1 = self.model0(x)
File "/home/user/.local/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl
return forward_call(*args, **kwargs)
File "/home/user/.local/lib/python3.10/site-packages/torch/nn/modules/container.py", line 217, in forward
input = module(input)
File "/home/user/.local/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl
return forward_call(*args, **kwargs)
File "/mnt/d/content/webui/extensions/a1111-sd-webui-locon/scripts/../../../extensions-builtin/Lora/lora.py", line 319, in lora_Conv2d_forward
return torch.nn.Conv2d_forward_before_lora(self, input)
File "/home/user/.local/lib/python3.10/site-packages/torch/nn/modules/conv.py", line 463, in forward
return self._conv_forward(input, self.weight, self.bias)
File "/home/user/.local/lib/python3.10/site-packages/torch/nn/modules/conv.py", line 459, in _conv_forward
return F.conv2d(input, weight, bias, self.stride,
RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cuda:1! (when checking argument for argument weight in method wrapper_CUDA__cudnn_convolution)
Beta Was this translation helpful? Give feedback.
All reactions