Update MACA

repos 2024-12-24 14:47:39 +08:00
parent 73092e5fbc
commit 2c13df218e

16
MACA.md

@ -250,9 +250,9 @@
- 如果不使用 PyTorch Extension 功能,可以不配置 cu-bridge 环境。关于 PyTorch Extension 功能,参见官网描述。 - 如果不使用 PyTorch Extension 功能,可以不配置 cu-bridge 环境。关于 PyTorch Extension 功能,参见官网描述。
## Pypi安装 ### Pypi安装
### 通过requirements.txt安装 #### 通过requirements.txt安装
- **maca-pypi源地址预设在requirement.txt 文件中,用户执行命令不需关注maca-pypi源地址** - **maca-pypi源地址预设在requirement.txt 文件中,用户执行命令不需关注maca-pypi源地址**
```bash ```bash
cat <<EOF> ./requirements.txt cat <<EOF> ./requirements.txt
@ -293,14 +293,14 @@
``` ```
### 单包安装 #### 单包安装
- **使用以下命令安装指定包** - **使用以下命令安装指定包**
```bash ```bash
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
``` ```
### 列出可用版本 #### 列出可用版本
- **对于 pip 22.0 及之前版本,使用以下命令触发错误并列出包的所有可用版本** - **对于 pip 22.0 及之前版本,使用以下命令触发错误并列出包的所有可用版本**
```bash ```bash
@ -312,21 +312,21 @@
pip index versions <package> -i https://repos.metax-tech.com/r/maca-pypi/simple --trusted-host repos.metax-tech.com pip index versions <package> -i https://repos.metax-tech.com/r/maca-pypi/simple --trusted-host repos.metax-tech.com
``` ```
## Conda安装 ### Conda安装
### 单包安装 #### 单包安装
- **使用以下命令安装指定包** - **使用以下命令安装指定包**
```bash ```bash
conda install <PKG Name> -c https://repos.metax-tech.com/r/maca-conda/ conda install <PKG Name> -c https://repos.metax-tech.com/r/maca-conda/
``` ```
### 列出可用版本 #### 列出可用版本
- -
```bash ```bash
conda search <PKG Name> --info -c https://repos.metax-tech.com/r/maca-conda/ conda search <PKG Name> --info -c https://repos.metax-tech.com/r/maca-conda/
``` ```
## 兼容性 ### 兼容性
- 当前仓库仅支持 Python 3.8 和 Python 3.10 版本。 - 当前仓库仅支持 Python 3.8 和 Python 3.10 版本。
- 当前仓库仅支持cpython编译器。 - 当前仓库仅支持cpython编译器。