Guide Installing RVC WebUI with Intel ARC GPUs

Disty

Megapat
Süper Moderatör
Katılım
16 Aralık 2015
Mesajlar
3.101
Makaleler
16
Çözümler
109
Yer
Konya
Daha fazla  
Sistem Özellikleri
Asus ROG Strix X570-F
R7 5800X3D CPU
48 GB 3200 MHz CL18 RAM
CM ML 240L AIO

RX 7900 XTX 24 GB GPU
ARC A770 16GB GPU

Boot: WD Blue 1 TB NVMe SSD
Data: Samsung 990 Pro 4TB NVMe SSD

2 TB BTRFS (Mirrored):
Segate Barracuda 2 TB HDD
2x WD Blue 1 TB 2.5" HDD

FSP Hydro PTM PRO ATX3.0 GEN-5 1200W PSU
Cinsiyet
Erkek
Meslek
Waifu Mühendisliği
In this guide, we will install and use RVC WebUI with Intel ARC GPU's.
Intel PyTorch Library doesn't have native support for Windows so we have to use Native Linux or Linux via WSL.



Setup WSL on Windows:

Follow these instructions to setup Linux environment in Windows, then continue with Ubuntu instructions.
  • Enter "Windows features" in Windows search bar and select "Turn Windows features on or off".
  • Enable both "Virtual Machine Platform" and "Windows Subsystem for Linux" and click OK.
  • Restart your computer once update is complete.
  • Open PowerShell and execute wsl --update.
  • Download Ubuntu 22.04 from Windows Store.
  • Start Ubuntu 22.04 and finish user setup.


Install Intel OneAPI and Compute Runtime:

Ubuntu:

Use Ubuntu 23.04 or newer because we will need Linux 6.2 kernel or newer.
Update your kernel to at least Linux 6.2 if you are on older Ubuntu builds.
Note: Updating kernel is not neccesary for WSL.

Then add the package lists for Intel OneAPI:
Bash:
sudo apt-get install -y gpg-agent wget
wget -qO - https://repositories.intel.com/graphics/intel-graphics.key | \
  sudo gpg --dearmor --output /usr/share/keyrings/intel-graphics.gpg
echo 'deb [arch=amd64,i386 signed-by=/usr/share/keyrings/intel-graphics.gpg] https://repositories.intel.com/graphics/ubuntu jammy arc' | \
  sudo tee  /etc/apt/sources.list.d/intel.gpu.jammy.list
wget -O- https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB \
| gpg --dearmor | sudo tee /usr/share/keyrings/oneapi-archive-keyring.gpg > /dev/null
echo "deb [signed-by=/usr/share/keyrings/oneapi-archive-keyring.gpg] https://apt.repos.intel.com/oneapi all main" | sudo tee /etc/apt/sources.list.d/oneAPI.list
sudo apt update && sudo apt upgrade -y

Then install the necessary packages:
Bash:
sudo apt-get install intel-opencl-icd intel-level-zero-gpu level-zero intel-media-va-driver-non-free libmfx1 libgl-dev intel-oneapi-compiler-dpcpp-cpp intel-oneapi-mkl python3-pip python3-venv git unzip libjemalloc-dev


Arch Linux:

Install git unzip python-pip python-virtualenv jemalloc intel-media-driver intel-oneapi-basekit intel-compute-runtime intel-graphics-compiler intel-opencl-clang from the official package lists and install python310 from AUR.
You can use Yay to install all of them at once:
Bash:
yay -S python310 git unzip python-pip python-virtualenv jemalloc intel-media-driver intel-oneapi-basekit intel-compute-runtime intel-graphics-compiler intel-opencl-clang



Installing RVC WebUI:


Install RVC WebUI from Github:
Bash:
git clone https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI

Then enter into the RVC WebUI folder:
Bash:
cd Retrieval-based-Voice-Conversion-WebUI

Then create and activate virtual environment for Python:
Bash:
python3.10 -m venv .venv
source .venv/bin/activate

Then install the necessary Python libraries:
Bash:
pip install -r requirements-ipex.txt

Finally start RVC WebUI with this command:
Bash:
source .venv/bin/activate && source /opt/intel/oneapi/setvars.sh && python3.10 infer-web.py
 
Son düzenleme:

Geri
Yukarı