Skip to content
Pre-release
Pre-release

@stan-buildbot stan-buildbot released this Aug 12, 2019 · 50 commits to master since this release

Second release candidate! Fixes bugs from the discourse thread. Hoping we're converging on replicating Stan 2 entirely. Please respond to that thread if you find any issues!

Instructions:

Trying it with CmdStan can be as simple as:

  1. git clone --recursive https://github.com/stan-dev/cmdstan; cd cmdstan
  2. make -j4 build
  3. Download the stanc3 binary for your OS to the right place:
  • Linux: curl -L https://github.com/stan-dev/stanc3/releases/download/v1.0.0-rc1/linux-stanc -o bin/stanc
  • Mac: curl -L https://github.com/stan-dev/stanc3/releases/download/v1.0.0-rc1/mac-stanc -o bin/stanc
  • Windows: curl -L https://github.com/stan-dev/stanc3/releases/download/v1.0.0-rc1/windows-stanc -o bin\stanc
  1. make <path/to/model.stan>

If you'd like to go the extra mile and help us check that it also gets the same results as your models, if you have them in the same folder as a .data.R file with the same name, you can use the performance-tests-cmdstan repo to compare compilers:

  1. git clone --recursive https://github.com/stan-dev/performance-tests-cmdstan; cd performance-tests-cmdstan
  2. Download the binary as above and remember its location.
  3. bash compare-compilers.sh "<path/to/models/dir> --num_samples=10" <path/to/stanc3/from/step/2>

Thanks all!

Assets 5
You can’t perform that action at this time.