Skip to content

novastar53/xjax

 
 

Repository files navigation

Exploring Jax

Getting Started

Apple Silicon

I had to pin libomp to 11.1.0 to avoid segfaults in pytorch.

curl -sL -o libomp.rb https://raw.githubusercontent.com/Homebrew/homebrew-core/fb8323f2b170bd4ae97e1bac9bf3e2983af3fdb0/Formula/libomp.rb
brew install ./libomp.rb

Configure Environment

# Configure environment
source environment.sh
make

# Activate venv
source .venv/bin/activate

# Configure Jupyter 
jupyter lab --generate config

# Open the config file 
vim ~/.jupyter/jupyter_lab_config.py

Add or modify the following lines

c.ServerApp.ip = '0.0.0.0'
c.Serverapp.open_browser = False
c.ServerApp.port = 8888
# Launch jupyter
jupyter lab

About

Exploring Jax

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 98.3%
  • Python 1.4%
  • Other 0.3%