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

Image Prompt Not Working with Pro Colab Account #1558

Closed
mubarikadams opened this issue Dec 22, 2023 · 5 comments
Closed

Image Prompt Not Working with Pro Colab Account #1558

mubarikadams opened this issue Dec 22, 2023 · 5 comments

Comments

@mubarikadams
Copy link

mubarikadams commented Dec 22, 2023

As mentioned in the description, I can't seem to get the Image Prompt feature to work with only one image loaded into Foocus + Colab. I've attempted different images that are pretty small both in file size and dimensions and I get the same result with Foocus simply stopping on Colab. I'm not attempting to use any refiners, and I get the same issue with the default Checkpoint as well as downlaoded ones.

Based on this statement on the Fooocus Github page I thought that upgrading my Colab account would help, so I'm hoping there's some workaround or that I'm simply missing something:

"Note that this Colab will disable refiner by default because Colab free's resource is relatively limited (and some "big" features like image prompt may cause free-tier Colab to disconnect). We make sure that basic text-to-image is always working on free-tier Colab."

Fooocus Crashing
Screenshot (889)

100% 967M/967M [00:54<00:00, 18.7MB/s]
[Fooocus] Loading control models ...
extra clip vision: ['vision_model.embeddings.position_ids']
[Parameters] Sampler = dpmpp_2m_sde_gpu - karras
[Parameters] Steps = 60 - 30
[Fooocus] Initializing ...
[Fooocus] Loading models ...
Refiner unloaded.
[Fooocus] Processing prompts ...
[Fooocus] Encoding positive #1 ...
[Fooocus Model Management] Moving model(s) has taken 41.72 seconds
[Fooocus] Encoding positive #2 ...
[Fooocus] Encoding negative #1 ...
[Fooocus] Encoding negative #2 ...
[Fooocus] Image processing ...
Requested to load CLIPVisionModelWithProjection
Loading 1 new model
^C

@willywwang
Copy link

willywwang commented Dec 23, 2023

probably running out of RAM. google colab (free tier) doesnt' have enough RAM so it runs out causing the process to crash. Did you upgrade to high ram in the settings?

@mubarikadams
Copy link
Author

mubarikadams commented Dec 23, 2023

probably running out of RAM. google colab (free tier) doesnt' have enough RAM so it runs out causing the process to crash. Did you upgrade to high ram in the settings?

As I mentioned in the initial post, this is not the free tier Colab but the Colab Pro version in question, so that's why I'm confused.

@willywwang
Copy link

willywwang commented Dec 23, 2023 via email

@mubarikadams
Copy link
Author

you have to enable the high ram option even if you upgrade! go to resources -> view resources and then edit. you'll have an option to toggle high ram there.

On Fri, Dec 22, 2023, 7:18 p.m. mubarikadams @.> wrote: probably running out of RAM. google colab (free tier) doesnt' have enough RAM so it runs out causing the process to crash. Did you upgrade to high ram in the settings? As I mentioned in the initial post, this is not the free tier Colab but the Colab Pro version in question, so I'm pretty sure I should have access to more RAM. — Reply to this email directly, view it on GitHub <#1558 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEVSSBBAW6RAVA67EIXCTUDYKZERVAVCNFSM6AAAAABBAEPE5CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRYGE4DONRQGU . You are receiving this because you commented.Message ID: @.>

Ahh I see. Thank you for the advice! I will try this ASAP!!!

@mubarikadams
Copy link
Author

you have to enable the high ram option even if you upgrade! go to resources -> view resources and then edit. you'll have an option to toggle high ram there.

On Fri, Dec 22, 2023, 7:18 p.m. mubarikadams @.> wrote: probably running out of RAM. google colab (free tier) doesnt' have enough RAM so it runs out causing the process to crash. Did you upgrade to high ram in the settings? As I mentioned in the initial post, this is not the free tier Colab but the Colab Pro version in question, so I'm pretty sure I should have access to more RAM. — Reply to this email directly, view it on GitHub <#1558 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEVSSBBAW6RAVA67EIXCTUDYKZERVAVCNFSM6AAAAABBAEPE5CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRYGE4DONRQGU . You are receiving this because you commented.Message ID: @.>

Mission accomplished. Thanks AGAIN!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants