LykosAI / StabilityMatrix

Multi-Platform Package Manager for Stable Diffusion
https://lykos.ai
GNU Affero General Public License v3.0
4.34k stars 279 forks source link

ruinedfooous error #662

Open pengfei-coder opened 3 months ago

pengfei-coder commented 3 months ago

image

Giribot commented 3 months ago

Hello ! Close Stability Matrix and relaunch it: The installation continues.... But fails on another problem: Gradio needs to be updated!

What I have done. In the "Packages" screen, I click on the three dots of "Ruined Fooocus" then on "Python Packages".... I click on "Gradio 3.50.2" and on the right side of this window, I choose the latest version of Gradio: "4.32.1" then I click on the blue "UPGRADE" arrow.

Stability Matrix updates Gradio from 3.50.2 to version 4.32.1, you might think that the problem is solved, but when you run "Ruined Fooocus", when launching its script, it seems to reinstall Gradio to 3.50.2 then stops asking to update Gradio and close. (FACEPALM*100)

"D:\Data\Packages\RuinedFooocus\venv\lib\site-packages\huggingface_hub\file_download.py:1132: FutureWarning: resume_download is deprecated and will be removed in version 1.0.0. Downloads always resume when possible. If you want to force a new download, use force_download=True. warnings.warn( Python 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)] RuinedFooocus version: 1.39.0 Comfy Backend update check complete. Installing requirements Total VRAM 4096 MB, total RAM 20226 MB Trying to enable lowvram mode because your GPU seems to have 4GB or less. If you don't want this use: --normalvram xformers version: 0.0.23.post1 Set vram state to: LOW_VRAM Device: cuda:0 NVIDIA GeForce RTX 3050 Ti Laptop GPU : native VAE dtype: torch.bfloat16 Using xformers cross attention usage: launch.py [-h] [--port PORT] [--share] [--auth AUTH] [--listen [IP]] [--nobrowser] launch.py: error: unrecognized arguments: --normalvram Loading base model: sd_xl_base_1.0_0.9vae.safetensors IMPORTANT: You are using gradio version 3.50.2, however version 4.29.0 is available, please upgrade. --------"

When we close and relaunch STability Matrix: In the "Packages" screen, when I click on the three dots of "Ruined Fooocus" then on "Python Packages".... It's (after the launch and the crash of ruined fooocus) "Gradio 3.50.2" again and not "Gradio 4.32.1"

(Even i install Gradio 4.29.0 :

"Loading base model: sd_xl_base_1.0_0.9vae.safetensors "IMPORTANT: You are using gradio version 3.50.2, however version 4.29.0 is available, "please upgrade.

(and Ruined Fooocus closes)

Giribot commented 3 months ago

Strange: I can run Ruined foocus by doing this in stability Matrix:

In the screen Packages: Go to "ruined Fooocus" click "Launch Options' Uncheck all parameters for "Vram"

ruined

And it"s work