Skip to content

A set of differentiable programming tutorials for the BYU MAGICC Lab

Notifications You must be signed in to change notification settings

byu-magicc/magiccdp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MAGICC Lab Differentiable Programming Tutorials

Installation Instructions

  • Create a Mamba environment with Python 3.12
mamba create -n magiccdp python=3.12
  • Activate the Mamba environment
mamba activate magiccdp
  • cd into the magiccdp folder and pip install the package
pip install -e .

(Note: The -e option stands for "editable". It allows you to change the code in the folder and run those changes immediately. Don't leave this out!)

  • Run the notebook using marimo edit <notebook-name>. For example,
marimo edit marimo_tutorials/big_picture.py

Alternative to get Python 3.12 on Ubuntu 22.04

$ sudo add-apt-repository ppa:deadsnakes/ppa
$ sudo apt update
$ sudo apt install python3.12-dev python3.12-venv
$ python3.12 -m venv ~/path/to/where/you/want/the/venv/created
$ source ~/path/to/where/you/want/the/venv/created/bin/activate
$ cd ~/path/to/this/cloned/repo/magiccdp
$ pip install -e .

Continue as above.

Alternative for a native Py3.12 environment

e.g. For MacOS with up-to-date Python

$ python -m venv ~/path/to/where/you/want/the/venv/created
$ source ~/path/to/where/you/want/the/venv/created/bin/activate
$ cd ~/path/to/this/cloned/repo/magiccdp
$ pip install -e .

continue as above

About

A set of differentiable programming tutorials for the BYU MAGICC Lab

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages