pymc-devs / pymc-devs/pymc-examples

Highlight backends in "faster sampler nb"

Open
#655 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

proposal
Dominant language
Python
Stars
398
Forks
325
Avg merge
9d 15m
Merged PRs (30d)
1

Description

Besides showing other samplers, we can also show the pymc samplers (prior, sample and posterior pred) using different backends with compile_kwargs={"mode": "JAX"|"NUMBA"}

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.

Research direction

Find the notebook referred to as "faster sampler nb" and read its existing sampler examples. Extend the prior, sample, and posterior predictive examples to show the JAX and NUMBA backends using the stated compile_kwargs modes. Done means the notebook visibly covers both backends for these sampler stages and runs successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter-notebook, python
Domain
documentation, machine-learning
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.