This is a standalone repo containing the code for the blogs posts:
You can create an environment to run this code using
conda create -n sgboed python=3.11
conda activate sgboed
conda install pytorch pytorch-cuda=11.8 -c pytorch -c nvidia # Adjust depending on the platform
conda install numpy matplotlib tqdm
pip install pyro-ppl