pymc icon indicating copy to clipboard operation
pymc copied to clipboard

Problematic casting of integers in `convert_observed_data`

Open ricardoV94 opened this issue 9 months ago • 0 comments

Description

When we use pytensor.config.floatX=="float32", integer data is downcast to "int16" which has a pretty limited range of 32k. For count-based likelihoods this is way too narrow. I am not sure we should be doing anything with integers to begin with. Why are PyTensor casting rules (and customization flags) not sufficient?

ricardoV94 avatar May 22 '24 16:05 ricardoV94