bayes3d icon indicating copy to clipboard operation
bayes3d copied to clipboard

Bayes3D should run on colab

Open sritchie opened this issue 1 year ago • 1 comments

Here's my first attempt: https://colab.research.google.com/drive/1NVqj160376q94YueHcITzzOfjNJ-Pq7o#scrollTo=4zSG05_KzgGz&uniqifier=1

@horizon-blue has an even better version that persists to gdrive.

Here is a reference on how to do the gdrive persistence: https://colab.research.google.com/drive/1KpMDi9CjImudrzXsyTDAuRjtbahzIVjq

@horizon-blue , I'd love if you could post some notes on how you did it!

sritchie avatar Jan 30 '24 19:01 sritchie

Hi @sritchie, this is looking great!

Re Google drive:

I didn't know that we can host a custom package index using GCloud when I wrote the initial Colab notebook, so I made the wheels available in a stupid way, where I uploaded them as files to a wheels folder on my Google drive, and enabled link sharing. Then, on Colab, I used gdown to download the entire wheels folder (which includes the .whl files for genjax and bayes3d), then run pip install wheels/* to install from files.

horizon-blue avatar Jan 30 '24 22:01 horizon-blue