Skip to content

Commit a50bfae

Browse files
committed
Bump PyTensor dependency
1 parent 1b41cc1 commit a50bfae

9 files changed

+11
-11
lines changed

conda-envs/environment-dev.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ dependencies:
1313
- numpy>=1.15.0
1414
- pandas>=0.24.0
1515
- pip
16-
- pytensor>=2.25.1,<2.26
16+
- pytensor>=2.26.2,<2.27
1717
- python-graphviz
1818
- networkx
1919
- scipy>=1.4.1

conda-envs/environment-docs.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ dependencies:
1111
- numpy>=1.15.0
1212
- pandas>=0.24.0
1313
- pip
14-
- pytensor>=2.25.1,<2.26
14+
- pytensor>=2.26.2,<2.27
1515
- python-graphviz
1616
- rich>=13.7.1
1717
- scipy>=1.4.1

conda-envs/environment-jax.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ dependencies:
2020
- numpyro>=0.8.0
2121
- pandas>=0.24.0
2222
- pip
23-
- pytensor>=2.25.1,<2.26
23+
- pytensor>=2.26.2,<2.27
2424
- python-graphviz
2525
- networkx
2626
- rich>=13.7.1

conda-envs/environment-test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ dependencies:
1616
- numpy>=1.15.0
1717
- pandas>=0.24.0
1818
- pip
19-
- pytensor>=2.25.1,<2.26
19+
- pytensor>=2.26.2,<2.27
2020
- python-graphviz
2121
- networkx
2222
- rich>=13.7.1

conda-envs/windows-environment-dev.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ dependencies:
1313
- numpy>=1.15.0
1414
- pandas>=0.24.0
1515
- pip
16-
- pytensor>=2.25.1,<2.26
16+
- pytensor>=2.26.2,<2.27
1717
- python-graphviz
1818
- networkx
1919
- rich>=13.7.1

conda-envs/windows-environment-test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ dependencies:
1616
- numpy>=1.15.0
1717
- pandas>=0.24.0
1818
- pip
19-
- pytensor>=2.25.1,<2.26
19+
- pytensor>=2.26.2,<2.27
2020
- python-graphviz
2121
- networkx
2222
- rich>=13.7.1

pymc/logprob/tensor.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -286,9 +286,9 @@ def find_measurable_dimshuffles(fgraph, node) -> list[TensorVariable] | None:
286286

287287
base_var = node.inputs[0]
288288

289-
measurable_dimshuffle = MeasurableDimShuffle(node.op.input_broadcastable, node.op.new_order)(
290-
base_var
291-
)
289+
measurable_dimshuffle = MeasurableDimShuffle(
290+
input_ndim=node.op.input_ndim, new_order=node.op.new_order
291+
)(base_var)
292292
assert isinstance(measurable_dimshuffle, TensorVariable)
293293

294294
return [measurable_dimshuffle]

requirements-dev.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ numpydoc
1717
pandas>=0.24.0
1818
polyagamma
1919
pre-commit>=2.8.0
20-
pytensor>=2.25.1,<2.26
20+
pytensor>=2.26.2,<2.27
2121
pytest-cov>=2.5
2222
pytest>=3.0
2323
rich>=13.7.1

requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ cachetools>=4.2.1
33
cloudpickle
44
numpy>=1.15.0
55
pandas>=0.24.0
6-
pytensor>=2.25.1,<2.26
6+
pytensor>=2.26.1,<2.27
77
rich>=13.7.1
88
scipy>=1.4.1
99
threadpoolctl>=3.1.0,<4.0.0

0 commit comments

Comments
 (0)