Fooocus runs smoothly on both Nvidia and AMD GPUs, delivering a seamless AI image generation experience. However, installing it on a PC equipped with Intel’s Arc GPU requires a more intricate setup.
When following the official installation steps from Fooocus users with Intel Arc A-series, B-series, 130V, or 140V graphics may run into the error message: “Found no NVIDIA driver on your system.” You can resolve this issue by following our detailed step-by-step guide to get Fooocus up and running smoothly on your device.
How to Install Fooocus AI on Intel Arc GPU PCs
Step 1: Install Python 3.10
To begin, you need to install Python 3.10 on your PC. You can easily download it from the official website and proceed with the installation.
Step 2: Install Git
Once Python is installed, the next step is to install Git. This is essential for cloning repositories and managing files efficiently. Download Git from the official source and follow the installation process.
Step 3: Launch Command Prompt as Administrator
Now, open the Command Prompt with administrative privileges. Simply go to the Start menu, type “CMD,” and select “Run as Administrator” to proceed.
Step 4: Verify Python Installation
Before proceeding further, it’s important to confirm that Python is installed correctly. Open Command Prompt and type the following command:
python
If Python is installed, you will see the version details displayed on the screen.
Step 5: Change the User Directory
Next, navigate to your user directory by entering the following command:
cd \users\YOURUSERNAME
Make sure to replace YOURUSERNAME with your actual Windows username to ensure the command runs correctly.
Step 6: Install Fooocus on Your System
Now that the setup is ready, you can clone the Fooocus directory from GitHub onto your PC. Open Command Prompt and run the following command:
git clone https://github.com/qiacheng/Fooocus
This process may take some time, depending on your internet speed. Allow it to complete before proceeding to the next step.
Step 7: Navigate to the Fooocus Directory
Once Fooocus has been cloned, enter its directory by running the following command:
cd Fooocus
Step 8: Set Up the Python Virtual Environment
Now, create a virtual environment to manage dependencies separately:
python -m venv venv
After creating the environment, activate it using:
venv\scripts\activate
Step 9: Install Required Dependencies
To ensure Fooocus runs properly, install all necessary packages by executing:
pip install -r requirements_versions.txt
Step 10: Install the Essential Extensions for Intel Arc GPUs
For Intel Arc GPUs, installing the Intel Extension for PyTorch is crucial. Run the following command to download and install 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: Launch Fooocus on an Intel Arc GPU
Now, start Fooocus by running:
python entry_with_update.py
The first time you launch Fooocus, it will automatically download the default models and additional required packages. Since these files are large—approximately 6GB in size—the download process may take some time, so be patient as it completes.
Running Fooocus on Intel Arc GPUs After Installation
Once Fooocus is installed, you can launch it anytime with just three simple commands. Before proceeding, ensure you are inside the Fooocus folder directory. Then, enter the 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
Automating the Launch with a .bat File
If you want to skip manually entering these commands each time, you can create a .bat file for convenience. Here’s how:
- Open Notepad or any text editor.
- Copy and paste the following lines into the file:
- @echo off
- cd /d “C:\path\to\Fooocus”
- python -m venv venv
- venv\scripts\activate
- python.exe -s entry_with_update.py –unet-in-bf16 –vae-in-bf16 –clip-in-fp16
- Replace C:\path\to\Fooocus with the actual location of the Fooocus folder on your system.
- Save the file with a .bat extension (e.g., start_fooocus.bat).
- Double-click the .bat file whenever you want to launch Fooocus without manually typing the commands.
Creating a Batch File to Launch Fooocus on Intel Arc GPU PCs
Step 1: Open Notepad
Launch Notepad or any text editor of your choice.
Step 2: Copy and Paste the Code
Copy the following script and paste it into Notepad. Ensure you replace “C:\path\to\Fooocus” with the actual path to your Fooocus directory.
@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 a .bat File
Click File > Save As, then name the file run_fooocus.bat. Ensure the Save as type option is set to All Files before saving.
Step 4: Launch Fooocus
Now, simply double-click the run_fooocus.bat file to start Fooocus without manually entering commands in the Command Prompt.
Creating a Batch File to Launch Fooocus on Intel Arc GPU PCs
Step 1: Open Notepad
Launch Notepad or any text editor of your choice.
Step 2: Copy and Paste the Code
Copy the following script and paste it into Notepad. Ensure you replace “C:\path\to\Fooocus” with the actual path to your Fooocus directory.
@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 a .bat File
Click File > Save As, then name the file run_fooocus.bat. Ensure the Save as type option is set to All Files before saving.
Step 4: Launch Fooocus
Now, simply double-click the run_fooocus.bat file to start Fooocus without manually entering commands in the Command Prompt.
You may also like to check out: