{"id":20019220,"url":"https://github.com/jbris/stan-cmdstanr-gpu-docker","last_synced_at":"2025-05-04T23:31:41.719Z","repository":{"id":198207245,"uuid":"656980692","full_name":"JBris/stan-cmdstanr-gpu-docker","owner":"JBris","description":"A Docker image to run Stan, cmdstanr, and brms for Bayesian statistical modelling. GPU support using OpenCL is available. ","archived":false,"fork":false,"pushed_at":"2025-01-11T12:38:29.000Z","size":33,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-08T14:11:45.711Z","etag":null,"topics":["bayes","bayesian-inference","brms","cmdstan","cmdstanr","data-science","docker","posterior","probabilistic-programming","projpred","rstan","rstanarm","shinystan","stan","stan-gpu","stan-lang","stan-math-library","tidybayes","tidyverse"],"latest_commit_sha":null,"homepage":"https://jbris.github.io/stan-cmdstanr-gpu-docker/","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JBris.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-06-22T04:00:44.000Z","updated_at":"2025-01-11T12:38:32.000Z","dependencies_parsed_at":"2023-12-05T10:25:07.599Z","dependency_job_id":"1cc58ef4-442e-4d7b-be0c-6157174f205f","html_url":"https://github.com/JBris/stan-cmdstanr-gpu-docker","commit_stats":null,"previous_names":["jbris/stan-cmdstanr-gpu-docker"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JBris%2Fstan-cmdstanr-gpu-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JBris%2Fstan-cmdstanr-gpu-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JBris%2Fstan-cmdstanr-gpu-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JBris%2Fstan-cmdstanr-gpu-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JBris","download_url":"https://codeload.github.com/JBris/stan-cmdstanr-gpu-docker/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252414306,"owners_count":21744083,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bayes","bayesian-inference","brms","cmdstan","cmdstanr","data-science","docker","posterior","probabilistic-programming","projpred","rstan","rstanarm","shinystan","stan","stan-gpu","stan-lang","stan-math-library","tidybayes","tidyverse"],"created_at":"2024-11-13T08:26:24.848Z","updated_at":"2025-05-04T23:31:41.112Z","avatar_url":"https://github.com/JBris.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# stan-cmdstanr-gpu-docker\n\n[![pages-build-deployment](https://github.com/JBris/stan-cmdstanr-gpu-docker/actions/workflows/pages/pages-build-deployment/badge.svg?branch=main)](https://github.com/JBris/stan-cmdstanr-gpu-docker/actions/workflows/pages/pages-build-deployment)\n\n## Table of Contents  \n\n- [stan-cmdstanr-gpu-docker](#stan-cmdstanr-gpu-docker)\n  - [Table of Contents](#table-of-contents)\n    - [Introduction](#introduction)\n    - [Stan](#stan)\n    - [Docker](#docker)\n\n### Introduction\n\nA Docker image to run Stan, cmdstanr, and brms for Bayesian statistical modelling - with GPU support.\n\nLaunch an RStudio webserver using `bash stan_up.sh`.\n\nExecute `bash docker_pull.sh` to pull the image.\n\nTo convert the image into an Apptainer image, run `bash apptainer_pull.sh`.\n\n### Stan\n\nThe following packages are installed during the image build process:\n\n* [Stan](https://mc-stan.org/)\n* [rstan](https://mc-stan.org/users/interfaces/rstan)\n* [rstanarm](https://mc-stan.org/rstanarm/)\n* [cmdstan](https://mc-stan.org/users/interfaces/cmdstan)\n* [brms](https://paul-buerkner.github.io/brms/)\n* [posterior](https://mc-stan.org/posterior/)\n* [tidybayes](https://mjskay.github.io/tidybayes/)\n* [bayesplot](https://mc-stan.org/bayesplot/)\n* [posterior](https://mc-stan.org/posterior/)\n* [rstantools](https://mc-stan.org/rstantools/)\n* [projpred](https://mc-stan.org/projpred/)\n* [shinystan](https://mc-stan.org/shinystan/)\n\nThe [brms_within_chain_parallelization.R](brms_within_chain_parallelization.R) script can be executed within the Docker container to evaluate whether within-chain parallelization, CmdStan, brms, and OpenCL are working properly.\n\n### Docker\n\nThis Docker image extends from `rocker/tidyverse`. [Click this link for more information about the Rocker project.](https://rocker-project.org/images/)\n\nRunning the Docker container will launch an RStudio web server. You can access RStudio by visiting localhost:$R_STUDIO_PORT on your web browser. See [.env](.env) for the defined environment variables.\n\nRunning docker-compose will bind a volume, mapping the container's `home` directory to a local `r_home` directory.\n\nSee the [Dockerfile](Dockerfile) for the instructions executed during the build of the Docker image. \n\nView [docker-compose.yaml](docker-compose.yaml) to see the definition for the Stan service.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjbris%2Fstan-cmdstanr-gpu-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjbris%2Fstan-cmdstanr-gpu-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjbris%2Fstan-cmdstanr-gpu-docker/lists"}