-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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
Inpaint still not working in Fooocus Colab Pro #2297
Comments
Can you please provide the full terminal command output of colab, not only a screenshot of a specific excerpt? This would be very helpful for further analysis. Thanks! |
Of course. !pip install pygit2==1.12.2 Collecting pygit2==1.12.2 manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.9 MB) MB 16.8 MB/s eta 0:00:00 pygit2==1.12.2) (1.16.0) cffi>=1.9.1->pygit2==1.12.2) (2.21) /content/Fooocus/models/vae_approx/xlvaeapp.pth 100% 209k/209k [00:00<00:00, 4.36MB/s] /content/Fooocus/models/vae_approx/vaeapp_sd15.pth 100% 209k/209k [00:00<00:00, 4.09MB/s] v3.1.safetensors" to /content/Fooocus/models/vae_approx/xl-to-v1_interposer- v3.1.safetensors 100% 6.25M/6.25M [00:00<00:00, 44.0MB/s] to /content/Fooocus/models/prompt_expansion/fooocus_expansion/pytorch_model.bin 100% 335M/335M [00:02<00:00, 156MB/s] "https://huggingface.co/lllyasviel/fav_models/resolve/main/fav/juggernautXL_v8Rundiffusio n.safetensors" to /content/Fooocus/models/checkpoints/juggernautXL_v8Rundiffusion.safetensors 100% 6.62G/6.62G [00:47<00:00, 149MB/s] 1.0/resolve/main/sd_xl_offset_example-lora_1.0.safetensors" to /content/Fooocus/models/loras/sd_xl_offset_example-lora_1.0.safetensors 100% 47.3M/47.3M [00:00<00:00, 121MB/s] external/local_xla/xla/stream_executor/cuda/cuda_dnn.cc:9261] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:607] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered external/local_xla/xla/stream_executor/cuda/cuda_blas.cc:1515] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered TF-TRT Warning: Could not find TensorRT This share link expires in 72 hours. For free permanent hosting and GPU upgrades, run
'cond_stage_model.clip_g.transformer.text_model.embeddings.position_ids', 'cond_stage_model.clip_l.logit_scale'} /content/Fooocus/models/checkpoints/juggernautXL_v8Rundiffusion.safetensors ['None', 1.0], ['None', 1.0], ['None', 1.0]] for model [/content/Fooocus/models/checkpoints/juggernautXL_v8Rundiffusion.safetensors]. for UNet [/content/Fooocus/models/checkpoints/juggernautXL_v8Rundiffusion.safetensors] with 788 keys at weight 0.1. |
@Goliat48 are you certain this is the terminal log directly after you've encountered the unresponsive fromtend and/or the spinner? |
Well. I´ve tried that many times. Each time happens the same. The post where I attached the 3 screenshots correspond to a previous "run" . The terminal log I sent now was another new one because I stopped the execution and ran it later in order to send you the log If neccesary I might run it again and resend the terminal log and all neccesary screen shots Shall I do that? |
@Goliat48 yes, please. |
Before I tried very different additional messages in inpainting several type of images, some complex and some very simple like "red neon". Neither worked and the Skip and Stop buttons stopped working. I will try again and send you the results. Thanks for your effort. |
Still is not working. !pip install pygit2==1.12.2 Already up-to-date external/local_xla/xla/stream_executor/cuda/cuda_dnn.cc:9261] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:607] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered external/local_xla/xla/stream_executor/cuda/cuda_blas.cc:1515] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered TF-TRT Warning: Could not find TensorRT This share link expires in 72 hours. For free permanent hosting and GPU upgrades, run
'cond_stage_model.clip_g.transformer.text_model.embeddings.position_ids', 'cond_stage_model.clip_l.logit_scale'} /content/Fooocus/models/checkpoints/juggernautXL_v8Rundiffusion.safetensors ['None', 1.0], ['None', 1.0], ['None', 1.0]] for model [/content/Fooocus/models/checkpoints/juggernautXL_v8Rundiffusion.safetensors]. for UNet [/content/Fooocus/models/checkpoints/juggernautXL_v8Rundiffusion.safetensors] with 788 keys at weight 0.1. https://ad7f39a8f873587224.gradio.live intense, intricate, elegant, light, highly detail, incredible quality, very inspirational, thought, epic, artistic, winning, gorgeous, symmetry, illuminated, amazing, beautiful, peaceful, cute, enhanced, vibrant, brilliant, color, coherent, creative, wonderful, pretty, focused colors, ambient background, sharp focus, elegant, intricate, highly detailed, creative, vibrant, fine detail, open color, great light, epic, artistic, innocent, beautiful, stunning, symmetry, iconic, cool, imposing, complex, enhanced, professional, clear, awesome, brilliant, colorful, enormous |
@Goliat48 Error 1006 indicates a swap issue, see https://github.com/lllyasviel/Fooocus/blob/main/troubleshoot.md#error-1006 |
@Goliat48 Your colab screenshot is showing the system ram maxing out, hence the red, and that causes it to crash. Note that you had memory left in the cpu. I was having similar issues and was able to fix it by adding these flags (note, I am also using a turbo checkpoint and not the defaults in the app) |
@eddyizm is it possible you've mistaken my Colab Free screenshot for the one of @Goliat48? |
@mashb1t I sure did. Oops! |
This mysterious problem is being bounded. We have verified that Fooocus Inpaint works perfectly on my son's computer in both Colab Free and Colab Pro using the Chrome browser and Windows 10 in both cases. On my computer, paradoxically, inpaint works using Firefox but it doesn't work when I use Chrome (I use Windows 7). I believe, therefore, that the problem is something attributable to my Chrome installation. The strange thing is that I have not made any configuration changes lately and until a few days ago I have generated hundreds of images without any problem. I will have to review this configuration, since apparently something has changed in my Chrome that prevents Fooocus Inpaint engine from functioning normally. If I find out, I'll comment on it here. I want to thank @mashb1t for all the help he is giving me, as well as the other people who have participated or participate in the thread. |
Alright, closing for now. Feel free to provide further feedback! |
The culprit has been discovered! I just checked that when I uninstalled an application called "AntiTrack" from the AVG software (antivirus and security), Fooocus Inpaint Engine immediately started working normally in Chrome, always from Colab Pro. This software had been installed on my PC few days ago. Thank you all. |
Read Troubleshoot
[x] I confirm that I have read the Troubleshoot guide before making this issue.
Describe the problem
A clear and concise description of what the bug is.
Unfortunately, the "Inpaint" function in Fooocus still does not work in any of its three possibilities in Google Colab Pro (paid version).
I noted that three days ago.
I generate a simple image with the "man in a street" prompt with the proprietary version of Fooocus that is on Google and that does not support saving changes.
I place the generated image in the "Inpainting" window and after masking a small area and giving it the "Generate" command (and an additional prompt if applicable), the small symbol begins to spin indefinitely without generating any image.
Until a few days ago this worked perfectly and I have created hundreds of images without any problem.
I have no out of memory problem in Colab, as can be seen from the attached data.
I am new to AI and I am not a programmer but I have had no problem until now using Foocus either from the Colab resident version or from copies in Google Drive, with the juggernaut model or with other models, refiners or Loras
What could be happening?
Thanks in advance for any help.
Full Console Log
Paste the full console log here. You will make our job easier if you give a full log.
The text was updated successfully, but these errors were encountered: