Skip to main content

Synaptics Torq Runtime

The torq-runtime Python package provides bindings for loading and running compiled .vmfb models on a Torq device directly from Python. It bundles the Torq runtime alongside the IREE runtime Python bindings into a single wheel with both namespaces, together with the torq-run-module and IREE CLI tools.

Installation

pip install torq-runtime

Quick Start

Inference from Python:

import numpy as np
from torq.runtime import VMFBInferenceRunner

# Load the compiled model
runner = VMFBInferenceRunner("mobilenetv2.vmfb", device_uri="torq")

# Prepare input data
input_data = np.random.randint(0, 255, size=(1, 224, 224, 3), dtype=np.int8)

# Run inference
outputs = runner.infer([input_data])
print(f"Inference took {runner.infer_time_ms:.2f} ms")

Inference via CLI

torq-run-module --module="mobilenetv2.vmfb" --device="torq" --input=1x224x224x3xsi8

Documentation

The full API reference and usage examples are available in the Torq Runtime user guide.

Metadata

Release files for torq-runtime 2.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for torq-runtime 2.2.1
File Interpreter ABI Platform
torq_runtime-2.2.1-cp312-cp312-manylinux_2_39_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.39+ x86-64 Details
torq_runtime-2.2.1-cp312-cp312-manylinux_2_39_aarch64.whl CPython 3.12 CPython 3.12 Linux glibc 2.39+ ARM64 Details

Total release size: 15.9 MB

Release files / torq_runtime-2.2.1-cp312-cp312-manylinux_2_39_x86_64.whl

Download URL torq_runtime-2.2.1-cp312-cp312-manylinux_2_39_x86_64.whl
Size 11.5 MB
Tags CPython 3.12 Linux glibc 2.39+ x86-64
SHA-256 checksum
How to use checksums
c7032eed918384bba3091dc191b5e488bdb8f4fdcf6cfefd76f8c39fb26bef6d
BLAKE2b-256 checksum
How to use checksums
9cddba16a954044857bad6e02a9ee4618588b14c02ed6fce125be8b368281e87
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 23, 2026.

Transparency log

Release files / torq_runtime-2.2.1-cp312-cp312-manylinux_2_39_aarch64.whl

Download URL torq_runtime-2.2.1-cp312-cp312-manylinux_2_39_aarch64.whl
Size 4.3 MB
Tags CPython 3.12 Linux glibc 2.39+ ARM64
SHA-256 checksum
How to use checksums
7c17c5c627670314119f3a868f0fa6a877f718ab30efbfe8ac2088b3fe93de4e
BLAKE2b-256 checksum
How to use checksums
33b1b5229bba913e8883c59c6c05f317a885f3a59f06db08beb233be649b9ba2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 23, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

2.2.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page