You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The parser/generator code refactor went in with the 2.19 release, which is what introduced this bug. The culprit is in file src/stan/lang/generator/generate_indexed_expr.hpp.
Reproducible Steps:
See model and file referenced in discourse post.
Running compiled model with supplied data from command line using unix time command
under cmdstan 2.18.1 and cmdstan 2.19.0 shows consistent difference in time.
On a MacBook Pro w/ 2 cores, for 2.18.1 1 chain with all defaults runs in 24s, 2.19.0 takes just under 4 minutes - 240 seconds.
Current Output:
Running compiled model with supplied data from command line using unix time command
under cmdstan 2.18.1 and cmdstan 2.19.0 shows consistent difference in time.
On a MacBook Pro w/ 2 cores, for 2.18.1 1 chain with all defaults runs in 24s, 2.19.0 takes just under 4 minutes - 240 seconds.
Expected Output:
2.19.0 should run as fast or faster.
Additional Information:
Current Version:
v2.19.0
The text was updated successfully, but these errors were encountered:
Summary:
models compiled with Stan 2.19.0 which do a lot of matrix element access are running 10x slower than same model compiled with Stan 2.18.1
see: https://discourse.mc-stan.org/t/cmdstan-slower-than-pystan/8332/11
Description:
The parser/generator code refactor went in with the 2.19 release, which is what introduced this bug. The culprit is in file
src/stan/lang/generator/generate_indexed_expr.hpp
.Reproducible Steps:
See model and file referenced in discourse post.
Running compiled model with supplied data from command line using unix
time
commandunder cmdstan 2.18.1 and cmdstan 2.19.0 shows consistent difference in time.
On a MacBook Pro w/ 2 cores, for 2.18.1 1 chain with all defaults runs in 24s, 2.19.0 takes just under 4 minutes - 240 seconds.
Current Output:
Running compiled model with supplied data from command line using unix
time
commandunder cmdstan 2.18.1 and cmdstan 2.19.0 shows consistent difference in time.
On a MacBook Pro w/ 2 cores, for 2.18.1 1 chain with all defaults runs in 24s, 2.19.0 takes just under 4 minutes - 240 seconds.
Expected Output:
2.19.0 should run as fast or faster.
Additional Information:
Current Version:
v2.19.0
The text was updated successfully, but these errors were encountered: