Even stranger… Thought I’d try to create a simpler model without the custom function, and compare how that ran to the model with the function.
With the code below I create the simpler model mdl1, create a deepcopy mdl2 and add the custom function.
Then I init_nuts for both… and both run without error (!?) pytensorf.py:1080 elif isinstance(client.op, Scan): doesn’t even get hit…
I’m sure this will make sense one day?
REMOVED EVEN MORE OLD BROKEN CODE!