MLCompilerBridge
Tools for streamlining communication with ML models for compiler optimizations.
|
A GRPC framework to communicate between LLVM and a python ML workload for optimized Register Allocation.
Build GRPC with cmake
v1.34 (protobuff v3.13) to build GRPC from source.DCMAKE_INSTALL_PREFIX
may not be necessary and the default install prefix can be used.pip install grpcio-tools
mkdir build && cd build
cmake -DLLVM_BUILD_DIR=<path to your LLVM Build Directory> ../
Ex: cmake -DLLVM_BUILD_DIR=/home/cs20mtech01002/llvm-project/build ../