-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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]: Extremely low image quality on some models #6268
Comments
Yikes!
To clarify: Were you still on 3.x two days ago? I believe this is the model: https://civitai.com/models/129996/easyfluff Based on the description there, this model uses v-prediction. I noticed a couple issues in our handling:
Once I manually fix the config file path ( So no longer totally broken, but still not right. They all have this grainy look. I tried enabling At this point, I'm not sure how to proceed further. @lstein Any ideas for fixing the root issue? I think there are clear solutions for each of the 3 issues I noted:
|
I was still on 3.x two days ago, yeah. I had used an old installer I still had on my desktop at the time. |
No, I didn't notice there was a config file provided. Unfortunately, using it doesn't change the outputs - still grainy. I made sure to re-convert the model. In v3, we used the diffusers ckpt conversion logic with some fixes. Those fixes were upstreamed to diffusers, and in v4 we moved back to the standard diffusers conversion. I suspect we are missing an arg in the conversion calls, or maybe diffusers has a bug. |
@JantDarvus, sorry for this unrelated question: Can you run InvokeAI 4 properly with a GTX 1070 ? I have the same GPU and I use the Comfy UI with no issues. I was looking at InvokeAI, but they don't recommend this card. https://invoke-ai.github.io/InvokeAI/installation/INSTALL_REQUIREMENTS/ Can you run SDXL models with it ? |
Is there an existing issue for this problem?
Operating system
Windows
GPU vendor
Nvidia (CUDA)
GPU model
GTX 1070
GPU VRAM
8GB
Version number
4.1.0
Browser
Chrome 124.0.6367.61
Python dependencies
{
"accelerate": "0.29.2",
"compel": "2.0.2",
"cuda": "12.1",
"diffusers": "0.27.2",
"numpy": "1.26.4",
"opencv": "4.9.0.80",
"onnx": "1.15.0",
"pillow": "10.3.0",
"python": "3.11.7",
"torch": "2.2.2+cu121",
"torchvision": "0.17.2+cu121",
"transformers": "4.39.3",
"xformers": "0.0.25.post1"
}
What happened
When using some models, image quality is incredibly poor. The models I have encountered this with worked on a previous version of InvokeAI fine (unsure of version, definitely 3.x). However, I reinstalled and updated to the latest version today and these models stopped functioning properly.
![image](https://private-user-images.githubusercontent.com/45110965/325399110-36f6cf20-0754-44b1-8f52-e0d2d13b84e7.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjAxMDUwMzcsIm5iZiI6MTcyMDEwNDczNywicGF0aCI6Ii80NTExMDk2NS8zMjUzOTkxMTAtMzZmNmNmMjAtMDc1NC00NGIxLThmNTItZTBkMmQxM2I4NGU3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzA0VDE0NTIxN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTdlNzQyYWI5ZTVkM2E2ZDVkOTFjODAxZmJlNmRkY2FjOGM3YjM1NGQyY2Q3MzZlNmFkYzczYTQ4NTg1ZTIwZjUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.gpNcDVsiJP2sfx4xYV0RMyQ3Oir7Rn04WuxvBNsFNyg)
![image](https://private-user-images.githubusercontent.com/45110965/325399612-40b22fa2-a266-4435-b50e-a62e448fcedb.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjAxMDUwMzcsIm5iZiI6MTcyMDEwNDczNywicGF0aCI6Ii80NTExMDk2NS8zMjUzOTk2MTItNDBiMjJmYTItYTI2Ni00NDM1LWI1MGUtYTYyZTQ0OGZjZWRiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzA0VDE0NTIxN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTFlZjZhNzA5Y2ZjODcwYWZjNTBjNDg1ODliNGYyOTdkMmM4NTY4MTFhMmJjMTU4ZDJmYjk4MGE4ZGViMDE2OWYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.4rr_PCwKwFf6U0GJ3OXZeIfrTUqR78E_UzExLPISkxQ)
Example images provided both had a prompt of solely 'fox, portrait' at 512x512 using DPM++ 2M Karras at 40 steps, CFG 7.5, default VAE.
The first is using easyfluff_5000DefaultvaeFFR3CS2 (easily searched for as 'easyfluff'), the second is using yiffymix_v43. Both were pointed at their appropriate config file and checked using both epsilon and v_prediction, both were also tested as both a checkpoint and a diffusers model.
What you expected to happen
I had expected these models to work as they previously did. For example, this is one using the yiffymix_v43 two days ago.
![image](https://private-user-images.githubusercontent.com/45110965/325539315-349338a3-87f6-4dda-ac91-e284c4b11673.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjAxMDUwMzcsIm5iZiI6MTcyMDEwNDczNywicGF0aCI6Ii80NTExMDk2NS8zMjU1MzkzMTUtMzQ5MzM4YTMtODdmNi00ZGRhLWFjOTEtZTI4NGM0YjExNjczLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzA0VDE0NTIxN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQ3YjkxOWY0ZjgwMGI4NjE3ZTU1Y2FhMTQwZjU0NjJmNGM4YTQxNTA1MDcxZWY4ZGYyZjEzMWJhNGQ3NGYzYjYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.JDkDUuulZmr86yGH7lAxdv8bkc3j4rimnp4Y6AWxGWE)
How to reproduce the problem
Using version 4.1.0, download either yiffymix_v43 or easyfluff_5000DefaultvaeFFR3CS2 and attempt to generate any image at all.
Additional context
I should note that using any of the starter models listed in this version of invoke, such as Deliberate_v5, works absolutely fine. I have also redownloaded all the models and associated files that are having this issue to ensure they haven't mysteriously become corrupted or somesuch at the same time as the update.
Discord username
jantdarvus
The text was updated successfully, but these errors were encountered: