Skip to content
Merged

Next #40

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 10 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.cpu
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.cuda
Original file line number Diff line number Diff line change
@@ -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

Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.rocm
Original file line number Diff line number Diff line change
@@ -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

Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.tensorrt
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
4 changes: 2 additions & 2 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
MIT license
OpenRAIL-S license

Copyright (c) 2024 Henry Ruhs
Copyright (c) 2025 Henry Ruhs
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down