Announcing CmdStanR and CmdStanPy Docker/Podman (OCI) Images

Dear Stan community,

My work is revolving a lot on container lately.
I’ve managed to create a docker/podman (or any OCI-compliant) image.
They are self-built using GitHub actions and pushed to GHCR and DockerHub.
It is easy to keep update with CmdStan releases.

CmdStanR

Repository https://github.com/storopoli/cmdstanr-docker/

Includes:

  • CmdStan built to /opt/cmdstan-VERSION with multithreading and OpenMPI support
  • CmdStanR (already configured to use the CMDSTAN path)
  • {tidyverse}
  • {bayesplot}, {loo} and {brms}

How to use it:

  • Docker: docker pull jstoropoli/cmdstanr
  • GitHub Repository Container (GHCR): docker pull ghcr.io/storopoli/cmdstanr

CmdStanPy

Repository https://github.com/storopoli/cmdstanpy-docker/

Includes:

  • CmdStan built to /opt/cmdstan-VERSION with multithreading and OpenMPI support
  • CmdStanPy (already configured to use the CMDSTAN path)
  • pandas, numpy, seaborn, and arviz

How to use it:

  • Docker: docker pull jstoropoli/cmdstanpy
  • GitHub Repository Container (GHCR): docker pull ghcr.io/storopoli/cmdstanpy
8 Likes

Cool, thanks @storopoli!

1 Like