pytensor icon indicating copy to clipboard operation
pytensor copied to clipboard

Scipy 1.14.0 changed the upcasting rule of several special functions when passing integers

Open ricardoV94 opened this issue 7 months ago • 1 comments

Description

Functions like scipy.special.psi now always upcast to float64, even if the input is a low precision integer like int8. We need to handle these types, but:

  1. float64 may be a bit too wasteful
  2. We can't have the dtype depend on the scipy version, and lower pinning to 1.14.0 may be too restrictive?

ricardoV94 avatar Jun 27 '24 17:06 ricardoV94