Skip to main content

How it Works

At its core, Muna is a cross-compiler for stateless Python functions. These prediction functions (a.k.a “predictors”) have the following form:
predictor.py
def predict(name: str) -> str:
    return f"Hello {name}! We hope you like Muna :)"
Muna compiles this function, and at runtime, airdrops a compiled binary to the device that made the request (i.e. your users). The client reports granular telemetry data back to our platform, and Muna uses this data to continuously optimize the performance of your function.
See the How it Works page for a more technical overview of the compiler.

Minimum Requirements

Muna compiles and executes Python functions on the following platforms:
Android API level 24+ (Android Nougat or newer) across the following ABIs:
  • armeabi-v7a
  • arm64-v8a
iOS 14+.
Linux distributions with GLIBC 2.35+ across the following architectures:
  • aarch64
  • x86_64
macOS 14+ with Apple Silicon.
visionOS 1.3+.
Browsers with WebAssembly + fixed-width SIMD:
  • Chrome 91+
  • Firefox 90+
  • Safari 16.4+
Windows 10+ across the following architectures:
  • amd64
  • arm64