This commit is contained in:
localhost-server 2024-12-10 09:34:02 +00:00 committed by GitHub
parent 678826132c
commit 4c087f627b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 23 additions and 0 deletions

12
installCuda.sh Normal file
View File

@ -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

10
installDefault.sh Normal file
View File

@ -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

1
run.sh Normal file
View File

@ -0,0 +1 @@
python facefusion.py run --open-browser