lllyasviel/Fooocus: How to Install Fooocus on Windows with AMD GPU (No Conda Needed!)

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 ต.ค. 2024

ความคิดเห็น • 50

  • @tongtongrizhi
    @tongtongrizhi  6 หลายเดือนก่อน +3

    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

  • @livelysandeep
    @livelysandeep 2 หลายเดือนก่อน +1

    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?

  • @Reutak
    @Reutak 2 หลายเดือนก่อน +1

    Upon executing the .bat script, I am redirected to Google Search, followed by a 127.0.0.1 error. I would appreciate any assistance.

  • @jobanarusnya_mustdie
    @jobanarusnya_mustdie 4 หลายเดือนก่อน

    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.

    • @tongtongrizhi
      @tongtongrizhi  4 หลายเดือนก่อน +1

      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

    • @alba_1
      @alba_1 3 หลายเดือนก่อน

      How about rx 550? Iam serious asking its my gpu😅

    • @jobanarusnya_mustdie
      @jobanarusnya_mustdie 3 หลายเดือนก่อน

      @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).

    • @alba_1
      @alba_1 3 หลายเดือนก่อน

      @@jobanarusnya_mustdie so the point is rx 550 doesnt work for fooocus ai, or it work but need very long time?

    • @jobanarusnya_mustdie
      @jobanarusnya_mustdie 3 หลายเดือนก่อน

      @alba_1 I don't have 550, but I know it's weaker than 580, so I wouldn't recommend trying with AI.

  • @gigbungus4716
    @gigbungus4716 3 หลายเดือนก่อน +1

    Bro it says:
    'git' is not recognized as an internal or external command,
    operable program or batch file.

    • @gigbungus4716
      @gigbungus4716 3 หลายเดือนก่อน

      nvm solved it the link got changed

  • @uxot
    @uxot หลายเดือนก่อน

    what the hell is "Fooocus" ? doesnt seems to have Loras options or anything interesting ?

  • @zverskly
    @zverskly หลายเดือนก่อน

    THANK YOUUU

  • @DaAwesomeKai
    @DaAwesomeKai 3 หลายเดือนก่อน +1

    after opening run.bat a cmd window opens and then closes quickly. nothing happens after that

    • @tongtongrizhi
      @tongtongrizhi  3 หลายเดือนก่อน +1

      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

    • @DaAwesomeKai
      @DaAwesomeKai 3 หลายเดือนก่อน +1

      @@tongtongrizhi ModuleNotFoundError: No module named 'packaging'

    • @tongtongrizhi
      @tongtongrizhi  3 หลายเดือนก่อน +1

      @@DaAwesomeKai Seems like it wasn't installed properly, start over from 0:40
      Btw, this only works for AMD GPU

    • @DaAwesomeKai
      @DaAwesomeKai 3 หลายเดือนก่อน +1

      @@tongtongrizhi thanks for trying to help. I'm just gonna give up. tried twice already

    • @tongtongrizhi
      @tongtongrizhi  3 หลายเดือนก่อน

      @@DaAwesomeKai ok

  • @NoemieValois-u4z
    @NoemieValois-u4z 17 วันที่ผ่านมา

    it tell me that i have not enough ram but i have 16gb of ram. ?

    • @tongtongrizhi
      @tongtongrizhi  17 วันที่ผ่านมา

      Maybe you open too many programs running at the background

  • @Nonsisauguale
    @Nonsisauguale 5 หลายเดือนก่อน

    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.

    • @tongtongrizhi
      @tongtongrizhi  5 หลายเดือนก่อน

      Have you install python 3.10.6 and git?

    • @Nonsisauguale
      @Nonsisauguale 5 หลายเดือนก่อน

      @@tongtongrizhi yes

    • @tongtongrizhi
      @tongtongrizhi  5 หลายเดือนก่อน

      @@Nonsisauguale type this in your command prompt and let me know what you see.
      python

    • @Nonsisauguale
      @Nonsisauguale 5 หลายเดือนก่อน

      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.
      >>>

    • @tongtongrizhi
      @tongtongrizhi  5 หลายเดือนก่อน

      @@Nonsisauguale doesn't seems any problem. Not sure why python -m venv venv gives error

  • @MichiVersoTV
    @MichiVersoTV 5 หลายเดือนก่อน

    What is the best Stable Diffusion currently for AMD users on Windows?

    • @tongtongrizhi
      @tongtongrizhi  5 หลายเดือนก่อน +1

      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.

    • @MichiVersoTV
      @MichiVersoTV 5 หลายเดือนก่อน

      @@tongtongrizhi I loved your tutorial, how easy the installation was with your method. Do you have any tips to reduce GPU consumption?

    • @tongtongrizhi
      @tongtongrizhi  5 หลายเดือนก่อน

      @@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

  • @gigend
    @gigend 5 หลายเดือนก่อน

    has anyone tried with AMD vram 4gb?

  • @taobaofy8500
    @taobaofy8500 4 หลายเดือนก่อน

    can you show how to use it on paperspace?

    • @tongtongrizhi
      @tongtongrizhi  4 หลายเดือนก่อน

      I'm not familiar with paperspace 🤭

  • @sualehirfan2514
    @sualehirfan2514 หลายเดือนก่อน

    How much time difference is there between 16GB and 32GB Ram?

    • @tongtongrizhi
      @tongtongrizhi  หลายเดือนก่อน

      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

  • @buster5661
    @buster5661 4 หลายเดือนก่อน

    Run bat didn't work

    • @tongtongrizhi
      @tongtongrizhi  4 หลายเดือนก่อน +1

      maybe you can consider running it at google colab
      th-cam.com/video/D7ItUhPWOAc/w-d-xo.html

    • @buster5661
      @buster5661 4 หลายเดือนก่อน

      @@tongtongrizhi I got it. The python was the wrong version. But now it doesn't generate. Trying the model you suggested

    • @tongtongrizhi
      @tongtongrizhi  4 หลายเดือนก่อน

      @@buster5661 ok sure, it takes a while to generate, around 5-15 mins

    • @buster5661
      @buster5661 4 หลายเดือนก่อน

      @@tongtongrizhi collab gives you limited use?

    • @tongtongrizhi
      @tongtongrizhi  4 หลายเดือนก่อน +1

      @@buster5661 you might not be allocated a GPU during peak hour to use it

  • @FollowTiktokInfinite
    @FollowTiktokInfinite 4 หลายเดือนก่อน

    after finishing run.bat. what happen next? it will open the fooocus automatically? because mine is automatically close the cmd.

    • @tongtongrizhi
      @tongtongrizhi  4 หลายเดือนก่อน +1

      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

    • @FollowTiktokInfinite
      @FollowTiktokInfinite 4 หลายเดือนก่อน +1

      Thank you mr tontongrizhi

  • @sualehirfan2514
    @sualehirfan2514 หลายเดือนก่อน

    It is taking ages on 16GB Ram