Closed cheniia closed 3 months ago
操作系:win11家庭版 23H2 conda:24.1.2 Python:3.11.9 conda create -n chattts python=3.11 torch 版本 2.1.2 cuda版本 cuda_12.1.1 cuda各版本下载地址 https://developer.nvidia.com/cuda-toolkit-archive nvidia驱动版本 531.14
conda create -n chattts python=3.11
cuda各版本下载地址 https://developer.nvidia.com/cuda-toolkit-archive
pip install -r requirements.txt pip install jupyter conda install -c conda-forge pynini=2.1.5 && pip install nemo_text_processing conda install -c conda-forge pynini=2.1.5 && pip install WeTextProcessing 作者默认使用的是cpu版本的torch,如果使用GPU版torch,安装如下依赖进行替换 pip install torch==2.1.2 torchvision==0.16.2 torchaudio==2.1.2 --index-url https://download.pytorch.org/whl/cu121
pip install -r requirements.txt
pip install jupyter
conda install -c conda-forge pynini=2.1.5 && pip install nemo_text_processing
conda install -c conda-forge pynini=2.1.5 && pip install WeTextProcessing
pip install torch==2.1.2 torchvision==0.16.2 torchaudio==2.1.2 --index-url https://download.pytorch.org/whl/cu121
jupyter notebook --notebook-dir=[你的项目路径]
我也成功了 分享一下
Windows下还是建议WSL,compile在True的情况下性能至少是windows环境下的两倍以上,还是建议编译后运行。另外,一定要在环境中安装cuda-toolkit,目前在作者的依赖文件中是不包括的,需要自行安装。 conda install -c nvidia cuda-toolkit,否则,编译无法进行,会出现警告甚至报错。 每次运行的第一次编译时间较长,之后会正常。
操作系统及运行环境版本
操作系:win11家庭版 23H2 conda:24.1.2 Python:3.11.9
conda create -n chattts python=3.11
torch 版本 2.1.2 cuda版本 cuda_12.1.1cuda各版本下载地址 https://developer.nvidia.com/cuda-toolkit-archive
nvidia驱动版本 531.14依赖包安装
pip install -r requirements.txt
pip install jupyter
conda install -c conda-forge pynini=2.1.5 && pip install nemo_text_processing
conda install -c conda-forge pynini=2.1.5 && pip install WeTextProcessing
作者默认使用的是cpu版本的torch,如果使用GPU版torch,安装如下依赖进行替换pip install torch==2.1.2 torchvision==0.16.2 torchaudio==2.1.2 --index-url https://download.pytorch.org/whl/cu121
运行jupyter notebook
jupyter notebook --notebook-dir=[你的项目路径]
成功运行