Project overview

Metropolis–Hastings algorithm convergence example: the distribution from MCMC sampling (orange) gradually approaches the target distribution (blue). Figure: Chdrappi, source: Wikimedia Commons, license: CC BY-SA 3.0.
PyMC Discourse (discourse.pymc.io) is the official forum for the Python Bayesian modeling library PyMC; PyMC project materials list it as a primary communication channel. Discussion covers using PyMC and its compute backend PyTensor, probabilistic modeling, and sampling diagnostics. Based on forum pages and official PyMC documentation, this article covers discussion scope, category boards, asking requirements, and how it divides work with Cross Validated and the Stan forums.
Discussion scope
The forum’s About page positions itself as a community forum for “everything related to PyMC and PyTensor”; the pinned welcome post of 31 May 2017 says discussion covers Bayesian computation with PyMC and probabilistic modeling in general. PyMC (formerly PyMC3) is a Python package focused on Markov chain Monte Carlo (MCMC) and variational inference, under the Apache 2.0 license and a NumFOCUS nonprofit project. Its compute backend PyTensor is a fork of Aesara, itself forked from Theano, so older threads often say Theano or Aesara, and the welcome post still says PyMC depends on Aesara. When reading old posts, check the post date and matching version first.
The Questions category intro lists typical problems: PyMC code running too slowly; uncertainty whether a custom distribution or function is correct; porting code from BUGS/WinBUGS, JAGS, Stan, Pyro, and similar tools into PyMC; questions about models, traces, or fit results. The pinned FAQ in Questions has been updated since 2017 and covers frequent issues such as why find_MAP is no longer recommended, NaN/inf in NUTS or variational inference, slow sampling, and multi-core sampling getting slower. Comparisons with other samplers also often relate to PyMC itself: per the official API docs, pm.sample’s nuts_sampler can be pymc, nutpie, blackjax, or numpyro; the last three need separate installs and require an all-continuous model. Errors or result differences when switching to NumPyro and other backends inside PyMC can be asked here with code attached.
Category boards
As checked on the forum categories page on 24 October 2026, main boards include:
- Questions: modeling and usage questions, with subcategories v5, version agnostic, and v3, and “accepted answers” enabled. Questions plus its subcategories then totaled about 5,700 topics, of which v5 was about 1,500.
- Development: discussion of further PyMC development. The project README suggests posting feature ideas here.
- Sharing: share learning materials on Bayesian statistics, probabilistic programming, and related math—code, videos, papers, books, and lecture notes.
- News: development updates, plus PyMC-related jobs, talks, courses, and meetups, with a Jobs subcategory.
- Announcements: low-traffic board for major PyMC or PyMCon milestone announcements only.
- Events: subcategories Journal Club, PyMCon2020, PyMCon Web Series.
- General: no category description; the pinned welcome post lives here.
Official asking guides still exemplify Questions/v4 and Questions/v3, which do not match current subcategories—use the live site list when posting.
Why it helps
For people using PyMC in research, the forum’s value is that questions are seen by people who know the code: About lists admins and moderators including PyMC core and community team members, and many common errors and sampling issues already have older threads—searching first often finds the answer. Note that the forum is not a bug tracker; PyMC’s README says to report software problems on the GitHub issue tracker.
Asking norms
PyMC’s official Asking Questions on the PyMC Discourse, added to the website repository in June 2022, gives asking points that can be turned into a pre-post checklist:
- Search first: try several keyword sets on the forum and in PyMC docs, or filter by tags. If you find a related thread that did not solve your problem, link it and explain why it does not apply.
- State the problem clearly: what you want to do, what you did, expected vs actual results, and what you already tried.
- Minimal runnable example: keep only code needed to reproduce; do not paste a whole script; turn Jupyter cells into a runnable script; include all imports and custom functions; replace external data with toy data generated in code; for randomness set a seed explicitly, e.g.
pm.sample(random_seed=12345). After trimming, run once more to confirm the problem still reproduces. - Attach relevant output: errors, warnings, diagnostic stats and plots (e.g. trace plots), and say where they diverge from expectation.
- Use a specific title: the guide accepts titles like “Why doesn't pm.sample() use all my cores?” and discourages vague ones like “Hierarchical models.”
- Note versions: PyMC, PyTensor, and Python versions; runtime (Linux, Mac, Windows, Jupyter, Docker, Colab, etc.); and install method (pip, conda, mamba).
- Pick the right category and tags: each topic belongs to one category; you can add multiple tags such as
bug,gaussian_process,gpu. Many answerers only subscribe to categories and tags they know; posting in General or without tags makes it harder for the right people to see the question.
Forum guidelines also require not opening threads in the wrong category, not posting the same content as multiple topics, and using likes rather than “+1” replies to show agreement.
Division of labor with Cross Validated and the Stan forums
The three communities overlap; choose by which layer the question sits on. Cross Validated’s help center lists statistical analysis, experimental design, probability, mathematical statistics, and similar as on-topic, while suggesting programming questions go to Stack Overflow and software bugs to the software authors, and discouraging cross-posting the same question on multiple sites. The Stan forums describe themselves as a community for discussing Stan and Bayesian modeling. A rough split:
| Question type | Suggested place |
|---|---|
| Statistical methods themselves, independent of a specific package | Cross Validated |
| Models and sampling written in Stan | Stan forums |
| Models and sampling diagnostics in PyMC / PyTensor, or porting Stan / Pyro code to PyMC | PyMC Discourse Questions |
| Confirmed PyMC software bugs | PyMC GitHub issue tracker |
This table is routing advice distilled from each site’s self-described scope—not formal rules of those sites.

Question-routing schematic based on self-described scope in Cross Validated, Stan forums, and official PyMC materials—for reference only, not formal site rules. AI-generated schematic.
References
-
PyMC Discourse. About PyMC Discourse. Checked 2026-10-24.
-
PyMC Discourse. Guidelines. Checked 2026-10-24.
-
PyMC Discourse. Categories. Checked 2026-10-24.
-
Junpeng Lao. About the Questions category. PyMC Discourse, 2017-05-31.
-
PyMC Discourse. Welcome to PyMC Discourse. 2017-05-31.
-
Junpeng Lao et al. Frequently Asked Questions. PyMC Discourse, updated since 2017-06-14.
-
PyMC. Asking Questions on the PyMC Discourse. Checked 2026-10-24.
-
PyMC Developers. pymc-devs/pymc README. Checked 2026-10-24.
-
PyMC Developers. pymc-devs/pytensor README. Checked 2026-10-24.
-
PyMC. pymc.sample API documentation. Checked 2026-10-24.
-
Cross Validated. What topics can I ask about here?. Checked 2026-10-24.
-
The Stan Forums. About The Stan Forums. Checked 2026-10-24.
-
Academic Gateway · a living guide for scholars in the intelligent age
-
Information compiled and published by the Scholay academic one-stop platform; report infringement for takedown.
-
Also published on Enter Scholar, a scholars’ community for the intelligent age