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
Yesterday evening, I noticed that a Documenter workflow didn't complete after 5 (five!) hours. I now made a minimal working example in a GitHub repository. In this case, the build hangs when calling sample from Turing.jl. It occurs when running Documeter locally too, but not when running the same model in the REPL. Very similar code doesn't hang when built via CI with Franklin.
In the repository, the following code does work
```@example tutorial
using Turing
@model function binom(n, k)
θ ~ Beta(1, 1)
k ~ Binomial(n, θ)
return k, θ
end
nothing # hide
```
However, adding sample should increase the running time with at most a few minutes and is, at the time of writing, running for 25 minutes (I'll cancel it soon because there is no point in keeping it running):
```@example tutorial
using Turing
@model function binom(n, k)
θ ~ Beta(1, 1)
k ~ Binomial(n, θ)
return k, θ
end
chains = sample(binom(9, 6), NUTS(0.65), 1000)
nothing # hide
```
I had the same issue, using progress=false in the sample call fixed the hang, so it seems something about the default progress bar in Turing isn't playing nicely with Documenter (it used to in the past).
Yesterday evening, I noticed that a Documenter workflow didn't complete after 5 (five!) hours. I now made a minimal working example in a GitHub repository. In this case, the build hangs when calling
sample
from Turing.jl. It occurs when running Documeter locally too, but not when running the same model in the REPL. Very similar code doesn't hang when built via CI with Franklin.In the repository, the following code does work
However, adding
sample
should increase the running time with at most a few minutes and is, at the time of writing, running for 25 minutes (I'll cancel it soon because there is no point in keeping it running):See rikhuijzer/documenter-hang-example@35eb19e for the commit which passes and rikhuijzer/documenter-hang-example@0e71813 for the commit which seems to hang.
This issue might be related to #1414.
The text was updated successfully, but these errors were encountered: