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

[bug]: RuntimeError: All input tensors need to be on the same GPU, but found some tensors to not be on a GPU: #7652

Open
1 task done
paddyrg opened this issue Feb 18, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@paddyrg
Copy link

paddyrg commented Feb 18, 2025

Is there an existing issue for this problem?

  • I have searched the existing issues

Operating system

Windows

GPU vendor

None (CPU)

GPU model

AMD Radeon

GPU VRAM

No response

Version number

5.6.2

Browser

edge

Python dependencies

{
"accelerate": "1.0.1",
"compel": "2.0.2",
"cuda": null,
"diffusers": "0.31.0",
"numpy": "1.26.4",
"opencv": "4.9.0.80",
"onnx": "1.16.1",
"pillow": "11.1.0",
"python": "3.11.11",
"torch": "2.4.1+cpu",
"torchvision": "0.19.1",
"transformers": "4.46.3",
"xformers": null
}

What happened

Just installed the flux starter package - try to create any image and get
RuntimeError: All input tensors need to be on the same GPU, but found some tensors to not be on a GPU: [(torch.Size([1, 98304]), device(type='cpu')), (torch.Size([3072]), device(type='cpu')), (torch.Size([3072, 64]), device(type='cpu'))] and production exits

What you expected to happen

An image to be processed

How to reproduce the problem

Install on Windows, download the Flux model starter pack, create an image

Additional context

Processor AMD Ryzen 9 8945HS w/ Radeon 780M Graphics 4.00 GHz
Installed RAM 64.0 GB (61.8 GB usable)

Edition Windows 11 Pro
Version 24H2
Installed on ‎02/‎02/‎2025
OS build 26100.3194
Experience Windows Feature Experience Pack 1000.26100.48.0

Discord username

No response

@paddyrg paddyrg added the bug Something isn't working label Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant