1
0
Files
AI-learning/README.md
2024-05-23 20:43:52 +08:00

23 lines
378 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 numpy
pip install pandas
pip install matplotlib
```
## gpt4free
```
pip install -U g4f[all]
```