TuringLang / TuringLang/docs

Better performance guidelines and support for user

Open
#702 0 comments 4 reactions 1 assignee View on GitHub

@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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.