Skip to content

Commit a773405

Browse files
committed
Add ZarrTrace
1 parent 9eb60eb commit a773405

12 files changed

+1217
-0
lines changed

.github/workflows/tests.yml

+2
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ jobs:
115115
116116
- |
117117
tests/backends/test_mcbackend.py
118+
tests/backends/test_zarr.py
118119
tests/distributions/test_truncated.py
119120
tests/logprob/test_abstract.py
120121
tests/logprob/test_basic.py
@@ -240,6 +241,7 @@ jobs:
240241
241242
- |
242243
tests/backends/test_arviz.py
244+
tests/backends/test_zarr.py
243245
tests/variational/test_updates.py
244246
fail-fast: false
245247
runs-on: ${{ matrix.os }}

conda-envs/environment-dev.yml

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ dependencies:
1919
- scipy>=1.4.1
2020
- typing-extensions>=3.7.4
2121
- threadpoolctl>=3.1.0
22+
- zarr>=2.5.0,<3
2223
# Extra dependencies for dev, testing and docs build
2324
- ipython>=7.16
2425
- jax

conda-envs/environment-docs.yml

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ dependencies:
1717
- scipy>=1.4.1
1818
- typing-extensions>=3.7.4
1919
- threadpoolctl>=3.1.0
20+
- zarr>=2.5.0,<3
2021
# Extra dependencies for docs build
2122
- ipython>=7.16
2223
- jax

conda-envs/environment-jax.yml

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ dependencies:
1010
- cachetools>=4.2.1
1111
- cloudpickle
1212
- h5py>=2.7
13+
- zarr>=2.5.0,<3
1314
# Jaxlib version must not be greater than jax version!
1415
- blackjax>=1.2.2
1516
- jax>=0.4.28

conda-envs/environment-test.yml

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ dependencies:
2121
- scipy>=1.4.1
2222
- typing-extensions>=3.7.4
2323
- threadpoolctl>=3.1.0
24+
- zarr>=2.5.0,<3
2425
# Extra dependencies for testing
2526
- ipython>=7.16
2627
- pre-commit>=2.8.0

conda-envs/windows-environment-dev.yml

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ dependencies:
2020
- scipy>=1.4.1
2121
- typing-extensions>=3.7.4
2222
- threadpoolctl>=3.1.0
23+
- zarr>=2.5.0,<3
2324
# Extra dependencies for dev, testing and docs build
2425
- ipython>=7.16
2526
- myst-nb<=1.0.0

conda-envs/windows-environment-test.yml

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ dependencies:
2323
- scipy>=1.4.1
2424
- typing-extensions>=3.7.4
2525
- threadpoolctl>=3.1.0
26+
- zarr>=2.5.0,<3
2627
# Extra dependencies for testing
2728
- ipython>=7.16
2829
- pre-commit>=2.8.0

docs/source/api/backends.rst

+2
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,5 @@ Internal structures
2020
NDArray
2121
base.BaseTrace
2222
base.MultiTrace
23+
zarr.ZarrTrace
24+
zarr.ZarrChain

docs/source/conf.py

+1
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,7 @@
309309
"python": ("https://docs.python.org/3/", None),
310310
"scipy": ("https://docs.scipy.org/doc/scipy/", None),
311311
"xarray": ("https://docs.xarray.dev/en/stable/", None),
312+
"zarr": ("https://zarr.readthedocs.io/en/stable/", None),
312313
}
313314

314315

0 commit comments

Comments
 (0)