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
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# SCM syntax highlighting
pixi.lock linguist-language=YAML linguist-generated=true
24 changes: 12 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,13 @@ jobs:
python3 -m venv .venv
source .venv/bin/activate
uv pip install 'nutpie[stan]' --find-links dist --force-reinstall
uv pip install pytest pytest-timeout
pytest -m "stan and not flow"
uv pip install pytest pytest-timeout pytest-arraydiff
pytest -m "stan and not flow" --arraydiff
uv pip install 'nutpie[pymc]' --find-links dist --force-reinstall
uv pip install jax
pytest -m "pymc and not flow"
pytest -m "pymc and not flow" --arraydiff
uv pip install 'nutpie[all]' --find-links dist --force-reinstall
pytest -m flow
pytest -m flow --arraydiff

# pyarrow doesn't currently seem to work on musllinux
#musllinux:
Expand Down Expand Up @@ -183,13 +183,13 @@ jobs:
python3 -m venv .venv
source .venv/Scripts/activate
uv pip install "nutpie[stan]" --find-links dist --force-reinstall
uv pip install pytest pytest-timeout
pytest -m "stan and not flow"
uv pip install pytest pytest-timeout pytest-arraydiff
pytest -m "stan and not flow" --arraydiff
uv pip install "nutpie[pymc]" --find-links dist --force-reinstall
uv pip install jax
pytest -m "pymc and not flow"
pytest -m "pymc and not flow" --arraydiff
uv pip install "nutpie[all]" --find-links dist --force-reinstall
pytest -m flow
pytest -m flow --arraydiff

macos:
runs-on: ${{ matrix.platform.runner }}
Expand Down Expand Up @@ -232,13 +232,13 @@ jobs:
python3 -m venv .venv
source .venv/bin/activate
uv pip install 'nutpie[stan]' --find-links dist --force-reinstall
uv pip install pytest pytest-timeout
pytest -m "stan and not flow"
uv pip install pytest pytest-timeout pytest-arraydiff
pytest -m "stan and not flow" --arraydiff
uv pip install 'nutpie[pymc]' --find-links dist --force-reinstall
uv pip install jax
pytest -m "pymc and not flow"
pytest -m "pymc and not flow" --arraydiff
uv pip install 'nutpie[all]' --find-links dist --force-reinstall
pytest -m flow
pytest -m flow --arraydiff
sdist:
runs-on: ubuntu-latest
steps:
Expand Down
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,11 @@ example-iree
posteriordb
.quarto
docs/.quarto
Untitled*
notebooks-local
pixi.lock
pixi.toml
reports
benchmarks*
reports*
results*
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ smallvec = "1.14.0"
upon = { version = "0.9.0", default-features = false, features = [] }
time-humanize = { version = "0.1.3", default-features = false }
indicatif = "0.17.8"
tch = { version = "0.19.0", optional = true }
tch = { version = "0.20.0", optional = true }

[dependencies.pyo3]
version = "0.24.1"
Expand All @@ -50,7 +50,7 @@ criterion = "0.5.1"
[profile.release]
lto = "fat"
codegen-units = 1
opt-level = 2
opt-level = 3

[profile.bench]
debug = true
Expand Down
1 change: 1 addition & 0 deletions docs/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/.quarto/
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name = "nutpie"
description = "Sample Stan or PyMC models"
authors = [{ name = "PyMC Developers", email = "pymc.devs@gmail.com" }]
readme = "README.md"
requires-python = ">=3.10,<3.14"
requires-python = ">=3.10"
license = { text = "MIT" }
classifiers = [
"Programming Language :: Rust",
Expand Down Expand Up @@ -41,6 +41,7 @@ dev = [
"flowjax >= 17.0.2",
"pytest",
"pytest-timeout",
"pytest-arraydiff",
]
all = [
"bridgestan >= 2.6.1",
Expand Down
Loading