Update iree for nanobind 2
Closed this issue · 4 comments
hawkinsp commented
What happened?
IREE doesn't build with nanobind 2.0, released today.
Steps to reproduce your issue
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
What component(s) does this issue relate to?
No response
Version information
No response
Additional context
No response
stellaraccident commented
Yeah, we just discovered that and pinned to the prior version this morning. I took a todo to upgrade it but it isn't going to happen today. Also a long weekend starts now.
stellaraccident commented
stellaraccident commented
If CI passes with the 2.0 bump, I'll go ahead and land tonight.
stellaraccident commented
Note that folks are still having some issues depending on where they are sync'd to. If on a branch that does not include #17497, then downgrade via:
pip install --force-reinstall 'nanobind<2'
If after and having issues, upgrade (HEAD should work with older versions but CI doesn't test that / I only verified lightly):
pip uninstall nanobind
pip install -r runtime/bindings/python/iree/runtime/build_requirements.txt