-
-
Notifications
You must be signed in to change notification settings - Fork 833
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
Support offloading with accelerate #34
Comments
I'll take a look. |
Was able to do something like this, but it's just a quick fix:
Also force May also force |
Thx |
I cannot reproduce this problem.
|
@dm33tri i am also getting error can you help? here my code
|
can you send me your modified file please because cant make it work |
because your code is still moving it into GPU @ResearcherXman
|
you modified entire _encode_prompt_image_emb function right? can you share it here? that is the culprit at me too |
Fixed. Now you can use |
Could you share your minimal script to reproduce this error? |
it is basically your multi controlnet web ui i just change the model loading logic
|
my team fixed the enable_sequential_cpu_offload for single controlnet app py now working amazing we also fixed the image cropping function and now images are properly cropped so you don't get distorted faces all shared on patreon with 1 click installer - downloads models automatically as well we are still working on multi controlnet enable_sequential_cpu_offload it also has a lot of features |
Is this a code change that I should make to one of the files? I want to make this run well, but my 12GB card really struggles on it. |
yes code changes now working on 12 GB sadly developers of InstantID ignoring. we had to spent huge time to fix |
This issue still occurs with the current repository. Is there an official fix, or do we have to join someones paywalled patreon to make it work on cards with less than 24 GB? |
When run with
pipe.enable_model_cpu_offload()
, it shows an error:CPU offloading drastically speeds up generation with low VRAM.
Can it be implemented?
The text was updated successfully, but these errors were encountered: