Donate me at Kofi: ko-fi.com/tongtong Paypal: tongtong83@gmail.com Chapters: 0:00 - Intro 0:18 - Git and Python Setup 0:40 - Fooocus Setup 1:30 - Preparing Model For Fooocus 2:05 - Create run.bat to Run Fooocus Installing Python 3.10.6 www.python.org/downloads/release/python-3106/ Installing Git git-scm.com/download/win Git Clone Code: git clone github.com/lllyasviel/Fooocus Create Virtual Environment and Install Required Dependencies: cd Fooocus python -m venv venv venv\Scripts\activate pip install -r requirements_versions.txt pip install torch-directml JuggernautXL_v9Rdphoto2Lightning Model Link: civitai.com/models/133005/juggernaut-xl Rename The Downloaded Model: juggernautXL_v8Rundiffusion.safetensors Create run.bat: call venv\Scripts\activate python entry_with_update.py --directml Install Fooocus For AMD GPUs on Windows with DirectML, Fooocus installation for AMD GPUs, Installing Fooocus on Windows for AMD GPUs, How to install Fooocus on Windows with AMD GPUs, Installing Fooocus with DirectML on Windows for AMD GPUs, AMD GPU compatibility with Fooocus and DirectML, Fooocus installation guide for AMD graphics cards
I gave it a try, but was skeptical because of all the previous installation failures with the old AMD GPU. But surprisingly it worked! It is very slow, but it works even with the rx580.
@alba_1 Although rx-580 worked for me, I had to replace it to 3060 12 Gb 'cause any SD or other AI soft can't use it's real memory size 8GB, but only 1024 MB. And the speed is also too slow for AI. 3060 is much better for everything (I don't play), although FFMPEG encoding speed is the same on rx580 and 3060 in H264->H265 FullHD (108-120 FPS).
i'm trying this now,but got problem with python -m venv venv this time ''Error: Command '['C:\\Users\\??\\Desktop\ ew folder\\Fooocus\\venv\\Scripts\\python.exe', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1.
Fooocus>python Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>>
My personal favourite is lshqqytiger/Stable Diffusion: Install Stable Diffusion ZLUDA for Windows AMD GPU th-cam.com/video/YazUwPNsdzE/w-d-xo.html Everyone has their own personal favorite variant of stable diffusion so I wouldn't say there is only 1 best stable diffusion available out there.
If you use opera browser like I did, it will load automatically. Otherwise, you can press Ctrl and click on the IP address link to load. It shouldn't close the cmd
Donate me at
Kofi: ko-fi.com/tongtong
Paypal: tongtong83@gmail.com
Chapters:
0:00 - Intro
0:18 - Git and Python Setup
0:40 - Fooocus Setup
1:30 - Preparing Model For Fooocus
2:05 - Create run.bat to Run Fooocus
Installing Python 3.10.6
www.python.org/downloads/release/python-3106/
Installing Git
git-scm.com/download/win
Git Clone Code:
git clone github.com/lllyasviel/Fooocus
Create Virtual Environment and Install Required Dependencies:
cd Fooocus
python -m venv venv
venv\Scripts\activate
pip install -r requirements_versions.txt
pip install torch-directml
JuggernautXL_v9Rdphoto2Lightning Model Link:
civitai.com/models/133005/juggernaut-xl
Rename The Downloaded Model:
juggernautXL_v8Rundiffusion.safetensors
Create run.bat:
call venv\Scripts\activate
python entry_with_update.py --directml
Install Fooocus For AMD GPUs on Windows with DirectML, Fooocus installation for AMD GPUs, Installing Fooocus on Windows for AMD GPUs, How to install Fooocus on Windows with AMD GPUs, Installing Fooocus with DirectML on Windows for AMD GPUs, AMD GPU compatibility with Fooocus and DirectML, Fooocus installation guide for AMD graphics cards
Once everything is done, its giving me error -- Hmmm… can't reach this page127.0.0.1 refused to connect. What can be the issue?
Upon executing the .bat script, I am redirected to Google Search, followed by a 127.0.0.1 error. I would appreciate any assistance.
I gave it a try, but was skeptical because of all the previous installation failures with the old AMD GPU. But surprisingly it worked! It is very slow, but it works even with the rx580.
It's really slow even with my 6600xt, there's news say it works wonder with 32gb ram but I don't hv the money to upgrade and test it out
How about rx 550? Iam serious asking its my gpu😅
@alba_1 Although rx-580 worked for me, I had to replace it to 3060 12 Gb 'cause any SD or other AI soft can't use it's real memory size 8GB, but only 1024 MB. And the speed is also too slow for AI. 3060 is much better for everything (I don't play), although FFMPEG encoding speed is the same on rx580 and 3060 in H264->H265 FullHD (108-120 FPS).
@@jobanarusnya_mustdie so the point is rx 550 doesnt work for fooocus ai, or it work but need very long time?
@alba_1 I don't have 550, but I know it's weaker than 580, so I wouldn't recommend trying with AI.
Bro it says:
'git' is not recognized as an internal or external command,
operable program or batch file.
nvm solved it the link got changed
what the hell is "Fooocus" ? doesnt seems to have Loras options or anything interesting ?
THANK YOUUU
Welcome
after opening run.bat a cmd window opens and then closes quickly. nothing happens after that
Try go to the folder you install your fooocus, then type cmd on address bar and enter, then type run.bat and see what do you see from there
@@tongtongrizhi ModuleNotFoundError: No module named 'packaging'
@@DaAwesomeKai Seems like it wasn't installed properly, start over from 0:40
Btw, this only works for AMD GPU
@@tongtongrizhi thanks for trying to help. I'm just gonna give up. tried twice already
@@DaAwesomeKai ok
it tell me that i have not enough ram but i have 16gb of ram. ?
Maybe you open too many programs running at the background
i'm trying this now,but got problem with python -m venv venv this time ''Error: Command '['C:\\Users\\??\\Desktop\
ew folder\\Fooocus\\venv\\Scripts\\python.exe', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1.
Have you install python 3.10.6 and git?
@@tongtongrizhi yes
@@Nonsisauguale type this in your command prompt and let me know what you see.
python
Fooocus>python
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>
@@Nonsisauguale doesn't seems any problem. Not sure why python -m venv venv gives error
What is the best Stable Diffusion currently for AMD users on Windows?
My personal favourite is lshqqytiger/Stable Diffusion: Install Stable Diffusion ZLUDA for Windows AMD GPU
th-cam.com/video/YazUwPNsdzE/w-d-xo.html
Everyone has their own personal favorite variant of stable diffusion so I wouldn't say there is only 1 best stable diffusion available out there.
@@tongtongrizhi I loved your tutorial, how easy the installation was with your method. Do you have any tips to reduce GPU consumption?
@@MichiVersoTV If you referring to fooocus, actually it uses up more ram tham GPU. Recommended ram is 32gb, that is what I heard from other experience
has anyone tried with AMD vram 4gb?
can you show how to use it on paperspace?
I'm not familiar with paperspace 🤭
How much time difference is there between 16GB and 32GB Ram?
No idea, I'm jobless and no money to upgrade my ram to test it. Other user say it need 32gb ram to run smoothly
Run bat didn't work
maybe you can consider running it at google colab
th-cam.com/video/D7ItUhPWOAc/w-d-xo.html
@@tongtongrizhi I got it. The python was the wrong version. But now it doesn't generate. Trying the model you suggested
@@buster5661 ok sure, it takes a while to generate, around 5-15 mins
@@tongtongrizhi collab gives you limited use?
@@buster5661 you might not be allocated a GPU during peak hour to use it
after finishing run.bat. what happen next? it will open the fooocus automatically? because mine is automatically close the cmd.
If you use opera browser like I did, it will load automatically. Otherwise, you can press Ctrl and click on the IP address link to load. It shouldn't close the cmd
Thank you mr tontongrizhi
It is taking ages on 16GB Ram