Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HyVideoTextEncode - All input tensors need to be on the same GPU, but found some tensors to not be on a GPU: [(torch.Size([1, 8388608]), device(type='cpu')), (torch.Size([262144]), device(type='cpu')), (torch.Size([4096, 4096]), device(type='cpu'))] #130

Open
chaoscode opened this issue Dec 13, 2024 · 3 comments

Comments

@chaoscode
Copy link

I don't know why this is an issue but it's detecting the cpu instead of the GPU on docker. The GPU is attached to the docker fine as I have mochi working on the same docker. Can anyone provide any guidance on how to fix this error?

@FlareP1
Copy link

FlareP1 commented Dec 13, 2024

Possibly had a connected error see Issue 80, In my case the problem was that the --lowvram flag on launch was causing issues with memory allocation and forcing some tensors onto the CPU.

Are you using the --lowvram on the launch of comfyUI? If so you could try to remove it?

@chaoscode
Copy link
Author

chaoscode commented Dec 13, 2024

I will look into it. I don't think it's a switch because I'm using the official comfyui docker from github on latest. Nothing special.

@chaoscode
Copy link
Author

Yeah, I tried a non-lowvram workflow and it's just crashing the container. I think I'm just going to move on from this model. Thanks for the help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants