|
--- |
|
license: mit |
|
--- |
|
Hey! This isn't a model really, but it installs RVC in SUPER RECORD fast time on Google Colab! 3 minute install! It zips all the pips and puts them in a zip file, then just downloads the zip file for the next run! |
|
|
|
Here is the link to ALL the pip dependencies: |
|
|
|
https://huggingface.co/PhoenixStormJr/RVC-Easy-GUI-faster-install/resolve/main/RVC-Easy-GUI-dist-packages.zip |
|
|
|
|
|
Here is the code I used to create the zip file: |
|
|
|
#@title Install dependencies to Google Drive |
|
|
|
RequirementsDriveText="""joblib>=1.1.0 |
|
|
|
numba==0.56.4 |
|
|
|
numpy==1.23.5 |
|
|
|
scipy |
|
|
|
librosa==0.9.1 |
|
|
|
llvmlite==0.39.0 |
|
|
|
fairseq>=0.12.2 |
|
|
|
soundfile>=0.12.1 |
|
|
|
ffmpeg-python>=0.2.0 |
|
|
|
matplotlib==3.9.4 |
|
|
|
matplotlib-inline>=0.1.3 |
|
|
|
praat-parselmouth>=0.4.2 |
|
|
|
Pillow>=9.1.1 |
|
|
|
resampy>=0.4.2 |
|
|
|
scikit-learn |
|
|
|
tensorboard==2.19.0 |
|
|
|
tqdm>=4.63.1 |
|
|
|
sympy==1.13.1 |
|
|
|
tabulate>=0.8.10 |
|
|
|
PyYAML>=6.0 |
|
|
|
absl-py>=1.2.0 |
|
|
|
audioread |
|
|
|
colorama>=0.4.5 |
|
|
|
pyworld==0.3.2 |
|
|
|
av |
|
|
|
torch==2.5.0 |
|
|
|
python-dotenv |
|
|
|
faiss-cpu==1.7.3 |
|
|
|
torchcrepe==0.0.20""" |
|
|
|
|
|
|
|
%cd /content |
|
|
|
import os |
|
|
|
from google.colab import drive |
|
|
|
drive.mount('/content/drive') |
|
|
|
|
|
#default installation: /usr/local/lib/python3.10/dist-packages |
|
|
|
|
|
RequirementsFile = open("/content/requirements.txt", "w") |
|
|
|
RequirementsFile.write(RequirementsDriveText) |
|
|
|
RequirementsFile.close() |
|
|
|
|
|
!sudo apt install python3.10 python3.10-venv python3.10-dev python3.10-minimal python3.10-distutils |
|
|
|
!curl -O https://bootstrap.pypa.io/get-pip.py |
|
|
|
!python3.10 get-pip.py |
|
|
|
!python3.10 -m pip install --upgrade pip==24.0 |
|
|
|
|
|
if not os.path.exists("/local/lib/python3.10/dist-packages"): |
|
|
|
os.makedirs("/local/lib/python3.10/dist-packages") |
|
|
|
!python3.10 -m pip install -r requirements.txt --target="/local/lib/python3.10/dist-packages" |
|
|
|
if not os.path.exists("/local/lib/python3.11/dist-packages"): |
|
|
|
os.makedirs("/local/lib/python3.11/dist-packages") |
|
|
|
!python -m pip install faiss-cpu==1.7.3 numpy==1.26.4 pydub --target="/local/lib/python3.11/dist-packages" |
|
|
|
print("Zipping the pip") |
|
|
|
src_dir = "/local" |
|
|
|
zip_path = "/content/dist-packages.zip" |
|
|
|
!zip -r $zip_path $src_dir |
|
|
|
print(f"Zipped to: {zip_path}") |
|
|
|
print("Copying to google drive") |
|
|
|
if not os.path.exists("/content/drive/MyDrive/speed_up_RVC"): |
|
|
|
os.path.makedirs("/content/drive/MyDrive/speed_up_RVC") |
|
|
|
!cp $zip_path "/content/drive/MyDrive/speed_up_RVC" |
|
|
|
print("FINISHED!") |