Skip to content

Remote GPU

Ali Aliev edited this page May 22, 2020 · 9 revisions

Setup server

Linux

This guide will assume the OS is Ubuntu 18.04 and latest NVIDIA drivers installed.

See also provisioning a cloud-based GPU instance.

  1. Download Miniconda Python 3.7 and install it:
bash Miniconda3-latest-Linux-x86_64.sh
  1. Clone avatarify and install its dependencies:
git clone https://github.com/alievk/avatarify.git
cd avatarify
bash scripts/install.sh --no-vcam
  1. Download network weights and place vox-adv-cpk.pth.tar file in the avatarify directory (don't unpack it).

Windows

This guide will assume the OS is Windows 10 and latest NVIDIA drivers installed.

  1. Install Miniconda Python 3.7.
  2. Install Git.
  3. Press Windows button and type "miniconda". Run suggested Anaconda Prompt.
  4. Download and install Avatarify (please copy-paste these commands and don't change them):
git clone https://github.com/alievk/avatarify.git
cd avatarify
scripts\install_windows.bat
  1. Download network weights and place vox-adv-cpk.pth.tar file in the avatarify directory (don't unpack it).

Run server

Linux:

bash run.sh --is-worker

Windows:

run_windows.bat --is-worker

Run client

Clients are supported on all platforms. Use this command to run a client:

run_mac.sh --is-client --in-addr tcp://server_address:5557 --out-addr tcp://server_address:5558

where server_address is the IP address or the hostname of the server. Use run_windows.bat for Windows and run.sh for Linux.

Clone this wiki locally