-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Type mismatch for LEDITS++ #7972
Comments
Thank you for reporting this. This issue has just been resolved recently. Could you install |
Tried again:
Seems like the data type mismatch is resolved however, I ran into a CUDA Out of memory error. Quite suprised, it says it tried allocating 136.51 GiB, which seems a lot to me. (I'm working on a H100 GPU with approximately 80GiB of memory).
|
I guess another issue should be opened for this. |
Describe the bug
When running the code snippet from https://huggingface.co/docs/diffusers/api/pipelines/ledits_pp#diffusers.LEditsPPPipelineStableDiffusionXL I get a RuntimeError for as mismatch between the type of the input image and the VAE used to encode the image:
RuntimeError: Input type (c10::Half) and bias type (float) should be the same
Reproduction
The code is located in a script whose path is
/home/vdelale/code/test_leditpp.py
and is a copy-paste from https://huggingface.co/docs/diffusers/api/pipelines/ledits_pp#diffusers.LEditsPPPipelineStableDiffusionXLI created a virtual environment named
test_leditspp
with python venv and installed diffusers, torch and transformers. The versions are explicited below.Logs
System Info
OS: Ubuntu 22.04.3 LTS
python version: Python 3.10.12
python packages:
Who can help?
No response
The text was updated successfully, but these errors were encountered: