Skip to content

This repository contains a tutorial for using python poetry and tensorflow on a Apple M1 chip and x64/x86 system. Additionally when using the M1 chip, the power of its GPU is enabled for tensorflow.

Notifications You must be signed in to change notification settings

dstalzjohn/py-poetry-m1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

py-poetry-m1

This repository contains a tutorial for using python poetry and tensorflow on a Apple M1 chip and x64/x86 system. Additionally when using the M1 chip, the power of its GPU is enabled for tensorflow.

Usage with the M1 chip

  • make create_env
  • conda activate env-tf-poet-3.10
  • make install_m1
  • make patch_mac_m1
  • make run_main

It should print GPU enabled

Installation of a new package on Mac

  • poetry add <package_name>
  • make patch_mac_m1

Usage on x64/x86 architecture

  • make create_env
  • conda activate env-tf-poet-3.10
  • make install_x64
  • make run_main

About

This repository contains a tutorial for using python poetry and tensorflow on a Apple M1 chip and x64/x86 system. Additionally when using the M1 chip, the power of its GPU is enabled for tensorflow.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published