Update MACA

mirror 2024-09-26 15:58:16 +08:00
parent 48cf65f5df
commit 5fe8223ac4

29
MACA.md

@ -69,20 +69,7 @@
apt autoremove apt autoremove
``` ```
## Metax Driver
### MACA Pytorch
1. **一次性安装**
```bash
pip install <PKG Name> -i https://repos.metax-tech.com/r/maca-pypi/simple --trusted-host https://repos.metax-tech.com
1. **永久配置**
```bash
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
### Metax Driver
- **适配 CentOS 7** - **适配 CentOS 7**
@ -116,3 +103,17 @@
curl -fsSL https://repos.metax-tech.com/public.gpg.key | apt-key add - curl -fsSL https://repos.metax-tech.com/public.gpg.key | apt-key add -
echo "deb [arch=$(dpkg --print-architecture)] https://repos.metax-tech.com/r/metax-driver-ubuntu/ stable main" | tee /etc/apt/sources.list.d/metax-driver-ubuntu.list echo "deb [arch=$(dpkg --print-architecture)] https://repos.metax-tech.com/r/metax-driver-ubuntu/ stable main" | tee /etc/apt/sources.list.d/metax-driver-ubuntu.list
apt-get update apt-get update
## MACA Pytorch
1. **一次性安装**
```bash
pip install <PKG Name> -i https://repos.metax-tech.com/r/maca-pypi/simple --trusted-host https://repos.metax-tech.com
1. **永久配置**
```bash
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