Stan Pre-Release for Multi-Threading (reduce_sum)

Last week Stan (for probabilistic programming) released a new version 2.23 with multi-threading command reduce_sum. My initial testing shows it is much faster than a single core. Chart below shows time with a single core at 100% (no reduce_sum) and the time saved with multiple cores using reduce_sum.

No alt text provided for this image

Used mean time of 5 runs for each thread. Pre-release does not work with RStan yet. Models estimated using CmdStanR with same initial seed.


要查看或添加评论,请登录

社区洞察

其他会员也浏览了