Next generation face swapper and enhancer.
Clone the repository:
git clone https://github.com/facefusion/facefusion-docker.git
Set your UID (id -u
) and GID (id -g
) in .env
to run facefusion as an unprivileged user:
echo -e "PUID=$(id -u)\nPGID=$(id -g)" > .env
Run the CPU
container:
docker compose -f docker-compose.cpu.yml up
Run the CUDA
container:
docker compose -f docker-compose.cuda.yml up
Run the ROCM
container:
docker compose -f docker-compose.rocm.yml up
Browse the CPU
container:
http://localhost:7870
Browse the CUDA
container:
http://localhost:7880
Browse the ROCM
container:
http://localhost:7890
Read the documentation for a deep dive.