1.6 Additional Information
本小节主要介绍一些其它的操作
M3 安装tensorflow 以及pytorch
pip install tensorflow-macos pip install tensorflow-metal
import tensorflow as tf
print("TensorFlow 版本:", tf.version) print("GPU 是否可用:", tf.config.list_physical_devices('GPU'))
Previous1.5 Quickly Build Applications with Dify and OllamaNextChapter 2 TTS model Inference Fine-tuning
Last updated