Merge pull request #40 from facefusion/next

Next
This commit is contained in:
Henry Ruhs
2025-04-29 18:17:05 +02:00
committed by GitHub
7 changed files with 23 additions and 22 deletions
+10 -9
View File
@@ -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
View File
@@ -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
View File
@@ -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
View File
@@ -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
View File
@@ -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
View File
@@ -1,3 +1,3 @@
MIT license
OpenRAIL-S license
Copyright (c) 2024 Henry Ruhs
Copyright (c) 2025 Henry Ruhs
+5 -5
View File
@@ -4,11 +4,11 @@ FaceFusion Docker
> Industry leading face manipulation platform.
[![Build Status](https://img.shields.io/github/actions/workflow/status/facefusion/facefusion-docker/ci.yml.svg?branch=master)](https://github.com/facefusion/facefusion-docker/actions?query=workflow:ci)
[![Docker Hub](https://img.shields.io/docker/v/facefusion/facefusion/master-cpu?label=docker-hub)](https://hub.docker.com/r/facefusion/facefusion/tags?name=master-cpu)
[![Docker Hub](https://img.shields.io/docker/v/facefusion/facefusion/master-cuda?label=docker-hub)](https://hub.docker.com/r/facefusion/facefusion/tags?name=master-cuda)
[![Docker Hub](https://img.shields.io/docker/v/facefusion/facefusion/master-tensorrt?label=docker-hub)](https://hub.docker.com/r/facefusion/facefusion/tags?name=master-tensorrt)
[![Docker Hub](https://img.shields.io/docker/v/facefusion/facefusion/master-rocm?label=docker-hub)](https://hub.docker.com/r/facefusion/facefusion/tags?name=master-rocm)
![License](https://img.shields.io/badge/license-MIT-green)
[![Docker Hub](https://img.shields.io/docker/v/facefusion/facefusion/3.2.0-cpu?label=docker-hub)](https://hub.docker.com/r/facefusion/facefusion/tags?name=3.2.0-cpu)
[![Docker Hub](https://img.shields.io/docker/v/facefusion/facefusion/3.2.0-cuda?label=docker-hub)](https://hub.docker.com/r/facefusion/facefusion/tags?name=3.2.0-cuda)
[![Docker Hub](https://img.shields.io/docker/v/facefusion/facefusion/3.2.0-tensorrt?label=docker-hub)](https://hub.docker.com/r/facefusion/facefusion/tags?name=3.2.0-tensorrt)
[![Docker Hub](https://img.shields.io/docker/v/facefusion/facefusion/3.2.0-rocm?label=docker-hub)](https://hub.docker.com/r/facefusion/facefusion/tags?name=3.2.0-rocm)
![License](https://img.shields.io/badge/license-OpenRAIL--S-green)
Installation