Update Maca3.0

mirror 2024-09-11 16:43:00 +08:00
parent eac66925b0
commit 5114a0c6b1

@ -9,7 +9,7 @@
## 新版本使用方法 ## 新版本使用方法
### SDK ### MACA SDK
### 安装 RPM ### 安装 RPM
@ -35,3 +35,15 @@
curl -fsSL https://mirror.metax-tech.com/nexus_pub.asc | apt-key add - curl -fsSL https://mirror.metax-tech.com/nexus_pub.asc | apt-key add -
echo "deb [arch=$(dpkg --print-architecture)] https://mirrors.metax-tech.com/maca-sdk-deb/ stable main" | tee /etc/apt/sources.list.d/maca-sdk-deb.list echo "deb [arch=$(dpkg --print-architecture)] https://mirrors.metax-tech.com/maca-sdk-deb/ stable main" | tee /etc/apt/sources.list.d/maca-sdk-deb.list
apt-get update apt-get update
### MACA Pytorch
1. **一次性安装**
```bash
pip install <PKG Name> -i https://mirror.metax-tech.com/maca-pypi/simple --trusted-host mirror.metax-tech.com
1. **永久配置**
```bash
pip config set global.index-url https://mirror.metax-tech.com/maca-pypi/simple
pip config set install.trusted-host https://mirror.metax-tech.com