|
|
| Please register for RunPod at: https://get.runpod.io/955rkuppqv4h |
|
|
| Example tutorial for learn how to install and use RunPod is below |
|
|
| (starts at 22:03) : https://youtu.be/KW-MHmoNcqo?si=QN8X8Sjn13ZYu-EU&t=1323 |
|
|
| RunPod permanent network storage tutorial : https://youtu.be/8Qf4x3-DFf4 |
|
|
| When deploying a Pod select min 24 GB GPU like RTX 3090 but 4090 should work way faster |
|
|
| Recommended GPUs are 48 GB for maximum speed with no-tiling like A40, A6000, L40S |
|
|
| select runpod template - this is important |
|
|
| RunPod Pytorch 2.2.0 |
| runpod/pytorch:2.2.0-py3.10-cuda12.1.1 |
|
|
| Edit Template |
|
|
| Make volume disk 50 gb or bigger - this is important |
|
|
| Add HTTP port 7860 and 7861 to the exposed ports list to enable proxy connection. |
| By default, it will start with the --share option for Gradio sharing. |
|
|
| Upload all files to the workspace folder. |
|
|
| To install, run the following commands: |
|
|
| cd /workspace |
| export HF_HOME="/workspace" |
| chmod +x RunPod_Install.sh |
| ./RunPod_Install.sh |
|
|
| This will install everything fully automatically |
|
|
| To use after installation: |
|
|
| You don't have to do above steps anymore once you done them |
|
|
| Then whenever you want to use roop-unleashed deepfake |
|
|
| Open a new terminal inside the main roop-unleashed folder in your workspace as shown in tutorial video |
|
|
| Execute below commands |
|
|
| cd /workspace/rop-unleash |
| source ./venv/bin/activate |
| python run.py |
|
|
| If you don't want gradio share, edit the settings.py and make share False before starting with above command |
|
|
| After you have turned off the pod or restarted the pod execute below commands 1 time. Do this after each restart or turned off pod and started again |
| Copy all and paste and hit enter at once |
|
|
| apt update |
|
|
| yes | apt-get install -y python3.10-tk |
|
|
| yes | apt-get install ffmpeg |
|
|
| yes | apt-get install p7zip-full |