Update MACA
parent
7d4670b1e2
commit
77a471f5b1
25
MACA.md
25
MACA.md
@ -257,28 +257,7 @@
|
|||||||
pip install <package> -i https://repos.metax-tech.com/r/maca-pypi/simple --trusted-host repos.metax-tech.com
|
pip install <package> -i https://repos.metax-tech.com/r/maca-pypi/simple --trusted-host repos.metax-tech.com
|
||||||
```
|
```
|
||||||
|
|
||||||
#### 通过requirements.txt安装
|
#### 使用requirements.txt安装
|
||||||
- **maca-pypi源地址预设在requirement.txt 文件中,用户执行命令不需关注maca-pypi源地址**
|
|
||||||
```bash
|
|
||||||
pip install -r ./requirements.txt
|
|
||||||
```
|
|
||||||
```bash
|
|
||||||
cat <<EOF> ./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 源地址**
|
- **在命令行中指定 maca-pypi 源地址**
|
||||||
```bash
|
```bash
|
||||||
pip install -r ./requirements.txt -i https://repos.metax-tech.com/r/maca-pypi/simple --trusted-host repos.metax-tech.com
|
pip install -r ./requirements.txt -i https://repos.metax-tech.com/r/maca-pypi/simple --trusted-host repos.metax-tech.com
|
||||||
@ -301,8 +280,6 @@
|
|||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#### 列出可用版本
|
#### 列出可用版本
|
||||||
|
|
||||||
- **对于 pip 22.0 及之前版本,使用以下命令触发错误并列出包的所有可用版本**
|
- **对于 pip 22.0 及之前版本,使用以下命令触发错误并列出包的所有可用版本**
|
||||||
|
Loading…
Reference in New Issue
Block a user