Mobilint SDK qb Runtime Library : qbruntime
qbruntime is runtime library for Mobilint NPU products. Runtime Library is required to run inference on Mobilint NPUs using precompiled or custom models.
IMPORTANT: Please refer to official documentation for installing driver before using runtime library.
Prerequisites
Currently, pip installation is limited to below Ubuntu environments. For other environment, please refer to official documentation.
- Ubuntu: 20.04 / 22.04 / 24.04
- Python: 3.8 / 3.9 / 3.10 / 3.11 / 3.12
- numpy
Installation
You may install python runtime library with following command
pip install mobilint-qb-runtime
For C++ library installation or downloading library from mobilint distribution site, please refer to official documentation.
Inference process
Running inference on Mobilint's NPU using the qbruntime runtime library involves four essential steps:
- Initialize the NPU device.
- Load the compiled model (MXQ file).
- Upload model to the NPU device.
- Run inference with user input.
Step 1: Accelerator
The Accelerator object represents the NPU device to be used. It abstracts a single device identified by the number appended to the device name (e.g., /dev/aries0 -> acc1, /dev/aries2 -> acc2). If no specific number is provided, NPU device 0 is used by default.
acc = qbruntime.Accelerator(0)
Step 2: Model
The Model object represents a model contained in an MXQ file. Upon creation, it immediately reads the MXQ file and stores the relevant information.
model = qbruntime.Model(MXQ_FILE_PATH)
Step 3: Pass Model information to the Accelerator
Pass the information with the {doxylink}mobilint::Model::launch(Accelerator & acc) method of Model object. It then uses the Accelerator object to run inference using this model.
Step 4: Run inference using passed Model information and input data
Get the input data and run inference using the mobilint::Model::infer() method of Model object.
model = qbruntime.Model(MXQ_FILE_PATH)
result = model.infer([INPUT])
Inference Scenario
## Python example
import qbruntime
MXQ_PATH = "path/to/mxq.mxq"
acc = qbruntime.Accelerator() ## Step 1
model = qbruntime.Model(MXQ_PATH) ## Step 2
model.launch(acc) ## Step 3
## Some preprocessing for input data
result = model.infer(preprocessed_input) ## Step 4
Metadata
Release files for mobilint-qb-runtime 1.5.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
Total release size: 28.6 MB
Release files / mobilint_qb_runtime-1.5.3-cp314-cp314-win_amd64.whl
| Download URL | mobilint_qb_runtime-1.5.3-cp314-cp314-win_amd64.whl |
|---|---|
| Size | 1.1 MB |
| Tags | CPython 3.14 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
78c468aa1510c743d9cb267012e832c307bcbe10528e393018c95f6d8ad2f613
|
|
BLAKE2b-256 checksum How to use checksums |
f91fe74bae8ed0f2ab35c9d9e11f6c29e3e65f6460fd4438816a653b0c4ae497
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Release files / mobilint_qb_runtime-1.5.3-cp314-cp314-manylinux_2_31_x86_64.whl
| Download URL | mobilint_qb_runtime-1.5.3-cp314-cp314-manylinux_2_31_x86_64.whl |
|---|---|
| Size | 1.7 MB |
| Tags | CPython 3.14 Linux glibc 2.31+ x86-64 |
|
SHA-256 checksum How to use checksums |
b3995fe71c26d30a0b5a447b9849a5eede27f00edce3999240b6aeb21660749d
|
|
BLAKE2b-256 checksum How to use checksums |
a934f98220f46e0858a77e0f7e5387eb88bc0a240a9df97ce1c4633f3b96e8d0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Release files / mobilint_qb_runtime-1.5.3-cp314-cp314-manylinux_2_28_aarch64.whl
| Download URL | mobilint_qb_runtime-1.5.3-cp314-cp314-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 1.3 MB |
| Tags | CPython 3.14 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
f1989090e8ee8671ed909adf8e1d201c0aa27d4f0e5b0ac38795bb82384ce29d
|
|
BLAKE2b-256 checksum How to use checksums |
000c1cc0cfa0c4e73cf82a4dece871281bb032ffda78f736c6fe7707d33e174c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Release files / mobilint_qb_runtime-1.5.3-cp313-cp313-win_amd64.whl
| Download URL | mobilint_qb_runtime-1.5.3-cp313-cp313-win_amd64.whl |
|---|---|
| Size | 1.1 MB |
| Tags | CPython 3.13 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
8357f4ab98cb688d6f938f200e9598331b0509fe9f975504eb8d4ba2c7a1e329
|
|
BLAKE2b-256 checksum How to use checksums |
2290747c5e3d3d6244a88fd20930d34ac6c911834718f94c434edc6224208df2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Release files / mobilint_qb_runtime-1.5.3-cp313-cp313-manylinux_2_31_x86_64.whl
| Download URL | mobilint_qb_runtime-1.5.3-cp313-cp313-manylinux_2_31_x86_64.whl |
|---|---|
| Size | 1.7 MB |
| Tags | CPython 3.13 Linux glibc 2.31+ x86-64 |
|
SHA-256 checksum How to use checksums |
7ccc8090a6af50428dae4d241a66cd9dec4e2f4c9dd58d32e62abd895bafa7e3
|
|
BLAKE2b-256 checksum How to use checksums |
432e0bacfed16691cfe364db71292ceb9c210d6c7c8c569e4a162d2deda1ecd4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Release files / mobilint_qb_runtime-1.5.3-cp313-cp313-manylinux_2_28_aarch64.whl
| Download URL | mobilint_qb_runtime-1.5.3-cp313-cp313-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 1.3 MB |
| Tags | CPython 3.13 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
8d77c764e458131e47066f463b52f50b0ade26764943ba1c34686732497d03af
|
|
BLAKE2b-256 checksum How to use checksums |
d1416d8f21d4d7a1217e936430966b75743960e9023959ac3529949339efd376
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Release files / mobilint_qb_runtime-1.5.3-cp312-cp312-win_amd64.whl
| Download URL | mobilint_qb_runtime-1.5.3-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 1.1 MB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
49ea396a40252ccfc8f45f9b3ef00d9df6aff2dd3a97db3e6a15b905d698fa0a
|
|
BLAKE2b-256 checksum How to use checksums |
bdf983052d38ccc00f25d357aba1f88f6f46962b12adb908c01671da058063a8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Release files / mobilint_qb_runtime-1.5.3-cp312-cp312-manylinux_2_31_x86_64.whl
| Download URL | mobilint_qb_runtime-1.5.3-cp312-cp312-manylinux_2_31_x86_64.whl |
|---|---|
| Size | 1.7 MB |
| Tags | CPython 3.12 Linux glibc 2.31+ x86-64 |
|
SHA-256 checksum How to use checksums |
07280d9956d07207a3a2654f7751b1676df21ee26caa56f2c7e8a5be4b7913bc
|
|
BLAKE2b-256 checksum How to use checksums |
ca9fc5e9aa51de96140d76afbe2cb726c60889f55d2d74d81c8e611b963d0846
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Release files / mobilint_qb_runtime-1.5.3-cp312-cp312-manylinux_2_28_aarch64.whl
| Download URL | mobilint_qb_runtime-1.5.3-cp312-cp312-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 1.3 MB |
| Tags | CPython 3.12 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
2b6461489d3d80091bd62341b49c3d9b621904806617374a8f5bcac7708ff48f
|
|
BLAKE2b-256 checksum How to use checksums |
928bfa208966a4d221f58788d90e4fb2c3d3156fa270f0567f742fbb4d5e986a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Release files / mobilint_qb_runtime-1.5.3-cp311-cp311-win_amd64.whl
| Download URL | mobilint_qb_runtime-1.5.3-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 1.1 MB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
1a14094c32277c6a52da4dab628cdfbf0bf7813e8dc751eb1a88b4f8a9517021
|
|
BLAKE2b-256 checksum How to use checksums |
7e830165aca3153559a70ce4aeabde7f71fef47fc72f303c1cc5a5bbc9f1f3e9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Release files / mobilint_qb_runtime-1.5.3-cp311-cp311-manylinux_2_31_x86_64.whl
| Download URL | mobilint_qb_runtime-1.5.3-cp311-cp311-manylinux_2_31_x86_64.whl |
|---|---|
| Size | 1.7 MB |
| Tags | CPython 3.11 Linux glibc 2.31+ x86-64 |
|
SHA-256 checksum How to use checksums |
172382c2cf11d35044777134941c5cbad2ef8769559cad78982f85d4e80ccebb
|
|
BLAKE2b-256 checksum How to use checksums |
3a8cc392bd476ded00a86351322d94f2602f6f0921a49eb971f63798428ff918
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Release files / mobilint_qb_runtime-1.5.3-cp311-cp311-manylinux_2_28_aarch64.whl
| Download URL | mobilint_qb_runtime-1.5.3-cp311-cp311-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 1.3 MB |
| Tags | CPython 3.11 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
766e506cdd59559468714ae8fed4a7e2912ee4a17b22e179ff8a79bff401cd3a
|
|
BLAKE2b-256 checksum How to use checksums |
dc8987e79eb3dc8d2e0e7aaa0931ef0e5f3b38c26b7599a4744b53a78f0d2317
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Release files / mobilint_qb_runtime-1.5.3-cp310-cp310-win_amd64.whl
| Download URL | mobilint_qb_runtime-1.5.3-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 1.1 MB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
d22d73c130334d74a9556bb7ee3ded6774db810cfb73ca84d154bf74bf54f963
|
|
BLAKE2b-256 checksum How to use checksums |
f09231a157320459b979b9eb43d6761b9ee9ca4a9cc5eb99d2b195f0ed45da7f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Release files / mobilint_qb_runtime-1.5.3-cp310-cp310-manylinux_2_31_x86_64.whl
| Download URL | mobilint_qb_runtime-1.5.3-cp310-cp310-manylinux_2_31_x86_64.whl |
|---|---|
| Size | 1.7 MB |
| Tags | CPython 3.10 Linux glibc 2.31+ x86-64 |
|
SHA-256 checksum How to use checksums |
c0e66a21a3b3c78ada4464179ae6f37f7297615d0ec1238121cfa9322fed785d
|
|
BLAKE2b-256 checksum How to use checksums |
0857638583cd78f427626b62f2318bfc921a3f5b21c7bdae34a53b22bcfdccea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Release files / mobilint_qb_runtime-1.5.3-cp310-cp310-manylinux_2_28_aarch64.whl
| Download URL | mobilint_qb_runtime-1.5.3-cp310-cp310-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 1.3 MB |
| Tags | CPython 3.10 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
95ac7437215b26ecf89987d2da098212ca9bb29046a63658c9c865740f824297
|
|
BLAKE2b-256 checksum How to use checksums |
001a7f41ef8d43428ae37424381d917e38c472372f0b7d621d8e9b91ebd37668
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Release files / mobilint_qb_runtime-1.5.3-cp39-cp39-win_amd64.whl
| Download URL | mobilint_qb_runtime-1.5.3-cp39-cp39-win_amd64.whl |
|---|---|
| Size | 1.1 MB |
| Tags | CPython 3.9 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
d87bee194729a2cd3ca65daa24f8f37dc687a7a4e83311cd9f5ba4b10b21f787
|
|
BLAKE2b-256 checksum How to use checksums |
ba5070f98b8de3a050cec9ac47aac0741bf61542040a46d9a1fb4c96b1737219
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Release files / mobilint_qb_runtime-1.5.3-cp39-cp39-manylinux_2_31_x86_64.whl
| Download URL | mobilint_qb_runtime-1.5.3-cp39-cp39-manylinux_2_31_x86_64.whl |
|---|---|
| Size | 1.7 MB |
| Tags | CPython 3.9 Linux glibc 2.31+ x86-64 |
|
SHA-256 checksum How to use checksums |
b4488685eb055643401a26048612d5aa99d0e999742e63e1158d394c446f70bd
|
|
BLAKE2b-256 checksum How to use checksums |
a05f1f4faae659240dae5d5cfa9249e60de5145155cf9eb72a41b447e9fef20c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Release files / mobilint_qb_runtime-1.5.3-cp39-cp39-manylinux_2_28_aarch64.whl
| Download URL | mobilint_qb_runtime-1.5.3-cp39-cp39-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 1.3 MB |
| Tags | CPython 3.9 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
33cb861cb00ac0d7142dc7319ccfcd301057977dbb1f7afc3c68af23029f445b
|
|
BLAKE2b-256 checksum How to use checksums |
54b05da03cc5fd0a46387efeed127619589d4cbc854a747b43456ce312828b50
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Release files / mobilint_qb_runtime-1.5.3-cp38-cp38-win_amd64.whl
| Download URL | mobilint_qb_runtime-1.5.3-cp38-cp38-win_amd64.whl |
|---|---|
| Size | 1.1 MB |
| Tags | CPython 3.8 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
dee20944d4ecb1f071b02161b53d1b8e9203d36a070c512019f9a7896b017180
|
|
BLAKE2b-256 checksum How to use checksums |
399370106de536132608dec5187464f79e0d6e4de5ff3638f5101bdfb28d7d0b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Release files / mobilint_qb_runtime-1.5.3-cp38-cp38-manylinux_2_31_x86_64.whl
| Download URL | mobilint_qb_runtime-1.5.3-cp38-cp38-manylinux_2_31_x86_64.whl |
|---|---|
| Size | 1.7 MB |
| Tags | CPython 3.8 Linux glibc 2.31+ x86-64 |
|
SHA-256 checksum How to use checksums |
6486230e6df5d40fd015ba5375e4ea6c4ad571fc06bcfb63fa63ef5053507203
|
|
BLAKE2b-256 checksum How to use checksums |
605f4843302836a8411bfd755c05af7a3ffe1a9a5e5bce2fe5775d1a5fafa4db
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Release files / mobilint_qb_runtime-1.5.3-cp38-cp38-manylinux_2_28_aarch64.whl
| Download URL | mobilint_qb_runtime-1.5.3-cp38-cp38-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 1.3 MB |
| Tags | CPython 3.8 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
ae9f5ad04beb7964b65ec5a56885c8a78251b004067de82fe038e66775a4b001
|
|
BLAKE2b-256 checksum How to use checksums |
73470cc98e4473f4bee036854492bfc31df52cf6ebec608f78aa67ad051f959c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Security for mobilint-qb-runtime 1.5.3
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.