You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Enable WAMR serialization (on-demand and AOT) #4023
WAMR supports the ability to precompile WASM modules via the aot_convert_wasm_module API. This turns an in-memory generic WASM bytecode module into a serializable AOTModule for the current machine.
There are two usage modes for this:
independent of execution perform a wasm->aot translation and cache to disk for later loading (done on model updates only)
on-demand during execution (effectively a JIT)
We should be able to support both modes to allow the compiler part (which links in LLVM) to live in an independent process/binary from the execution part in the HAL backend. We can optionally then support the on-demand/JIT style with caching (using IREE's iree_hal_executable_cache_t API).
Activity
Add wasm-micro-runtime submodule and get building with CMake. (#5077)