The reusable documentation workflow at .github/workflows/documentation.yml defaults julia_num_threads to '1', so every docs build across org repos runs Julia single-threaded.
For repos with MCMC-heavy tutorials (e.g. ComposableTuringIDModels.jl), this makes docs builds unnecessarily slow. The current workaround is to pass julia_num_threads: 'auto' at each call site.
A better fix: change the default in the reusable workflow itself to 'auto', so Julia uses all available CPU cores by default. Call sites that need single-threaded builds can opt into '1' explicitly.
Discovered while fixing ComposableTuringIDModels#191.
The reusable documentation workflow at
.github/workflows/documentation.ymldefaultsjulia_num_threadsto'1', so every docs build across org repos runs Julia single-threaded.For repos with MCMC-heavy tutorials (e.g. ComposableTuringIDModels.jl), this makes docs builds unnecessarily slow. The current workaround is to pass
julia_num_threads: 'auto'at each call site.A better fix: change the default in the reusable workflow itself to
'auto', so Julia uses all available CPU cores by default. Call sites that need single-threaded builds can opt into'1'explicitly.Discovered while fixing ComposableTuringIDModels#191.