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.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| torq_runtime-2.3.0-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.0-cp312-cp312-manylinux_2_39_x86_64.whl |
| torq_runtime-2.3.0-cp312-cp312-manylinux_2_39_aarch64.whl | CPython 3.12 | CPython 3.12 | Linux glibc 2.39+ ARM64 | Details for torq_runtime-2.3.0-cp312-cp312-manylinux_2_39_aarch64.whl |
Total release size: 15.9 MB
Release files / torq_runtime-2.3.0-cp312-cp312-manylinux_2_39_x86_64.whl
| Download URL | torq_runtime-2.3.0-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 |
62998ab18edf59c53362d7ea250664ebb5d3fe02b271529f936dca58deb3af4c
|
|
BLAKE2b-256 checksum How to use checksums |
ead25ff133ce49429192d12b3c4e98556176e96dd4c678e74e154dd68757efbd
|
| 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 Oct 19, 2026.
Transparency logRelease files / torq_runtime-2.3.0-cp312-cp312-manylinux_2_39_aarch64.whl
| Download URL | torq_runtime-2.3.0-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 |
bdfe92470f4ac3f95bbe6ad11e6d9987c4e615762f29d32ca6a8ea8d723be6d2
|
|
BLAKE2b-256 checksum How to use checksums |
8082f570764f32b352bafa58830cc0fdca226d4e2e8c7d4ec752bb40f54ffee0
|
| 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 Oct 19, 2026.
Transparency logSecurity for torq-runtime 2.3.0
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.
Attestation for torq_runtime-2.3.0-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 Oct 19, 2026.
Transparency logA 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.