From c2dee5e3c29eba79e591d9e9caebaef15ea4e56b Mon Sep 17 00:00:00 2001 From: hnluo <haoneng.lhn@alibaba-inc.com> Date: 星期四, 29 六月 2023 11:09:28 +0800 Subject: [PATCH] Merge pull request #687 from alibaba-damo-academy/dev_lhn --- docs/installation/installation.md | 18 ++++++++---------- 1 files changed, 8 insertions(+), 10 deletions(-) diff --git a/docs/installation/installation.md b/docs/installation/installation.md index 89000ec..f81ae83 100755 --- a/docs/installation/installation.md +++ b/docs/installation/installation.md @@ -32,37 +32,35 @@ ### Install Pytorch (version >= 1.11.0): ```sh -pip install torch torchaudio +pip3 install torch torchaudio ``` - -For more details about torch, please see [https://pytorch.org/get-started/locally](https://pytorch.org/get-started/locally) - +If there exists CUDAs in your environments, you should install the pytorch with the version matching the CUDA. The matching list could be found in [docs](https://pytorch.org/get-started/previous-versions/). ### Install funasr #### Install from pip ```shell -pip install -U funasr +pip3 install -U funasr # For the users in China, you could install with the command: -# pip install -U funasr -i https://mirror.sjtu.edu.cn/pypi/web/simple +# pip3 install -U funasr -i https://mirror.sjtu.edu.cn/pypi/web/simple ``` #### Or install from source code ``` sh git clone https://github.com/alibaba/FunASR.git && cd FunASR -pip install -e ./ +pip3 install -e ./ # For the users in China, you could install with the command: -# pip install -e ./ -i https://mirror.sjtu.edu.cn/pypi/web/simple +# pip3 install -e ./ -i https://mirror.sjtu.edu.cn/pypi/web/simple ``` ### Install modelscope (Optional) If you want to use the pretrained models in ModelScope, you should install the modelscope: ```shell -pip install -U modelscope +pip3 install -U modelscope # For the users in China, you could install with the command: -# pip install -U modelscope -f https://modelscope.oss-cn-beijing.aliyuncs.com/releases/repo.html -i https://mirror.sjtu.edu.cn/pypi/web/simple +# pip3 install -U modelscope -f https://modelscope.oss-cn-beijing.aliyuncs.com/releases/repo.html -i https://mirror.sjtu.edu.cn/pypi/web/simple ``` ### FQA -- Gitblit v1.9.1