2026 EuroLLVM - Python Bindings for IR2Vec @LLVMPROJ
2026 EuroLLVM - Python Bindings for IR2Vec  @LLVMPROJ
Uploaded June 2026 | Updated September 2026, 3 weeks ago
2026 EuroLLVM Developers' Meeting
llvm.org/devmtg/2026-04
------
Title: Python Bindings for IR2Vec
Speaker: Nishant Sachdeva
------
Slides: llvm.org/devmtg/2026-04/slides/student_technical_talk/student_technical_talk_sachdeva.pdf
-----
IR2Vec is a widely adopted framework for generating vector embeddings from LLVM IR to enable machine-learning-driven compiler optimizations. This work introduces native Python bindings for IR2Vec using pybind11, enabling seamless and efficient integration with Python-based ML ecosystems such as PyTorch and TensorFlow. By replacing subprocess-based CLI invocation with a direct programmatic interface, the bindings eliminate process overhead, provide inbuilt C++-Python type conversion, and support robust exception handling. The implementation and usage are demonstrated through practical embedding-generation examples. The project is currently under active development for upstream integration into the LLVM monorepo, with multiple pull requests already accepted, and is available in beta form via TestPyPI.
-----
Videos Edited by Bash Films: BashFilms.com
2026 EuroLLVM - Python Bindings for IR2Vec2025 AsiaLLVM - Fujitsu Compiler Test Suite: New Test Suite for Fortran/C/C++2026 EuroLLVM - Using MLIR Linalg Category Ops for Smarter Compilation2025 US LLVM Developers Meeting: Contributing to Clang2025 EuroLLVM - Clang Static Analyzer: Supporting Multithreaded Code2025 US LLVM Developers Meeting: An Undefined Behavior Annex for C++2025 US LLVM Developers Meeting: Mojo GPU Compilation2026 EuroLLVM - Attack of the Clones: Speeding Up Coroutine Compilation2025 US LLVM Developers Meeting: Non-attribute property improvements in MLIR2025 EuroLLVM - Integrating XRay into the HPC Tool Ecosystem2026 EuroLLVM - Lighthouse: infrastructure for end-to-end MLIR-compilers and testing2025 US LLVM Developers Meeting: Are we fully leveraging TableGen in MLIR?
LLVM |

2026 EuroLLVM - Python Bindings for IR2Vec

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER