pytensor
pytensor copied to clipboard
PyTensor allows you to define, optimize, and efficiently evaluate mathematical expressions involving multi-dimensional arrays.
### Description I don't think we're using this at all? The Elemwise InplaceOptimizer creates its own Ops (as it should), doesn't reuse these. https://github.com/ricardoV94/pytensor/blob/f951743d9d5d68095416b5989d7889bac1779586/pytensor/tensor/inplace.py They may be used for the...
### Description A considerable limitation of `graph_replace` vs `clone_replace` is that it does not rebuild the graph downstream when static types are different (yet compatible). Also our rewrites may benefit...
### Description This requires re-introducing the broadcastable flags as independent from shape. It seems needed to: 1. Not force static shape to be unknown 2. Not change the meaning of...
### Description https://github.com/pymc-devs/pytensor/actions/runs/9301362766/job/25599382590?pr=789  Perhaps we are going over some usage limit?
### Description This model runs partially in objectmode: ```python import pymc as pm import numpy as np import pytensor with pm.Model() as model: values = np.array([np.nan, 0.]) x = pm.Normal("x",...
### Before pytensor will only attempt to use g++ as a C++ compiler when running on Linux. ### After Improve pytensor by: 1. If the CXX environment variable is set,...
## Description Adds the blockwise operator for torch (using torch.vmap), and implement Cholesky since that uses blockwise under the hood (easier to test that way). ## Related Issue - [...
updates: - [github.com/astral-sh/ruff-pre-commit: v0.6.5 → v0.6.7](https://github.com/astral-sh/ruff-pre-commit/compare/v0.6.5...v0.6.7)
Bumps [pypa/cibuildwheel](https://github.com/pypa/cibuildwheel) from 2.21.0 to 2.21.1. Release notes Sourced from pypa/cibuildwheel's releases. Version 2.21.1 🐛 Fix a bug in the Linux build, where files copied to the container would have...
### Describe the issue: Wrote a small example to get the `Elemwise` and `ScalarLoop` pattern. The code computes the `(n + 1)th` fibonacci number. When running it using `linker=py`, things...