You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try to train a text-to-image model by using the script diffusers/examples/text_to_image
it success when I train it from scratch
but when i add the param --resume_from_checkpoint "checkpoint-10000"
I get the error RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu!
I get many checkpoints folders in my out_models directory ,and I choose one and add the param --resume_from_checkpoint "checkpoint-10000" and run the following script
This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.
Please note that issues that do not follow the contributing guidelines are likely to be ignored.
Describe the bug
I try to train a text-to-image model by using the script diffusers/examples/text_to_image
it success when I train it from scratch
but when i add the param --resume_from_checkpoint "checkpoint-10000"
I get the error
RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu!
Reproduction
Logs
System Info
1.system info
2.python env
diffusers
version: 0.16.1Who can help?
No response
The text was updated successfully, but these errors were encountered: