From 28b5219eb20c00d8721a61439a86ecdb6293b839 Mon Sep 17 00:00:00 2001 From: elmahdi Date: Mon, 2 Mar 2026 07:43:11 +0000 Subject: [PATCH 1/3] Revise Colab setup instructions for Fooocus Updated instructions for running Fooocus in Google Colab to address CuPy conflicts and provided installation steps. --- readme.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 6f34a950..597ea32f 100644 --- a/readme.md +++ b/readme.md @@ -115,7 +115,20 @@ See also the common problems and troubleshoots [here](troubleshoot.md). | --- | --- | [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/lllyasviel/Fooocus/blob/main/fooocus_colab.ipynb) | Fooocus Official -In Colab, you can modify the last line to `!python entry_with_update.py --share --always-high-vram` or `!python entry_with_update.py --share --always-high-vram --preset anime` or `!python entry_with_update.py --share --always-high-vram --preset realistic` for Fooocus Default/Anime/Realistic Edition. +!!!!The current version has CuPy conflicts. Run it in Google Colab using the following code: +import os + +!pip install pygit2==1.15.1 +%cd /content +!git clone https://github.com/lllyasviel/Fooocus.git +%cd /content/Fooocus + +# Uninstall existing cupy installations to prevent conflicts +!pip uninstall -y cupy cupy-cuda11x cupy-cuda12x + +!python entry_with_update.py --share --always-high-vram --preset realistic +# In Colab, you can modify the last line to + `!python entry_with_update.py --share --always-high-vram` or `!python entry_with_update.py --share --always-high-vram --preset anime` or `!python entry_with_update.py --share --always-high-vram --preset realistic` for Fooocus Default/Anime/Realistic Edition. You can also change the preset in the UI. Please be aware that this may lead to timeouts after 60 seconds. If this is the case, please wait until the download has finished, change the preset to initial and back to the one you've selected or reload the page. From 3fea85da7e1eec6c00c34dbca80aa24947bc1741 Mon Sep 17 00:00:00 2001 From: elmahdi Date: Mon, 2 Mar 2026 07:50:42 +0000 Subject: [PATCH 2/3] Fix CuPy conflict instructions in README Updated instructions for running in Google Colab. --- readme.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/readme.md b/readme.md index 597ea32f..664976c1 100644 --- a/readme.md +++ b/readme.md @@ -115,9 +115,9 @@ See also the common problems and troubleshoots [here](troubleshoot.md). | --- | --- | [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/lllyasviel/Fooocus/blob/main/fooocus_colab.ipynb) | Fooocus Official -!!!!The current version has CuPy conflicts. Run it in Google Colab using the following code: -import os +The current version has CuPy conflicts. Run it in Google Colab using the following code: +import os !pip install pygit2==1.15.1 %cd /content !git clone https://github.com/lllyasviel/Fooocus.git From 00a6fb070e94a96450206b3f4c878385d1a1b107 Mon Sep 17 00:00:00 2001 From: elmahdi Date: Mon, 2 Mar 2026 07:53:18 +0000 Subject: [PATCH 3/3] Revise Colab setup instructions in readme Updated instructions for running the current version in Google Colab. --- readme.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 664976c1..275c4946 100644 --- a/readme.md +++ b/readme.md @@ -115,12 +115,16 @@ See also the common problems and troubleshoots [here](troubleshoot.md). | --- | --- | [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/lllyasviel/Fooocus/blob/main/fooocus_colab.ipynb) | Fooocus Official -The current version has CuPy conflicts. Run it in Google Colab using the following code: +# The current version has CuPy conflicts. Run it in Google Colab using the following code: import os + !pip install pygit2==1.15.1 + %cd /content + !git clone https://github.com/lllyasviel/Fooocus.git + %cd /content/Fooocus # Uninstall existing cupy installations to prevent conflicts