10000 Python Runtime bindings build dependency conflict with iree-turbine · Issue #20696 · iree-org/iree · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Python Runtime bindings build dependency conflict with iree-turbine #20696

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Alex-Vasile opened this issue May 1, 2025 · 1 comment
Open
Labels
bindings/python Python wrapping IREE's C API dependencies Pull requests that update a dependency file integrations/pytorch PyTorch integration work

Comments

@Alex-Vasile
Copy link
Contributor

The build requirements for the python bindings pin sympy to 1.12.1.

iree-turbine currently automatically installs torch 2.5.1 (which is already a few versions behind, see iree-org/iree-turbine#348). Torch 2.5.1 needs sympy==1.13.1.

@Alex-Vasile Alex-Vasile added the dependencies Pull requests that update a dependency file label May 1, 2025
@ScottTodd
Copy link
Member

The dep on sympy 1.12.1 was added to https://github.com/iree-org/iree/blob/main/runtime/bindings/python/iree/runtime/build_requirements.txt in ac418d1. Later investigation at #17662 (comment) found it was added for the fx_importer in torch-mlir, so we probably don't actually have any dependencies in the IREE Python bindings themselves on it. I think updating should therefore be trivial 🤞. If not, see the release notes for breaking changes to adapt to: https://github.com/sympy/sympy/wiki/release-notes-for-1.13.0, https://github.com/sympy/sympy/wiki/Release-Notes-for-1.14.

We could also try removing the dep entirely, moving it to iree-turbine, or putting it in the [onnx] or [torch] extras instead of as a base requirement for all building.

@ScottTodd ScottTodd added bindings/python Python wrapping IREE's C API integrations/pytorch PyTorch integration work labels May 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bindings/python Python wrapping IREE's C API dependencies Pull requests that update a dependency file integrations/pytorch PyTorch integration work
Projects
None yet
Development

No branches or pull requests

2 participants
0