Created
June 30, 2021 02:47
-
-
Save neibla/510b46081007b20c776ca2a06439c29f to your computer and use it in GitHub Desktop.
Setting up Tensorflow with AMD GPU on Macos via metal
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://developer.apple.com/metal/tensorflow-plugin/ | |
virtualenv -p /usr/bin/python3 myenv | |
source myenv/bin/activate | |
python -m pip install -U pip | |
export GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=true | |
export GRPC_PYTHON_BUILD_SYSTEM_ZLIB=true | |
python3 -m pip install --upgrade setuptools | |
python3 -m pip install --upgrade pip | |
pip install tensorflow-macos | |
pip install tensorflow-metal |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment