-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
10x performance regression on v1.11 #57028
Comments
FWIW, basically all the time seems to be spent in subtyping.
With "Ctrl-C" profiling it seems to consistently stop at
which points to https://github.com/TuringLang/Turing.jl/blob/7d6f8ed53b59047c86fb1c09c9d593ca30250a60/src/mcmc/gibbs.jl#L480-L482 The |
Someone can probably test this on #56741? With juliaup you can use |
I can verify it runs >10x faster on #56741 compared to 1.11.2. |
The above code runs in about 4s on v1.10.6 and in about 30s on v1.11.2 (recording second runs, so excluding compilation time). This is using the latest master from Turing.jl.
I would need to minimise the example to find the cause, but does anyone have clues as to where to look? A type inference failure seems like a possibility to me, any known regressions there on v1.11?
The text was updated successfully, but these errors were encountered: