From 7d4670b1e24c6f5f57b802ff0028ee5436608ce0 Mon Sep 17 00:00:00 2001 From: repos Date: Tue, 24 Dec 2024 14:58:57 +0800 Subject: [PATCH] Update MACA --- MACA.md | 87 +++++++++++++++++++++++++++++---------------------------- 1 file changed, 45 insertions(+), 42 deletions(-) diff --git a/MACA.md b/MACA.md index 8fdb9ed..f4cac72 100644 --- a/MACA.md +++ b/MACA.md @@ -251,53 +251,56 @@ ### Pypi安装 - -#### 通过requirements.txt安装 - - **maca-pypi源地址预设在requirement.txt 文件中,用户执行命令不需关注maca-pypi源地址** - ```bash - cat < ./requirements.txt - -i https://repos.metax-tech.com/r/maca-pypi/simple - apex - dropout_layer_norm - flash_attn - fused_dense_lib - rotary_emb - torch - torchaudio - torchvision - triton - xentropy_cuda_lib - xformers - - EOF - pip install -r ./requirements.txt - - ``` - - **在命令行中指定 maca-pypi 源地址** - ```bash - cat < ./requirements.txt - apex - dropout_layer_norm - flash_attn - fused_dense_lib - rotary_emb - torch - torchaudio - torchvision - triton - xentropy_cuda_lib - xformers - - EOF - pip install -r ./requirements.txt -i https://repos.metax-tech.com/r/maca-pypi/simple --trusted-host repos.metax-tech.com - - ``` - #### 单包安装 - **使用以下命令安装指定包** ```bash pip install -i https://repos.metax-tech.com/r/maca-pypi/simple --trusted-host repos.metax-tech.com ``` + +#### 通过requirements.txt安装 + - **maca-pypi源地址预设在requirement.txt 文件中,用户执行命令不需关注maca-pypi源地址** + ```bash + pip install -r ./requirements.txt + ``` + ```bash + cat < ./requirements.txt + **-i https://repos.metax-tech.com/r/maca-pypi/simple** + apex + dropout_layer_norm + flash_attn + fused_dense_lib + rotary_emb + torch + torchaudio + torchvision + triton + xentropy_cuda_lib + xformers + + EOF + ``` + - **在命令行中指定 maca-pypi 源地址** + ```bash + pip install -r ./requirements.txt -i https://repos.metax-tech.com/r/maca-pypi/simple --trusted-host repos.metax-tech.com + ``` + ```bash + cat < ./requirements.txt + apex + dropout_layer_norm + flash_attn + fused_dense_lib + rotary_emb + torch + torchaudio + torchvision + triton + xentropy_cuda_lib + xformers + + EOF + ``` + + #### 列出可用版本