File size: 2,313 Bytes
ec6e2ca
 
 
 
 
25231c8
 
 
 
 
275b0a6
ec6e2ca
275b0a6
e4f8824
275b0a6
e4f8824
275b0a6
e4f8824
275b0a6
e4f8824
275b0a6
e4f8824
275b0a6
e4f8824
275b0a6
e4f8824
275b0a6
e4f8824
275b0a6
e4f8824
275b0a6
e4f8824
275b0a6
e4f8824
275b0a6
e4f8824
275b0a6
e4f8824
275b0a6
e4f8824
275b0a6
e4f8824
275b0a6
e4f8824
275b0a6
e4f8824
275b0a6
e4f8824
275b0a6
e4f8824
275b0a6
e4f8824
275b0a6
e4f8824
275b0a6
e4f8824
275b0a6
e4f8824
275b0a6
e4f8824
275b0a6
e4f8824
275b0a6
 
08e06c2
 
 
 
 
 
 
275b0a6
 
 
 
e4f8824
275b0a6
e4f8824
275b0a6
e4f8824
275b0a6
 
e4f8824
275b0a6
 
e4f8824
275b0a6
e4f8824
275b0a6
e4f8824
275b0a6
 
e4f8824
275b0a6
e4f8824
275b0a6
e4f8824
275b0a6
e4f8824
275b0a6
 
e4f8824
275b0a6
e4f8824
275b0a6
e4f8824
275b0a6
e4f8824
275b0a6
e4f8824
275b0a6
e4f8824
275b0a6
 
 
e4f8824
275b0a6
e4f8824
275b0a6
e4f8824
275b0a6
e4f8824
275b0a6
e4f8824
275b0a6
e4f8824
275b0a6
e4f8824
275b0a6
e4f8824
275b0a6
e4f8824
275b0a6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
---
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!")