Skip to content

Commit 766bf59

Browse files
committed
Upgrade Google Colab to PyTorch 2.6.0, add Conda to downgrade Python to 3.10
1 parent b0dceb6 commit 766bf59

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,11 @@
7474

7575
## Changelog
7676

77+
Mar 17:
78+
* Upgrade Google Colab to PyTorch 2.6.0, add Conda to downgrade Python to 3.10
79+
80+
## February 2025
81+
7782
Feb 15:
7883
* Fix Stable Audio to match the new version
7984

notebooks/google_colab.ipynb

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
{
22
"cells": [
3+
{
4+
"cell_type": "code",
5+
"execution_count": null,
6+
"id": "f28d6e31",
7+
"metadata": {},
8+
"outputs": [],
9+
"source": [
10+
"!wget -O mini.sh https://repo.anaconda.com/miniconda/Miniconda3-py310_22.11.1-1-Linux-x86_64.sh\n",
11+
"!chmod +x mini.sh\n",
12+
"!bash ./mini.sh -b -f -p /usr/local\n",
13+
"!conda install -q -y jupyter\n",
14+
"!conda install -q -y google-colab -c conda-forge\n",
15+
"!python -m ipykernel install --name \"py310\" --user"
16+
]
17+
},
318
{
419
"cell_type": "code",
520
"execution_count": null,
@@ -19,6 +34,16 @@
1934
"os.chdir(\"./tts-generation-webui\")"
2035
]
2136
},
37+
{
38+
"cell_type": "code",
39+
"execution_count": null,
40+
"id": "bcdf55a3",
41+
"metadata": {},
42+
"outputs": [],
43+
"source": [
44+
"!pip install -U torch==2.6.0 torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu126 xformers==0.0.29.post3 --extra-index-url https://download.pytorch.org/whl/cu126 -r requirements.txt -r requirements_bark_hubert_quantizer.txt -r requirements_rvc.txt -r requirements_audiocraft.txt -r requirements_styletts2.txt -r requirements_vall_e.txt -r requirements_maha_tts.txt -r requirements_stable_audio.txt hydra-core==1.3.2 nvidia-ml-py"
45+
]
46+
},
2247
{
2348
"cell_type": "code",
2449
"execution_count": null,

0 commit comments

Comments
 (0)