Better performance guidelines and support for user
Open
@shravanngoswamii is already working on this.
Since Jul 14, 2026.
- Dominant language
- Markdown
- Stars
- 238
- Forks
- 107
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 2
Description
We currently have some tips for how to improve performance of a Turing.jl model.
However, these are more "tips & tricks" rather than a good introduction on how to a) benchmark and profile a model, b) which AD backend to choose, and c) how to write models in a way to make them more efficient.
So, IMO, there are a few things we should do:
- Write a proper tutorial one how to speed up a model. This includes the three listed properties above. Ref: TuringLang/Turing.jl#2415.
[ ] Offer functionality to automatically make some choices for the user. Ref: TuringLang/Turing.jl#2417- Provide suggestions programmatically either "always" or behind an explicit function, e.g.
performance_hints(model). Ref: TuringLang/Turing.jl#2416
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.