Update MACA

mirror 2024-09-27 15:50:55 +08:00
parent 0d65d88960
commit 3ff6d63dd3

36
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
@ -173,3 +172,36 @@
```bash
当前仓库仅支持 Python 3.8 和 Python 3.10 版本。
### 安装指南
- **1.安装 mcPyTorch**
```bash
pip install pip install torch==<version> i https://repos.metax-tech.com/r/maca-pypi/simple --trusted-host repos.metax-tech.com
```
- **2. 安装 mcFlashattn**
```bash
pip install flash_attn==<version> i https://repos.metax-tech.com/r/maca-pypi/simple --trusted-host repos.metax-tech.com
```
- **3.安装 mcTorchvision**
```bash
pip install torchvision==<version> i https://repos.metax-tech.com/r/maca-pypi/simple --trusted-host repos.metax-tech.com
```
- **4.安装mcTorchaudio**
```bash
pip install torchaudio==<version> i https://repos.metax-tech.com/r/maca-pypi/simple --trusted-host repos.metax-tech.com
```
- **5.安装 mcApex**
```bash
pip install apex==<version> i https://repos.metax-tech.com/r/maca-pypi/simple --trusted-host repos.metax-tech.com
```
- **6.安装 mcTriton**
```bash
pip install triton==<version> i https://repos.metax-tech.com/r/maca-pypi/simple --trusted-host repos.metax-tech.com
```