K B
K B
This code is already present in the `pytensor/tensor/type.py` at line 807 in the anaconda environment I'm using. So nope, that doesn't help unfortunately. ``` if dtype is None: dtype =...
Well, the workaround fixes the `fit` issue (#1427), but finally `optimize_budget` fails, as you could also reproduce.
Tried `pytensor/compile/function/types.py` line: 947. It goes ahead but fails elsewhere with `TypeError: expected type_num 11 (NPY_FLOAT32) got 12` error. ``` try: arg_container.storage[0] = arg_container.type.filter( arg, strict=arg_container.strict, allow_downcast=True, #arg_container.allow_downcast, ) ```
> Did [#1636](https://github.com/pymc-labs/pymc-marketing/pull/1636) affect this? Well, #1636 was merged just 2 days back, and I'm using 0.11.0 which is older than this. So, this might not be the root cause.
> Thanks [@cetagostini](https://github.com/cetagostini) what you said about a small `jac` totally makes sense. > > Actually, I was already doing that but with the target scaler as you suggested in...
Using `floatX` just provides a temporary workaround of the problem, but many other functionalities offered by the library doesn't work with it. See this: Issue #1633 The maintainers should fix...