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.3.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.3.1
File Interpreter ABI Platform Actions
torq_runtime-2.3.1-cp312-cp312-manylinux_2_39_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.39+ x86-64 Details for torq_runtime-2.3.1-cp312-cp312-manylinux_2_39_x86_64.whl
torq_runtime-2.3.1-cp312-cp312-manylinux_2_39_aarch64.whl CPython 3.12 CPython 3.12 Linux glibc 2.39+ ARM64 Details for torq_runtime-2.3.1-cp312-cp312-manylinux_2_39_aarch64.whl

Total release size: 15.9 MB

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

Download URL torq_runtime-2.3.1-cp312-cp312-manylinux_2_39_x86_64.whl
Size 11.6 MB
Tags CPython 3.12 Linux glibc 2.39+ x86-64
SHA-256 checksum
How to use checksums
122807f98411d8a162c726681d21f7c21e72ba5c530884988339bbce1087b88e
BLAKE2b-256 checksum
How to use checksums
31e94857754f7251077c1c1b6bd65fd4c8f26d0516c58aa87a5564280a42c786
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 15, 2026.

Transparency log

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

Download URL torq_runtime-2.3.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
07cd812301b972f7b8f46691640a61c1ac066186339fcde4dc0d2375a107d853
BLAKE2b-256 checksum
How to use checksums
c53407ad224656d2a09ff3a91421ddc0a419119f031352d681dea1a4e5b1a429
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 15, 2026.

Transparency log

Security for torq-runtime 2.3.1

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for torq_runtime-2.3.1-cp312-cp312-manylinux_2_39_x86_64.whl

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 Nov 15, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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