How to Install and Run Fooocus AI on Intel Arc GPU PCs

Photo of author

Generative AI art is currently a major trend in the AI world right now. You can create images using different Generative AI tools, one of the most famous tools is Fooocus. It lets you create realistic image generation, face swapping, image upscaling, inpainting, and outpainting. All these features are powered by the Stable Diffusion.

Fooocus works seamlessly on Nvidia and AMD GPUs. However, setting it up on a PC with Intelโ€™s Arc GPU is more complex compared to straightforward installation. If you want to install and use Fooocus AI on your Intel Laptop powered by the Intel Arc GPU, you landed in the right place.

If you follow the official installation process from Fooocus’s GitHub page, you may encounter this error “Found no NVIDIA driver on your system.” You can easily resolve this issue, whether your system has Intel Arc A-series, B-series, 130V, or 140V graphics, you can follow our step-by-step guide to run Fooocus on your system.

How to Install and Run Fooocus AI on Intel Arc GPU

Steps to Install Fooocus AI on Intel Arc GPU PCs

Reddit user, Electronic-Extent460, shared a step-by-step guide that helps me run Fooocus AI on my Lenovo Yoga Slim 7i Aura Edition powered by Intel Lunar Lake 258V chip and Arc 140V GPU. Let’s take a look at the steps.

Step 1: Download and Install Python 3.10

You need to install Python 3.10 on your PC, you can easily download it from this page.

Step 2: Download and Install Git on your PC

The next thing you need to do is, Install Git on your PC, here’s the download link.

Step 3: Open Command Prompt as an Administrator

Go to Start and type CMD, now click on Run as Administrator.

How to Install and Run Fooocus AI on Intel Arc GPU

Step 4: Test If Python is Installed or Not

Before moving ahead, we need to check whether Python is installed. You can type this simple command.

python

Step 5: Change the User Directory

Change the directory by entering this simple command:

cd \users\YOURUSERNAME

Don’t forget to change YOURUSERNAME with your window’s user.

Step 6: Install Fooocus on your System

Now we can clone the Fooocus directory from GitHub on our PC, by running this command. The process may take some time so please wait after running this command.

git clone https://github.com/qiacheng/Fooocus
How to Install and Run Fooocus AI on Intel Arc GPU

Step 7: Enter the Fooocus Directory

After cloning the Fooocus on your PC, you need to enter the Fooocus Directory. Run the following command:

cd Fooocus

Step 8: Create and Manage Python Environment

Enter this command.

python -m venv venv

In the next step, we need to change the directory.

venv\scripts\activate

Step 9: Install the Requirements

Run this command to download and install the required packages.

pip install -r requirements_versions.txt

Step 10: IMPORTANT STEP – Install Required Extension for Intel Arc GPUs

Make sure to install Intel Extension for Pytorch, it will download the required extensions.

python.exe -m pip install "https://github.com/Nuullll/intel-extension-for-pytorch/releases/download/v2.1.10+xpu/torch-2.1.0a0+cxx11.abi-cp310-cp310-win_amd64.whl" "https://github.com/Nuullll/intel-extension-for-pytorch/releases/download/v2.1.10+xpu/torchaudio-2.1.0a0+cxx11.abi-cp310-cp310-win_amd64.whl" "https://github.com/Nuullll/intel-extension-for-pytorch/releases/download/v2.1.10+xpu/torchvision-0.16.0a0+cxx11.abi-cp310-cp310-win_amd64.whl" "https://github.com/Nuullll/intel-extension-for-pytorch/releases/download/v2.1.10+xpu/intel_extension_for_pytorch-2.1.10+xpu-cp310-cp310-win_amd64.whl"

Step 11: Run Fooocus on Intel Arc GPU PCs

You can launch Fooocus by entering this command.

python entry_with_update.py

It will download default models and other required packages when launched for the first time. So, you need to wait to complete the download and installation process. The model is quite hefty weighing around 6GB in download size.

How to Install and Run Fooocus AI on Intel Arc GPU

Once done, you can start using Fooocus on your PC.

Run Fooocus on Intel Arc GPUs After Installation

For future usage, you can launch Fooocus by running three simple commands. Before launching it, please ensure you are inside the Fooocus folder directory. Now you can run following commands one by one.

python -m venv venv
venv\scripts\activate
python.exe -s entry_with_update.py --unet-in-bf16 --vae-in-bf16 --clip-in-fp16

You can also make a .bat file if you want to skip running it by entering these commands. Here’s how you can make a .bat file for your system

Make a Bat File to Launch Fooocus on Intel Arc GPU PCs

Step 1: Open Notepad

Step 2: Copy and Paste the below code in Notepad, make sure to change the directory path according to your PC (replace this path “C:\path\to\Fooocus”).

@echo off
cd /d "C:\path\to\Fooocus"
python -m venv venv
call venv\scripts\activate
python.exe -s entry_with_update.py --unet-in-bf16 --vae-in-bf16 --clip-in-fp16

Step 3: Save the file as run_fooocus.bat

That’s it. Now you can double-click the run_fooocus.bat file to launch Fooocus on your PC.

If you find this guide helpful, feel free to share it with your friends. Still have queries, drop them down in the comment box.

Explore More:

Explore Stories

AUTHOR.

Photo of author

Haneet Singh

Haneet is the Founder and Editor-In-Chief of YTECHB. He has a huge passion for tinkering with latest smartphones, wearables, smart home devices, smart TVs, and more. As an avid Apple Ecosystem user, he loves customizing his iPhone and iPad to suit his needs. For tips, you can connect Haneet at haneetsingh@outlook.com In 2019, Haneet and the YTECHB team exclusively shared the wallpapers of iPhone 11 right before the launch event. In 2020, Haneet alongside his team members shared exclusive renders and official photos of two Samsung Galaxy smartphones - the Galaxy M11, and Galaxy M21. Later, the YTECHB team leaks information about Motorola's feature phones and Razr 3. In the last few months, our team shared Galaxy S24 Ultra leaks and more. You may come across with our work getting mentioned in The Times of India, India Today, Hindustan Times, NDTV, TechRadar, Digital Trends, Yahoo News, GSMArena, Android Authority, Android Central, Android Headlines, SamMobile, XDA, 9to5Google, and many other publications. He works across news, updates, features, guides, and more. If YTECHB writes about it, you can expect him to be involved in some way.

Leave a Comment

Share to...