函数计算FC文生图时,生成出错,怎么解决?RuntimeError: 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)
c-65a4f47a-0709fb26-6a7f96bfe7fc2024-01-15 17:08:56[GIN] 2024/01/15 - 09:08:55 | 422 | 891.286µs | 103.232.212.91 | POST "/internal/progress"
[GIN] 2024/01/15 - 09:08:55 | 422 | 715.813µs | 103.232.212.91 | POST "/run/predict"
[GIN] 2024/01/15 - 09:08:55 | 422 | 724.581µs | 103.232.212.91 | POST "/run/predict"
[GIN] 2024/01/15 - 09:08:55 | 422 | 707.779µs | 103.232.212.91 | POST "/run/predict"
[GIN] 2024/01/15 - 09:08:55 | 422 | 684.884µs | 103.232.212.91 | POST "/run/predict"
[GIN] 2024/01/15 - 09:08:56 | 422 | 735.541µs | 103.232.212.91 | POST "/internal/progress"
[GIN] 2024/01/15 - 09:08:56 | 404 | 728.18222ms | 103.232.212.91 | GET "/queue/join"
c-65a4f47a-0709fb26-6a7f96bfe7fc2024-01-15 17:08:57
FC Invoke End RequestId: 1-65a4f628-07f0db59-5029d756da97
c-65a4f47a-0709fb26-6a7f96bfe7fc2024-01-15 17:08:57* Error completing request
Arguments: ('task(hp2lvjjnuel7jck)', 'masterpiece, best quality, very detailed, extremely detailed beautiful, super detailed, tousled hair, illustration, dynamic angles, girly, fashion clothing, standing, mannequin, looking at viewer, interview, beach, beautiful detailed eyes, exquisitely beautiful face, floating, high saturation, beautiful and detailed light and shadow', 'loli,nsfw,logo,text,badhandv4,EasyNegative,ng_deepnegative_v1_75t,rev2-badprompt,verybadimagenegative_v1.3,negative_hand-neg,mutated hands and fingers,poorly drawn face,extra limb,missing limb,disconnected limbs,malformed hands,ugly', [], 20, 'Euler a', 1, 1, 7, 512, 512, False, 0.7, 2, 'Latent', 0, 0, 0, 'Use same checkpoint', 'Use same sampler', '', '', [], , 0, False, '', 0.8, -1, False, -1, 0, 0, 0, False, {}, {}, , , , 1, False, False, 'positive', 'comma', 0, False, False, '', 1, '', [], 0, '', [], 0, '', [], True, False, False, False, 0, False, None, None, False, None, None, False, None, None, False, 50) {}
Traceback (most recent call last):
File "/stable-diffusion-webui/modules/call_queue.py", line 57, in f
res = list(func(*args, **kwargs))
File "/stable-diffusion-webui/modules/call_queue.py", line 36, in f
res = func(*args, **kwargs)
File "/stable-diffusion-webui/modules/txt2img.py", line 55, in txt2img
processed = processing.process_images(p)
File "/stable-diffusion-webui/modules/processing.py", line 732, in process_images
res = process_images_inner(p)
File "/stable-diffusion-webui/extensions/sd-webui-controlnet/scripts/batch_hijack.py", line 42, in processing_process_images_hijack
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。