From 3ff6d63dd34aef873e1d00ba95c613ffe98b6f34 Mon Sep 17 00:00:00 2001 From: mirror Date: Fri, 27 Sep 2024 15:50:55 +0800 Subject: [PATCH] Update MACA --- MACA.md | 36 ++++++++++++++++++++++++++++++++++-- 1 file changed, 34 insertions(+), 2 deletions(-) diff --git a/MACA.md b/MACA.md index 99ac770..647034b 100644 --- a/MACA.md +++ b/MACA.md @@ -147,7 +147,7 @@ pip config set global.index-url https://repos.metax-tech.com/r/maca-pypi/simple pip config set global.trusted-host https://repos.metax-tech.com -### 安装包及列出可用版本 +### 列出可用版本 - **对于 pip 22.0 及之前版本,使用以下命令触发错误并列出包的所有可用版本** ```bash @@ -158,7 +158,6 @@ ```bash pip index versions triton -i https://repos.metax-tech.com/r/maca-pypi/simple --trusted-host repos.metax-tech.com ``` - ### 特别注意 - **包依赖** ```bash @@ -172,4 +171,37 @@ ### 兼容性 ```bash 当前仓库仅支持 Python 3.8 和 Python 3.10 版本。 + +### 安装指南 + + - **1.安装 mcPyTorch** + ```bash + pip install pip install torch== i https://repos.metax-tech.com/r/maca-pypi/simple --trusted-host repos.metax-tech.com + ``` + + - **2. 安装 mcFlashattn** + ```bash + pip install flash_attn== i https://repos.metax-tech.com/r/maca-pypi/simple --trusted-host repos.metax-tech.com + ``` + + - **3.安装 mcTorchvision** + ```bash + pip install torchvision== i https://repos.metax-tech.com/r/maca-pypi/simple --trusted-host repos.metax-tech.com + ``` + + - **4.安装mcTorchaudio** + ```bash + pip install torchaudio== i https://repos.metax-tech.com/r/maca-pypi/simple --trusted-host repos.metax-tech.com + ``` + +- **5.安装 mcApex** + ```bash + pip install apex== i https://repos.metax-tech.com/r/maca-pypi/simple --trusted-host repos.metax-tech.com + ``` + +- **6.安装 mcTriton** + ```bash + pip install triton== i https://repos.metax-tech.com/r/maca-pypi/simple --trusted-host repos.metax-tech.com + ``` + \ No newline at end of file