Last active
May 14, 2024 09:16
-
-
Save jelc53/11efa7de9d46cccbccf74689b8c7390a to your computer and use it in GitHub Desktop.
installation guide for pymc and pyro conda env
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ensure conda-forge is set as the priority channel | |
conda config --add channels conda-forge | |
conda config --set channel_priority strict | |
# create conda env | |
conda create -c conda-forge -c nodefaults -n bayes_env "pymc=5.10" "numpy=1.25.2" "scipy=1.12.0" python=3.10.6 | |
conda activate bayes_env | |
pip install numba | |
conda install -c conda-forge mamba | |
mamba install -c conda-forge nutpie | |
conda install pytorch::pytorch torchvision torchaudio -c pytorch | |
# configure jupyter lab | |
conda install ipykernel | |
ipython kernel install --user --name=<insert-kernel-name> | |
# open jupyter in tmux session | |
tmux # tmux attach -t <#> | |
jupyter lab | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment