@ricardoV94, that was a great idea! It appears that even the non pytensor.scan version of the code works in Google Colab. It appears to be an issue with my Mac clang++ compiler. I’m not sure what OS Colab runs on, or what compiler they use, but it seems to get past the compilation nesting issue.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| How to use pytensor's scan function | 5 | 1607 | February 27, 2023 | |
| Theano.scan and pm.Model() are strangely incompatible | 9 | 1843 | May 21, 2019 | |
| Using theano scan with pymc3 | 3 | 887 | December 4, 2020 | |
| Markov switching dynamic autoregression | 15 | 2488 | March 8, 2020 | |
| Memory problems with nested theano.scan | 1 | 885 | August 2, 2018 |