mirror of
https://github.com/facefusion/facefusion-docker.git
synced 2026-05-29 15:49:28 +02:00
@@ -9,10 +9,10 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
config:
|
||||
- { display-name: 'test (cpu)', docker-file: 'Dockerfile.cpu', image-slug: 'facefusion/facefusion:${{ github.ref_name }}-cpu' }
|
||||
- { display-name: 'test (cuda)', docker-file: 'Dockerfile.cuda', image-slug: 'facefusion/facefusion:${{ github.ref_name }}-cuda' }
|
||||
- { display-name: 'test (tensorrt)', docker-file: 'Dockerfile.tensorrt', image-slug: 'facefusion/facefusion:${{ github.ref_name }}-tensorrt' }
|
||||
- { display-name: 'test (rocm)', docker-file: 'Dockerfile.rocm', image-slug: 'facefusion/facefusion:${{ github.ref_name }}-rocm' }
|
||||
- { display-name: 'test (cpu)', docker-file: 'Dockerfile.cpu', image-slug: 'facefusion/facefusion:3.2.0-cpu' }
|
||||
- { display-name: 'test (cuda)', docker-file: 'Dockerfile.cuda', image-slug: 'facefusion/facefusion:3.2.0-cuda' }
|
||||
- { display-name: 'test (tensorrt)', docker-file: 'Dockerfile.tensorrt', image-slug: 'facefusion/facefusion:3.2.0-tensorrt' }
|
||||
- { display-name: 'test (rocm)', docker-file: 'Dockerfile.rocm', image-slug: 'facefusion/facefusion:3.2.0-rocm' }
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
@@ -24,15 +24,16 @@ jobs:
|
||||
run: docker ps | grep -q ${{ matrix.config.image-slug }}
|
||||
deploy:
|
||||
name: ${{ matrix.config.display-name }}
|
||||
runs-on: ubuntu-latest
|
||||
if: github.ref == 'refs/heads/master'
|
||||
needs: test
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
config:
|
||||
- { display-name: 'deploy (cpu)', docker-file: 'Dockerfile.cpu', image-slug: 'facefusion/facefusion:${{ github.ref_name }}-cpu' }
|
||||
- { display-name: 'deploy (cuda)', docker-file: 'Dockerfile.cuda', image-slug: 'facefusion/facefusion:${{ github.ref_name }}-cuda' }
|
||||
- { display-name: 'deploy (tensorrt)', docker-file: 'Dockerfile.tensorrt', image-slug: 'facefusion/facefusion:${{ github.ref_name }}-tensorrt' }
|
||||
- { display-name: 'deploy (rocm)', docker-file: 'Dockerfile.rocm', image-slug: 'facefusion/facefusion:${{ github.ref_name }}-rocm' }
|
||||
- { display-name: 'deploy (cpu)', docker-file: 'Dockerfile.cpu', image-slug: 'facefusion/facefusion:3.2.0-cpu' }
|
||||
- { display-name: 'deploy (cuda)', docker-file: 'Dockerfile.cuda', image-slug: 'facefusion/facefusion:3.2.0-cuda' }
|
||||
- { display-name: 'deploy (tensorrt)', docker-file: 'Dockerfile.tensorrt', image-slug: 'facefusion/facefusion:3.2.0-tensorrt' }
|
||||
- { display-name: 'deploy (rocm)', docker-file: 'Dockerfile.rocm', image-slug: 'facefusion/facefusion:3.2.0-rocm' }
|
||||
steps:
|
||||
- name: Login
|
||||
uses: docker/login-action@v3
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
FROM python:3.12
|
||||
|
||||
ARG FACEFUSION_VERSION=3.1.2
|
||||
ARG FACEFUSION_VERSION=3.2.0
|
||||
ENV GRADIO_SERVER_NAME=0.0.0.0
|
||||
ENV PIP_BREAK_SYSTEM_PACKAGES=1
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
FROM nvidia/cuda:12.8.1-cudnn-runtime-ubuntu24.04
|
||||
|
||||
ARG FACEFUSION_VERSION=3.1.2
|
||||
ARG FACEFUSION_VERSION=3.2.0
|
||||
ENV GRADIO_SERVER_NAME=0.0.0.0
|
||||
ENV PIP_BREAK_SYSTEM_PACKAGES=1
|
||||
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
FROM rocm/dev-ubuntu-24.04:6.2
|
||||
FROM rocm/dev-ubuntu-24.04:6.4
|
||||
|
||||
ARG FACEFUSION_VERSION=3.1.2
|
||||
ARG FACEFUSION_VERSION=3.2.0
|
||||
ENV GRADIO_SERVER_NAME=0.0.0.0
|
||||
ENV PIP_BREAK_SYSTEM_PACKAGES=1
|
||||
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
FROM nvidia/cuda:12.8.1-cudnn-runtime-ubuntu24.04
|
||||
|
||||
ARG FACEFUSION_VERSION=3.1.2
|
||||
ARG FACEFUSION_VERSION=3.2.0
|
||||
ENV GRADIO_SERVER_NAME=0.0.0.0
|
||||
ENV PIP_BREAK_SYSTEM_PACKAGES=1
|
||||
ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/python3.12/dist-packages/tensorrt_libs
|
||||
@@ -14,7 +14,7 @@ RUN apt-get install pip -y
|
||||
RUN apt-get install git -y
|
||||
RUN apt-get install curl -y
|
||||
RUN apt-get install ffmpeg -y
|
||||
RUN pip install tensorrt==10.8.0.43 --extra-index-url https://pypi.nvidia.com
|
||||
RUN pip install tensorrt==10.9.0.34 --extra-index-url https://pypi.nvidia.com
|
||||
|
||||
RUN git clone https://github.com/facefusion/facefusion.git --branch ${FACEFUSION_VERSION} --single-branch .
|
||||
RUN python install.py --onnxruntime cuda --skip-conda
|
||||
|
||||
+2
-2
@@ -1,3 +1,3 @@
|
||||
MIT license
|
||||
OpenRAIL-S license
|
||||
|
||||
Copyright (c) 2024 Henry Ruhs
|
||||
Copyright (c) 2025 Henry Ruhs
|
||||
|
||||
@@ -4,11 +4,11 @@ FaceFusion Docker
|
||||
> Industry leading face manipulation platform.
|
||||
|
||||
[](https://github.com/facefusion/facefusion-docker/actions?query=workflow:ci)
|
||||
[](https://hub.docker.com/r/facefusion/facefusion/tags?name=master-cpu)
|
||||
[](https://hub.docker.com/r/facefusion/facefusion/tags?name=master-cuda)
|
||||
[](https://hub.docker.com/r/facefusion/facefusion/tags?name=master-tensorrt)
|
||||
[](https://hub.docker.com/r/facefusion/facefusion/tags?name=master-rocm)
|
||||

|
||||
[](https://hub.docker.com/r/facefusion/facefusion/tags?name=3.2.0-cpu)
|
||||
[](https://hub.docker.com/r/facefusion/facefusion/tags?name=3.2.0-cuda)
|
||||
[](https://hub.docker.com/r/facefusion/facefusion/tags?name=3.2.0-tensorrt)
|
||||
[](https://hub.docker.com/r/facefusion/facefusion/tags?name=3.2.0-rocm)
|
||||

|
||||
|
||||
|
||||
Installation
|
||||
|
||||
Reference in New Issue
Block a user