We need onnx==1.21.0 for pytorch https://github.com/pytorch/pytorch/pull/182278/changes#diff-ebc4b073492f9a3a194597a2c6852dee4486e3c040bc8c02bcf11e6352c7b18dR349
onnx==1.21.0
There's a 1.21.0 wheel in the registry: https://gitlab.com/riseproject/python/wheel_builder/-/packages/59103351
1.22.0 was also flagged by the automated PR generation workflows when I did test runs for them, so we can prioritize a workflow for that too.
We need onnx==1.21.0 for pytorch https://github.com/pytorch/pytorch/pull/182278/changes#diff-ebc4b073492f9a3a194597a2c6852dee4486e3c040bc8c02bcf11e6352c7b18dR349 There's a 1.21.0 wheel in the registry: https://gitlab.com/riseproject/python/wheel_builder/-/packages/59103351
Let me check that it works when building the PyTorch docker build image.
I confirm that I could remove the platform_machine != riscv64 for anything related to onnx!
platform_machine != riscv64
Excellent! I will keep this open for now, since IMO the work is not truly done until upstream has merged build/test support.
Activity
luhenry commentedon Jul 11, 2026
We need
onnx==1.21.0for pytorch https://github.com/pytorch/pytorch/pull/182278/changes#diff-ebc4b073492f9a3a194597a2c6852dee4486e3c040bc8c02bcf11e6352c7b18dR349threexc commentedon Jul 11, 2026
There's a 1.21.0 wheel in the registry: https://gitlab.com/riseproject/python/wheel_builder/-/packages/59103351
threexc commentedon Jul 11, 2026
1.22.0 was also flagged by the automated PR generation workflows when I did test runs for them, so we can prioritize a workflow for that too.
luhenry commentedon Jul 13, 2026
Let me check that it works when building the PyTorch docker build image.
luhenry commentedon Jul 13, 2026
I confirm that I could remove the
platform_machine != riscv64for anything related to onnx!threexc commentedon Jul 14, 2026
Excellent! I will keep this open for now, since IMO the work is not truly done until upstream has merged build/test support.