Skip to content
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

Port compiler and iree-dialects to nanobind #19790

Merged
merged 1 commit into from
Jan 23, 2025

Conversation

marbre
Copy link
Member

@marbre marbre commented Jan 23, 2025

Upstream MLIR ported its Python bindings from pybind11 to nanobind and so do we. With this we have a single library for the binding across the compiler, iree-dialects and the runtime.

The macOS build is expected to still fail, see #19591, but as upstream switched to build the bindings for the internal dialects with nanobind it does anyway without reverts carried forward in our LLVM fork.

Upstream MLIR ported its Python bindings from pybind11 to nanobind and
so do we. With this we have a single library for the binding across the
compiler, iree-dialects and the runtime.

The macOS build is expected to still fail, see iree-org#19591, but as upstream
switched to build the bindings for the internal dialects with nanobind
it does anyway without reverts carried forward in our LLVM fork.
@ScottTodd ScottTodd added bindings/python Python wrapping IREE's C API compiler/api IREE's public C compiler API and iree-compile-module tools labels Jan 23, 2025
@marbre marbre enabled auto-merge (squash) January 23, 2025 20:06
@marbre marbre merged commit 67879e8 into iree-org:main Jan 23, 2025
39 checks passed
@marbre marbre deleted the pybind-to-nanobind-ng branch January 23, 2025 20:09
@ScottTodd ScottTodd mentioned this pull request Feb 4, 2025
6 tasks
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 compiler/api IREE's public C compiler API and iree-compile-module tools
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants