Skip to content

Default julia_num_threads to 'auto' in reusable documentation workflow #32

Description

@seabbs-bot

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions