-
Notifications
You must be signed in to change notification settings - Fork 161
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
Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu! #428
Comments
With what workflow exactly? I couldn't replicate this with I2V, T2V or V2V workflow examples with current version at least. |
I'm doing a 2-step generation using a low-res generation first, then upscaling the latent and providing that latentt to another HunyuanVideoSampler node on the input for samples, with denoise set to 0.6. |
To clarify, this is t2v, not i2v. |
Sorry, still getting it. Deleting and cloned new repository didn't help. |
Can you try again now, it's working for me at least with latest push. |
Looks like you got it. Tested with and without riflex just in case. Thank you. |
The line causing the issue:
ComfyUI-HunyuanVideoWrapper/hyvideo/diffusion/pipelines/pipeline_hunyuan_video.py
Line 317 in 5291557
I added the following before that line to fix it:
latents = latents.to(device)
latent_timestep = latent_timestep.to(device)
noise = noise.to(device)
The text was updated successfully, but these errors were encountered: