Skip to main content

IREE Python Runtime Components

Project description

IREE Python Runtime Components

This package provides an API for running compiled IREE binaries and interfacing with the hardware-abstraction-layer.

Tracing

Execution of calls against binaries can be traced for later replay (i.e. via tools like iree-run-module). This can be set up either explicitly or via environment variables.

To trace via environment variable, set IREE_SAVE_CALLS to a directory to dump traces into. Each created SystemContext will result in one calls.yaml file (with an index appended to the stem for multiples). Any referenced module binaries will be dumped into the same directory and referenced by the YAML file.

Explicit API

tracer = iree.runtime.Tracer(some_dir)
config = iree.runtime.Config(driver, tracer)
...

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

iree_runtime_instrumented-20230524.529-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.7 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

iree_runtime_instrumented-20230524.529-cp311-cp311-macosx_11_0_universal2.whl (2.4 MB view hashes)

Uploaded CPython 3.11 macOS 11.0+ universal2 (ARM64, x86-64)

iree_runtime_instrumented-20230524.529-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.7 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

iree_runtime_instrumented-20230524.529-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.7 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

iree_runtime_instrumented-20230524.529-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.7 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page