1
0
Files
AI-learning/README.md
2024-06-02 21:57:10 +08:00

21 lines
346 B
Markdown

# pytorch study
## BASE ENV
```shell
conda create -n pt python=3.10 -y
conda activate pt
```
## MAC
```shell
# 安装 pytorch v1.12版本已经正式支持了用于mac m1芯片gpu加速的mps后端
conda install pytorch::pytorch torchvision torchaudio -c pytorch -y
pip install -r requirements
```
## gpt4free
```
pip install -U g4f[all]
```