pytensor icon indicating copy to clipboard operation
pytensor copied to clipboard

PyTensor allows you to define, optimize, and efficiently evaluate mathematical expressions involving multi-dimensional arrays.

Results 395 pytensor issues
Sort by recently updated
recently updated
newest added

### Description If I replace a tensor with shape `(None,)` by one with static shape `(1,)` llvm aborts during codegen for me. Maybe some rewrite doesn't behave properly, and we...

## Description ### TODO: - [x] Merge code duplication into elemwise_codegen - [x] Handle broadcast via size argument - [x] Handle more than normal - [x] Add expand_dims in make_node....

enhancement
major
numba
random variables

## Description This showed up in #691 and was introduced/not properly handled by #664 We need to explicitly broadcast the new parameters to define the new size! ## Checklist -...

bug
vectorization

## Description Makes graphs with Assert a bit more readable ## Checklist - [x] Checked that [the pre-commit linting/style checks pass](https://docs.pymc.io/en/latest/contributing/python_style.html) - [x] Included tests that prove the fix is...

maintenance

### Description #735 shows how the current interface to copy stack traces during rewrites look like. It's verbose and easy to forget. There is/was a special mode/flag to check variables...

help wanted
needs info
graph rewriting

### Description https://github.com/pymc-devs/pytensor/actions/runs/8894500236/job/24423790167?pr=735#step:6:40

GitHub CI/CD

## Description We should keep the stack trace during our rewrites, so that when the Op fails to perform we can point to the moment where the node was created....

maintenance
graph rewriting

### Description SVD comes with a bunch of keyword arguments, most important of which is `compute_uv`. If False, it will return only the singular values for a given matrix. This...

beginner friendly
graph rewriting
linalg

### Description As discussed in [#693](https://github.com/pymc-devs/pytensor/pull/693#discussion_r1562285879), we'd like to avoid unnecessary print statements before committing the changes itself. This way, we can avoid unnecessary debug statements. PyMC already has this...

beginner friendly
maintenance

## Description Reverting back to the option first suggested in https://github.com/pymc-devs/pytensor/pull/493 and then overridden in https://github.com/pymc-devs/pytensor/pull/494 The `[ ]` is the only way that allows for the Python slice `:`...

maintenance
major