From 4c087f627b815dcdf6eae06adb5657b52091136e Mon Sep 17 00:00:00 2001 From: localhost-server <99524394+localhost-server@users.noreply.github.com> Date: Tue, 10 Dec 2024 09:34:02 +0000 Subject: [PATCH] commit --- installCuda.sh | 12 ++++++++++++ installDefault.sh | 10 ++++++++++ run.sh | 1 + 3 files changed, 23 insertions(+) create mode 100644 installCuda.sh create mode 100644 installDefault.sh create mode 100644 run.sh diff --git a/installCuda.sh b/installCuda.sh new file mode 100644 index 00000000..5387adae --- /dev/null +++ b/installCuda.sh @@ -0,0 +1,12 @@ +conda init --all +bash +sudo apt-get update +sudo apt-get install ffmpeg -y +sudo apt-get install mesa-va-drivers -y +conda create --name facefusion python=3.12 -y +conda activate facefusion +python install.py --onnxruntime default +conda install conda-forge::cuda-runtime=12.4.1 conda-forge::cudnn=9.2.1.18 -y +pip install tensorrt==10.6.0 --extra-index-url https://pypi.nvidia.com +conda deactivate +conda activate facefusion \ No newline at end of file diff --git a/installDefault.sh b/installDefault.sh new file mode 100644 index 00000000..8589d3f6 --- /dev/null +++ b/installDefault.sh @@ -0,0 +1,10 @@ +conda init --all +bash +sudo apt-get update +sudo apt-get install ffmpeg -y +apt-get install mesa-va-drivers -y +conda create --name facefusion python=3.12 -y +conda activate facefusion +python install.py --onnxruntime default +conda deactivate +conda activate facefusion \ No newline at end of file diff --git a/run.sh b/run.sh new file mode 100644 index 00000000..9d7b82b8 --- /dev/null +++ b/run.sh @@ -0,0 +1 @@ +python facefusion.py run --open-browser \ No newline at end of file