- .vscode/launch.json +12 -0
- readme.txt +33 -3
.vscode/launch.json
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"version": "0.2.0",
|
| 3 |
+
"configurations": [
|
| 4 |
+
{
|
| 5 |
+
"name": "Python Debugger: Current File",
|
| 6 |
+
"type": "debugpy",
|
| 7 |
+
"request": "launch",
|
| 8 |
+
"program": "${file}",
|
| 9 |
+
"console": "integratedTerminal"
|
| 10 |
+
}
|
| 11 |
+
]
|
| 12 |
+
}
|
readme.txt
CHANGED
|
@@ -7,10 +7,40 @@ hf download JerryAGENDD/JLSpeech_tokenized --repo-type=dataset
|
|
| 7 |
conda create -n RWKVTTS python==3.10 pip
|
| 8 |
conda activate RWKVTTS
|
| 9 |
pip install torch --upgrade --extra-index-url https://download.pytorch.org/whl/cu130
|
| 10 |
-
pip install
|
| 11 |
-
|
| 12 |
|
| 13 |
-
pip install "setuptools<70"
|
| 14 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
|
|
|
|
| 16 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
conda create -n RWKVTTS python==3.10 pip
|
| 8 |
conda activate RWKVTTS
|
| 9 |
pip install torch --upgrade --extra-index-url https://download.pytorch.org/whl/cu130
|
| 10 |
+
pip install datasets accelerate
|
| 11 |
+
pip install pytorch-lightning==1.9.5 deepspeed wandb ninja --upgrade --no-build-isolation
|
| 12 |
|
|
|
|
| 13 |
|
| 14 |
+
export PATH=/usr/local/cuda/bin:/root/miniforge3/envs/RWKVTTS/bin:$PATH
|
| 15 |
+
source ~/.bashrc
|
| 16 |
+
which ninja
|
| 17 |
+
让系统能找到 ninja
|
| 18 |
|
| 19 |
+
Toolkit: Installed in /usr/local/cuda-13.0/
|
| 20 |
|
| 21 |
+
Please make sure that
|
| 22 |
+
- PATH includes /usr/local/cuda-13.0/bin
|
| 23 |
+
- LD_LIBRARY_PATH includes /usr/local/cuda-13.0/lib64,
|
| 24 |
+
|
| 25 |
+
|
| 26 |
+
update-alternatives --remove cuda /usr/local/cuda-12.2
|
| 27 |
+
update-alternatives --install /usr/local/cuda cuda /usr/local/cuda-13.0 130
|
| 28 |
+
ln -sfT /usr/local/cuda-13.0 /etc/alternatives/cuda
|
| 29 |
+
ln -sfT /etc/alternatives/cuda /usr/local/cuda
|
| 30 |
+
|
| 31 |
+
|
| 32 |
+
vi ~/.bashrc
|
| 33 |
+
|
| 34 |
+
if [ -z $LD_LIBRARY_PATH ]; then
|
| 35 |
+
LD_LIBRARY_PATH=/usr/local/cuda-13.0/lib64
|
| 36 |
+
else
|
| 37 |
+
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda-13.0/lib64
|
| 38 |
+
fi
|
| 39 |
+
export LD_LIBRARY_PATH
|
| 40 |
+
|
| 41 |
+
export PATH=/usr/local/cuda/bin:$PATH
|
| 42 |
+
|
| 43 |
+
|
| 44 |
+
source ~/.bashrc
|
| 45 |
+
|
| 46 |
+
nvcc --version
|