Skip to content

Instantly share code, notes, and snippets.

@stamler
Last active January 26, 2023 22:17
Show Gist options
  • Save stamler/2fc9d6d8de237bf8fc797e3299cdcdb3 to your computer and use it in GitHub Desktop.
Save stamler/2fc9d6d8de237bf8fc797e3299cdcdb3 to your computer and use it in GitHub Desktop.
#!/bin/bash
# Create the env
conda create --name ml
conda activate ml
conda install -c apple tensorflow-deps
# versions matter. confirm here
# https://developer.apple.com/metal/tensorflow-plugin/
pip install tensorflow-macos==2.9.0
pip install tensorflow-metal==0.5.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment