Skip to content

Commit 6239b3d

Browse files
Update pm.sample docstring
1 parent 2cd8360 commit 6239b3d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

pymc/sampling/mcmc.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -537,8 +537,10 @@ def sample(
537537
method will be used, if appropriate to the model.
538538
var_names : list of str, optional
539539
Names of variables to be stored in the trace. Defaults to all free variables and deterministics.
540-
nuts_sampler : str
541-
Which NUTS implementation to run. One of ["pymc", "nutpie", "blackjax", "numpyro"].
540+
nuts_sampler : str, default "pymc"
541+
Which NUTS implementation to run. One of ["pymc", "nutpie", "blackjax", "numpyro"]. In addition, the compilation
542+
backend for the chosen sampler can be set using square brackets, if available. For example, "nutpie[jax]" will
543+
use the JAX backend for the nutpie sampler. Currently, "nutpie[jax]" and "nutpie[numba]" are allowed.
542544
This requires the chosen sampler to be installed.
543545
All samplers, except "pymc", require the full model to be continuous.
544546
blas_cores: int or "auto" or None, default = "auto"

0 commit comments

Comments
 (0)