Skip to content

Latest commit

 

History

History
44 lines (39 loc) · 1.35 KB

Install on Macbook M1.md

File metadata and controls

44 lines (39 loc) · 1.35 KB

#Install on Macbook M1 chip

Ref: https://github.com/jeffheaton/t81_558_deep_learning/install/tensorflow-install-conda-mac-metal-jan-2023.ipynb

video link

NOTE: It's been tested on Macbook Air 2021 M1 chip only

Requirements:

  • Apple Mac with M1 chips
  • MacOS > 12.6 (Monterey)

Following steps

  1. Clone this repo
git clone https://github.com/taipingeric/fusionlab.git
cd fusionlab
  1. Uninstall Anaconda (Optional): https://docs.anaconda.com/anaconda/install/uninstall/
  2. Install Miniconda
    1. Miniconda3 macOS Apple M1 64-bit pkg
    2. Miniconda3 macOS Apple M1 64-bit bash
  3. Install the xcode-select command-line
xcode-select --install
  1. Deactivate the base environment
conda deactivate 
  1. Clone this repo from github and change dir
git clone https://github.com/taipingeric/fusionlab.git
cd fusionlab
  1. Create conda environment using config
conda env create -f ./configs/tf-apple-m1-conda.yaml -n fusionlab
  1. Replace requirements.txt with requirements-m1.txt
  2. Install by pip
pip install -r requirements-m1.txt