Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,16 +59,16 @@ jobs:
pymc/tests/distributions/test_censored.py
pymc/tests/distributions/test_simulator.py
pymc/tests/distributions/test_truncated.py
pymc/tests/test_sampling_forward.py
pymc/tests/sampling/test_forward.py
pymc/tests/stats/test_convergence.py

- |
pymc/tests/tuning/test_scaling.py
pymc/tests/tuning/test_starting.py
pymc/tests/test_sampling.py
pymc/tests/distributions/test_dist_math.py
pymc/tests/distributions/test_transform.py
pymc/tests/test_parallel_sampling.py
pymc/tests/sampling/test_mcmc.py
pymc/tests/sampling/test_parallel.py
pymc/tests/test_printing.py

- |
Expand Down Expand Up @@ -150,8 +150,8 @@ jobs:
test-subset:
- pymc/tests/variational/test_approximations.py pymc/tests/variational/test_callbacks.py pymc/tests/variational/test_inference.py pymc/tests/variational/test_opvi.py pymc/tests/test_initial_point.py
- pymc/tests/test_model.py pymc/tests/step_methods/test_compound.py pymc/tests/step_methods/hmc/test_hmc.py
- pymc/tests/gp/test_cov.py pymc/tests/gp/test_gp.py pymc/tests/gp/test_mean.py pymc/tests/gp/test_util.py pymc/tests/ode/test_ode.py pymc/tests/ode/test_utils.py pymc/tests/smc/test_smc.py pymc/tests/test_parallel_sampling.py
- pymc/tests/test_sampling.py pymc/tests/step_methods/test_metropolis.py pymc/tests/step_methods/test_slicer.py pymc/tests/step_methods/hmc/test_nuts.py
- pymc/tests/gp/test_cov.py pymc/tests/gp/test_gp.py pymc/tests/gp/test_mean.py pymc/tests/gp/test_util.py pymc/tests/ode/test_ode.py pymc/tests/ode/test_utils.py pymc/tests/smc/test_smc.py pymc/tests/sampling/test_parallel.py
- pymc/tests/sampling/test_mcmc.py pymc/tests/step_methods/test_metropolis.py pymc/tests/step_methods/test_slicer.py pymc/tests/step_methods/hmc/test_nuts.py

fail-fast: false
runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -221,12 +221,12 @@ jobs:
python-version: ["3.9"]
test-subset:
- |
pymc/tests/test_parallel_sampling.py
pymc/tests/sampling/test_parallel.py
pymc/tests/test_data.py
pymc/tests/test_model.py

- |
pymc/tests/test_sampling.py
pymc/tests/sampling/test_mcmc.py

- |
pymc/tests/backends/test_arviz.py
Expand Down Expand Up @@ -294,7 +294,7 @@ jobs:
floatx: [float64]
python-version: ["3.9"]
test-subset:
- pymc/tests/test_sampling_jax.py
- pymc/tests/sampling/test_jax.py
fail-fast: false
runs-on: ${{ matrix.os }}
env:
Expand Down Expand Up @@ -363,7 +363,7 @@ jobs:
floatx: [float32]
python-version: ["3.10"]
test-subset:
- pymc/tests/test_sampling.py pymc/tests/ode/test_ode.py pymc/tests/ode/test_utils.py
- pymc/tests/sampling/test_mcmc.py pymc/tests/ode/test_ode.py pymc/tests/ode/test_utils.py
fail-fast: false
runs-on: ${{ matrix.os }}
env:
Expand Down
4 changes: 2 additions & 2 deletions docs/source/api/samplers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ This submodule contains functions for MCMC and forward sampling.
sample_prior_predictive
sample_posterior_predictive
sample_posterior_predictive_w
sampling_jax.sample_blackjax_nuts
sampling_jax.sample_numpyro_nuts
sampling.jax.sample_blackjax_nuts
sampling.jax.sample_numpyro_nuts
iter_sample
init_nuts
draw
Expand Down
2 changes: 1 addition & 1 deletion docs/source/contributing/build_docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ To build the docs, run these commands at PyMC repository root:

```bash
pip install -r requirements-dev.txt # Make sure the dev requirements are installed
pip install numpyro # Make sure `sampling_jax` docs can be built
pip install numpyro # Make sure `sampling/jax` docs can be built
pip install -e . # Install local pymc version as installable package
make clean # clean built docs from previous runs and intermediate outputs
make html # Build docs
Expand Down
1 change: 0 additions & 1 deletion pymc/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ def __set_compiler_flags():
from pymc.plots import *
from pymc.printing import *
from pymc.sampling import *
from pymc.sampling_forward import *
from pymc.smc import *
from pymc.stats import *
from pymc.step_methods import *
Expand Down
16 changes: 16 additions & 0 deletions pymc/sampling/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Copyright 2022 The PyMC Developers
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

from pymc.sampling.forward import *
from pymc.sampling.mcmc import *
File renamed without changes.
Loading