diff --git a/MACA.md b/MACA.md index d5cdc08..470c240 100644 --- a/MACA.md +++ b/MACA.md @@ -309,35 +309,65 @@ ``` ```bash - 使用 conda 安装 - conda install torch== -c https://repos.metax-tech.com/r/maca-conda/ + 或者使用 conda 安装 + conda install torch== -c https://repos.metax-tech.com/r/maca-conda/ ``` - **2. 安装 mcFlashattn** ```bash + 使用 pip 安装 pip install flash_attn== i https://repos.metax-tech.com/r/maca-pypi/simple --trusted-host repos.metax-tech.com ``` + ```bash + 或者使用 conda 安装 + conda install flash_attn== -c https://repos.metax-tech.com/r/maca-conda/ + ``` + - **3.安装 mcTorchvision(可选)** ```bash + 使用 pip 安装 pip install torchvision== i https://repos.metax-tech.com/r/maca-pypi/simple --trusted-host repos.metax-tech.com ``` + ```bash + 或者使用 conda 安装 + conda install torchvision== -c https://repos.metax-tech.com/r/maca-conda/ + ``` + - **4.安装mcTorchaudio(可选)** ```bash + 使用 pip 安装 pip install torchaudio== i https://repos.metax-tech.com/r/maca-pypi/simple --trusted-host repos.metax-tech.com ``` + ```bash + 或者使用 conda 安装 + conda install torchaudio== -c https://repos.metax-tech.com/r/maca-conda/ + ``` + - **5.安装 mcApex(可选)** ```bash + 使用 pip 安装 pip install apex== i https://repos.metax-tech.com/r/maca-pypi/simple --trusted-host repos.metax-tech.com ``` + ```bash + 或者使用 conda 安装 + conda install apex== -c https://repos.metax-tech.com/r/maca-conda/ + ``` + - **6.安装 mcTriton(可选)** ```bash + 使用 pip 安装 pip install triton== i https://repos.metax-tech.com/r/maca-pypi/simple --trusted-host repos.metax-tech.com ``` + ```bash + 或者使用 conda 安装 + conda install triton== -c https://repos.metax-tech.com/r/maca-conda/ + ``` + ### 需要注意 #### 包依赖