[GH-ISSUE #249] Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu! (when checking argument for argument mat1 in method wrapper_CUDA_addmm) #177

Closed
opened 2026-10-30 21:20:31 +00:00 by bsakaguchi · 3 comments
Owner

Originally created by @shajou on GitHub (Oct 30, 2023).
Original GitHub issue: https://github.com/DominikDoom/a1111-sd-webui-tagcomplete/issues/249

Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu! (when checking argument for argument mat1 in method wrapper_CUDA_addmm)

This message appears when I use this extension like translation, but it does not affect the use of stable diffusion generate

Originally created by @shajou on GitHub (Oct 30, 2023). Original GitHub issue: https://github.com/DominikDoom/a1111-sd-webui-tagcomplete/issues/249 Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu! (when checking argument for argument mat1 in method wrapper_CUDA_addmm) This message appears when I use this extension like translation, but it does not affect the use of stable diffusion generate
Author
Owner

@DominikDoom commented on GitHub (Oct 30, 2023):

I don't think this is related to this extension, it doesn't do any tensor calculation. Can you post the full console output when the error happens instead of just the error message itself? That should show where it originates from.

<!-- gh-comment-id:1784747543 --> @DominikDoom commented on GitHub (Oct 30, 2023): I don't think this is related to this extension, it doesn't do any tensor calculation. Can you post the full console output when the error happens instead of just the error message itself? That should show where it originates from.
Author
Owner

@shajou commented on GitHub (Oct 30, 2023):

I don't think this is related to this extension, it doesn't do any tensor calculation. Can you post the full console output when the error happens instead of just the error message itself? That should show where it originates from.

My test just now is normal again. It seems that there was only a problem during the time when I posted yesterday.

<!-- gh-comment-id:1785578530 --> @shajou commented on GitHub (Oct 30, 2023): > I don't think this is related to this extension, it doesn't do any tensor calculation. Can you post the full console output when the error happens instead of just the error message itself? That should show where it originates from. My test just now is normal again. It seems that there was only a problem during the time when I posted yesterday.
Author
Owner

@DominikDoom commented on GitHub (Oct 30, 2023):

Alright, then I'll close the issue for now. Feel free to reopen it if the error comes up again.

<!-- gh-comment-id:1785582603 --> @DominikDoom commented on GitHub (Oct 30, 2023): Alright, then I'll close the issue for now. Feel free to reopen it if the error comes up again.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
DominikDoom/a1111-sd-webui-tagcomplete#177
No description provided.