pymc-devs / pytensor

PyTensor allows you to define, optimize, and efficiently evaluate mathematical expressions involving multi-dimensional arrays.
https://pytensor.readthedocs.io
Other
338 stars 100 forks source link

Pure Python Wheels #360

Open ferrine opened 1 year ago

ferrine commented 1 year ago

Description

Running pymc live demo, there was an issue with missing pure python wheels. I bet this issue was introduced once we moved to use C extensions with Cython build toolchain in https://github.com/pymc-devs/pytensor/pull/77

https://www.pymc.io/welcome.html#interactive-demo

image
ferrine commented 1 year ago

The last release seen in pydiod is 2.11.2, 2.11.3 got broken

This changelist should be helpful

https://github.com/pymc-devs/pytensor/compare/rel-2.11.2...rel-2.11.3

The actions were also bumped https://github.com/pymc-devs/pytensor/compare/rel-2.11.2...rel-2.11.3#diff-1baea138c19b06c7531655c5e977dbbcca5bd9147709625e2ee40984905502c5R90

michaelosthege commented 1 year ago

The PR that did all the magic to do per platform builds was https://github.com/pymc-devs/pytensor/pull/183

ferrine commented 1 year ago

hmm

ferrine commented 1 year ago

Here is the latest release I can install there

image
aseyboldt commented 1 year ago

I was also getting some errors when trying to cross compile nutpie on linux to different architectures, but maybe just because pytensor didn't have builds for those...

twiecki commented 1 year ago

https://github.com/pymc-devs/pytensor/issues/285#issuecomment-1535898940 has instructions to upload a universal wheel without cython extension manually.