RoopUnleashedv8 / RunPod_Install.sh
fnorby777's picture
Initial commit
ab0dd0b
#!/bin/bash
# Update package lists
apt update
# Clone the roop repository
git clone https://bitbucket.org/secourses/rop-unleash
# Change directory to roop
cd rop-unleash
# Checkout a specific commit - you can remove this line to install latest version
#git checkout 3d02b267663e4badc5c7936d5295effcae3dfbc0
# Create a Python virtual environment
python -m venv venv
# Activate the virtual environment
source venv/bin/activate
python -m pip install --upgrade pip
cd ..
# Install onnxruntime-gpu and requirements
pip install -r requirements.txt
wget https://developer.download.nvidia.com/compute/cudnn/9.10.2/local_installers/cudnn-local-repo-ubuntu2204-9.10.2_1.0-1_amd64.deb
dpkg -i cudnn-local-repo-ubuntu2204-9.10.2_1.0-1_amd64.deb
cp /var/cudnn-local-repo-ubuntu2204-9.10.2/cudnn-*-keyring.gpg /usr/share/keyrings/
apt-get update
apt-get -y install cudnn
python Fix.py
# Install python3.10-tk package
yes | apt-get install -y python3.10-tk
yes | apt-get install ffmpeg
yes | apt-get install p7zip-full