GPU版本

先安装anaconda

然后搭建两个环境TensorFlow and Pytorch

然后在不同的环境分别使用pip安装各自的库

最后在pycharm配置解释器

t81_558_deep_learning/tensorflow-install-conda-mac-metal-jul-2022.ipynb at master · jeffheaton/t81_558_deep_learning

Installing PyTorch on Apple M1 chip with GPU Acceleration

pycharm+anaconda