Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce a docs FAQ section #2431

Open
9 tasks
Tracked by #2420
mhauru opened this issue Dec 5, 2024 · 2 comments
Open
9 tasks
Tracked by #2420

Introduce a docs FAQ section #2431

mhauru opened this issue Dec 5, 2024 · 2 comments
Labels
Milestone

Comments

@mhauru
Copy link
Member

mhauru commented Dec 5, 2024

  • "Why is my model slow?" Ref: Better performance guidelines and support for user #2414
  • "I changed one line of my model and now it's so much slower; why?" Ref: Better performance guidelines and support for user #2414 + how to investigate type-instabilities.
  • "Which automatic differentiation backend should I use?" Ref: Better performance guidelines and support for user #2414 and specifically Automate choice of AD backend #2417
  • "Why is this variable being treated as random instead of observed?" This is a question we get a lot. It's usually because it's not clear to the user that one can only manipulate expressions that explicitly occurs on the LHS of a ~, e.g. x ~ filldist(Normal(), 2) is in the model, but then they try do to condition(model, @varname(x[2]) => 1.0) or something.
  • "How do I implement a sampler for a Turing.jl model?" This should just reference a tutorial exactly on this.
  • "Can I use parallelism / threads in my model?" Yes, but we should point the user explicitly to where this is demonstrated and what to be aware of.
  • How do I check the type stability of my Turing model?
  • How do I debug (statistically / syntactically) my Turing model? (DynamicPPL.DebugUtils).
  • What are the main differences between Turing vs BUGS vs Stan syntax? There are many aspects, but one crucial point is the tools and ecosystem available to Julia for profiling and debugging Turing models. Also, using distributed and parallel computing inside Turing models is much easier.

More?

@mhauru mhauru added this to the Turing v1.0.0 milestone Dec 5, 2024
@torfjelde
Copy link
Member

Added some Qs + As-ish here @mhauru 👍

@yebai
Copy link
Member

yebai commented Dec 16, 2024

A few more good questions were asked in Slack. @penelopeysm can you note them down here if possible?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants