Ricardo Vieira

Results 297 issues of Ricardo Vieira

Started failing after we bumped the dependency in #352 CC @ciguaran @aloctavodia

bug
smc

## Description Tests started failing due to Scipy 1.14.0 Unsure whether this will be a very prohibitive lower pin dependency. Clearly 0.14 was outdated (it's also poetic that the breaking...

major
SciPy compatibility

### Description Reported by @aseyboldt ```python from timeit import timeit from functools import partial import pytensor import pytensor.tensor as pt import numpy as np from jax import block_until_ready N =...

performance

```python import numpy as np from pytensor import function from pytensor.xtensor.basic import add, exp from pytensor.xtensor.type import xtensor x = xtensor("x", dims=("city",), shape=(None,)) y = xtensor("y", dims=("country",), shape=(4,)) z =...

### Please describe the purpose of filing this issue Not a drastic improvement by any means, but something we can keep in mind: ``` reduce(at.concatenate(*tensors)) -> reduce(reduce(tensor) for tensor in...

beginner friendly
graph rewriting
performance

### Description IfElse is only lazy in the default backend because the function virtual machine handles it (via the "lazy" attribute"). In Numba/JAX it currently does nothing, because it receives...

jax
numba
backend compatibility

### Description A matrix vector dot or a vector dot matrix can be represented as a matrix - col/row dot followed by a squeeze of the useless dims. I don't...

needs info
request discussion
Op implementation

This rewrite only triggers for non-blockwise dots, but there's no reason not to also cover Blockwise dots with a Blockise Solve (if solve is not blockwised by default already) https://github.com/pymc-devs/pytensor/blob/ad27dc752798dfb75ed8d1c0a9b840859a8a898d/pytensor/tensor/rewriting/linalg.py#L90

beginner friendly
graph rewriting
linalg

## Description Seems not needed?

maintenance
numba

## Description Apparently both out implementation and numba's can be pretty dumb for reductions. This PR tries to default to the Numba case when possible. I am not sure this...

numba
performance