pytensor icon indicating copy to clipboard operation
pytensor copied to clipboard

`local_det_chol` doesn't work

Open jessegrabowski opened this issue 1 month ago • 1 comments

Description

A simple example:

import pytensor.tensor as pt 
import pytensor

x = pt.dmatrix('x')
out = pt.linalg.det(pt.linalg.cholesky(x))
fn = pytensor.function([x], out)
fn.dprint()

Det [id A] 1
 └─ Cholesky{lower=True, check_finite=False, on_error='raise', overwrite_a=False} [id B] 0
    └─ x [id C]

The expected output is prod(diag(cholesky(x)))

jessegrabowski avatar Oct 19 '25 01:10 jessegrabowski