Skip to main content

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:

  1. Initialize the NPU device.
  2. Load the compiled model (MXQ file).
  3. Upload model to the NPU device.
  4. 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

Release files for mobilint-qb-runtime 1.4.0

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 mobilint-qb-runtime 1.4.0
File
mobilint_qb_runtime-1.4.0-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details
mobilint_qb_runtime-1.4.0-cp314-cp314-manylinux_2_31_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.31+ x86-64 Details
mobilint_qb_runtime-1.4.0-cp314-cp314-manylinux_2_28_aarch64.whl CPython 3.14 CPython 3.14 Linux glibc 2.28+ ARM64 Details
mobilint_qb_runtime-1.4.0-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details
mobilint_qb_runtime-1.4.0-cp313-cp313-manylinux_2_31_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.31+ x86-64 Details
mobilint_qb_runtime-1.4.0-cp313-cp313-manylinux_2_28_aarch64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ ARM64 Details
mobilint_qb_runtime-1.4.0-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
mobilint_qb_runtime-1.4.0-cp312-cp312-manylinux_2_31_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.31+ x86-64 Details
mobilint_qb_runtime-1.4.0-cp312-cp312-manylinux_2_28_aarch64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ ARM64 Details
mobilint_qb_runtime-1.4.0-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
mobilint_qb_runtime-1.4.0-cp311-cp311-manylinux_2_31_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.31+ x86-64 Details
mobilint_qb_runtime-1.4.0-cp311-cp311-manylinux_2_28_aarch64.whl CPython 3.11 CPython 3.11 Linux glibc 2.28+ ARM64 Details
mobilint_qb_runtime-1.4.0-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details
mobilint_qb_runtime-1.4.0-cp310-cp310-manylinux_2_31_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.31+ x86-64 Details
mobilint_qb_runtime-1.4.0-cp310-cp310-manylinux_2_28_aarch64.whl CPython 3.10 CPython 3.10 Linux glibc 2.28+ ARM64 Details
mobilint_qb_runtime-1.4.0-cp39-cp39-win_amd64.whl CPython 3.9 CPython 3.9 Windows x86-64 Details
mobilint_qb_runtime-1.4.0-cp39-cp39-manylinux_2_31_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.31+ x86-64 Details
mobilint_qb_runtime-1.4.0-cp39-cp39-manylinux_2_28_aarch64.whl CPython 3.9 CPython 3.9 Linux glibc 2.28+ ARM64 Details
mobilint_qb_runtime-1.4.0-cp38-cp38-win_amd64.whl CPython 3.8 CPython 3.8 Windows x86-64 Details
mobilint_qb_runtime-1.4.0-cp38-cp38-manylinux_2_31_x86_64.whl CPython 3.8 CPython 3.8 Linux glibc 2.31+ x86-64 Details
mobilint_qb_runtime-1.4.0-cp38-cp38-manylinux_2_28_aarch64.whl CPython 3.8 CPython 3.8 Linux glibc 2.28+ ARM64 Details

Total release size: 28.3 MB

Release files / mobilint_qb_runtime-1.4.0-cp314-cp314-win_amd64.whl

Download URL mobilint_qb_runtime-1.4.0-cp314-cp314-win_amd64.whl
Size 1.1 MB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
5934ccd70dd25ba692666cc0116ec3d0499dbdbc732ab4998a5b301e5a9a37c5
BLAKE2b-256 checksum
How to use checksums
64fc35a38d32bc5f248c1eaad8677baebe182c12547a692c4f5963635b1571a7
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.4.0-cp314-cp314-manylinux_2_31_x86_64.whl

Download URL mobilint_qb_runtime-1.4.0-cp314-cp314-manylinux_2_31_x86_64.whl
Size 1.6 MB
Tags CPython 3.14 Linux glibc 2.31+ x86-64
SHA-256 checksum
How to use checksums
9f8b75fdecb4333f5fa70d10a20c641d43332c5b747c499cf74eaf17c74b8644
BLAKE2b-256 checksum
How to use checksums
84edcec98131a426e7611f8b041425adb055d0e6e8d1f1c4546843b079520468
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.4.0-cp314-cp314-manylinux_2_28_aarch64.whl

Download URL mobilint_qb_runtime-1.4.0-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
c9bb986235df8f8f6cdbc1e4f8412de95124d261c8cbed33550a8f46f7038280
BLAKE2b-256 checksum
How to use checksums
f19ff8e208df564a51e20665a2093ef2a60ca1d28187dccc471475c73bf3ea04
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.4.0-cp313-cp313-win_amd64.whl

Download URL mobilint_qb_runtime-1.4.0-cp313-cp313-win_amd64.whl
Size 1.1 MB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
a8bf81e73d2c51f0b3a489e2c87dfa2a83dace296b4ea204ca47c7c53c1e447f
BLAKE2b-256 checksum
How to use checksums
5f320b7ea9d156afc7c9a9ee9f0352c1e1e740229c68568fcaa815685197bece
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.4.0-cp313-cp313-manylinux_2_31_x86_64.whl

Download URL mobilint_qb_runtime-1.4.0-cp313-cp313-manylinux_2_31_x86_64.whl
Size 1.6 MB
Tags CPython 3.13 Linux glibc 2.31+ x86-64
SHA-256 checksum
How to use checksums
14d3006e5c71a9a1be174f07293b9001b6a2012c1837a3f78b7692a2fd8a9c02
BLAKE2b-256 checksum
How to use checksums
5670975dd5c9fcc697fa97493d0694bb171e784717bb8488af6bdff1fca2bdcf
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.4.0-cp313-cp313-manylinux_2_28_aarch64.whl

Download URL mobilint_qb_runtime-1.4.0-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
6a5a63a3b6cad3c7f9e75b0bb3f25f6781a978f8c672ab1810b131dc6de76f55
BLAKE2b-256 checksum
How to use checksums
88c65b21d9862c3fb41a044be4f8bc6367f9d664af3910090e2efaf3aa34dec1
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.4.0-cp312-cp312-win_amd64.whl

Download URL mobilint_qb_runtime-1.4.0-cp312-cp312-win_amd64.whl
Size 1.1 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
4eafdd0be0fdebd6a8b3b153afd9843bae7380de37863f4fe5d8bc6115be33fe
BLAKE2b-256 checksum
How to use checksums
67bfd1e114618a8aaf92dea42065ec1ca8c675df911d5652805c7f5f75913d3f
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.4.0-cp312-cp312-manylinux_2_31_x86_64.whl

Download URL mobilint_qb_runtime-1.4.0-cp312-cp312-manylinux_2_31_x86_64.whl
Size 1.6 MB
Tags CPython 3.12 Linux glibc 2.31+ x86-64
SHA-256 checksum
How to use checksums
828b21b73cd70ba5045a5f055468dcf11dbfd2bf9a737026371e3fb38ce7e682
BLAKE2b-256 checksum
How to use checksums
6739827c6139d5afe6386a77b858af4e59237effd186e7a597fe90c48f7b0b75
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.4.0-cp312-cp312-manylinux_2_28_aarch64.whl

Download URL mobilint_qb_runtime-1.4.0-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
8eead5d972790a5e4966e1388e7ce57a0dee17b1eeedd0057e3da25d79dc2255
BLAKE2b-256 checksum
How to use checksums
fdf8ed5f93771e1e9b1d46113cb4a8df5627f619779668b392323c8e9cd809cb
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.4.0-cp311-cp311-win_amd64.whl

Download URL mobilint_qb_runtime-1.4.0-cp311-cp311-win_amd64.whl
Size 1.1 MB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
b9c7e6c8392184547cfd975fe8eca78b02f9c4cd38a0b853284efff093daf200
BLAKE2b-256 checksum
How to use checksums
0069c0d990a1afaf42be3abbda93473d965c453210fa4bc8605f2646caa44eaf
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.4.0-cp311-cp311-manylinux_2_31_x86_64.whl

Download URL mobilint_qb_runtime-1.4.0-cp311-cp311-manylinux_2_31_x86_64.whl
Size 1.6 MB
Tags CPython 3.11 Linux glibc 2.31+ x86-64
SHA-256 checksum
How to use checksums
eb5891916869c50152784fbf07d9084666eb37468de851e165750756dc6df157
BLAKE2b-256 checksum
How to use checksums
7cb8f572e038de466d5f1f758c0ad9c763ef167e0732bf2446eb7f239a942752
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.4.0-cp311-cp311-manylinux_2_28_aarch64.whl

Download URL mobilint_qb_runtime-1.4.0-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
d4db62d13f3c4c78b658c4d6efc5e71b925f80bef59ccf8074079a0ae9f377dd
BLAKE2b-256 checksum
How to use checksums
6467bb912bdbb180d4b54006deb9876d18704932cc41004283731a4d86727f99
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.4.0-cp310-cp310-win_amd64.whl

Download URL mobilint_qb_runtime-1.4.0-cp310-cp310-win_amd64.whl
Size 1.1 MB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
3a170aea5990af8dfeb75c3a45e5350e284e4645c7da8fa8bb23b1d9e8a668cd
BLAKE2b-256 checksum
How to use checksums
59c6d0b924da7e712882fb0a2f8bc14c8872c3e5965e02175ff72d491c3f1ffa
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.4.0-cp310-cp310-manylinux_2_31_x86_64.whl

Download URL mobilint_qb_runtime-1.4.0-cp310-cp310-manylinux_2_31_x86_64.whl
Size 1.6 MB
Tags CPython 3.10 Linux glibc 2.31+ x86-64
SHA-256 checksum
How to use checksums
96708b46029038343f88dd172911b22a06aa8d1dc60ef342ed9844128e1d2629
BLAKE2b-256 checksum
How to use checksums
371d3835683c0b1d0d1b70f4248fc0992ddefb780145c2ba5323ca6e59e40dee
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.4.0-cp310-cp310-manylinux_2_28_aarch64.whl

Download URL mobilint_qb_runtime-1.4.0-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
9a6a9ae6107293b41cbedb7dc0610e0301f308403b6288b54350732656f0597e
BLAKE2b-256 checksum
How to use checksums
5dc0e691d782b5f0b304f42d4696d87db3afaccc0f23f3507e41a7f5d2c4787c
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.4.0-cp39-cp39-win_amd64.whl

Download URL mobilint_qb_runtime-1.4.0-cp39-cp39-win_amd64.whl
Size 1.1 MB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
474ddc2a528510d78b11b978ce576e3b3375b0feee3ff82b3a0bd3511ef9fdf1
BLAKE2b-256 checksum
How to use checksums
de13f4961dc6b128fd58d5a977b328d6e2513eb4999eb4cabb3d13474c2f473e
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.4.0-cp39-cp39-manylinux_2_31_x86_64.whl

Download URL mobilint_qb_runtime-1.4.0-cp39-cp39-manylinux_2_31_x86_64.whl
Size 1.6 MB
Tags CPython 3.9 Linux glibc 2.31+ x86-64
SHA-256 checksum
How to use checksums
aea3f4f1c266a971772c0d22c8981e16f3713d2780af2f5d8730fa552e4c08e9
BLAKE2b-256 checksum
How to use checksums
cd238d1faa899a1810139bdf1530b2db8755958e07fd7ab33e9d460f5c53b8e7
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.4.0-cp39-cp39-manylinux_2_28_aarch64.whl

Download URL mobilint_qb_runtime-1.4.0-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
eaa17236a0076c53eb756ef4a8d74004e4c586289d469ca29a6eb4fba6a2d91d
BLAKE2b-256 checksum
How to use checksums
cf88ac36653732adc051e9e7ca6bdbf1e3acc2303fffd8fd817592e07aab76c4
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.4.0-cp38-cp38-win_amd64.whl

Download URL mobilint_qb_runtime-1.4.0-cp38-cp38-win_amd64.whl
Size 1.1 MB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
d8dfe2a18e368b98142f01310a74b389578544483c517975ca33d75246f73330
BLAKE2b-256 checksum
How to use checksums
4b2e7dff2390b4f91024990788b615fece231e75f30a02a015d454b23b0c0fb6
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.4.0-cp38-cp38-manylinux_2_31_x86_64.whl

Download URL mobilint_qb_runtime-1.4.0-cp38-cp38-manylinux_2_31_x86_64.whl
Size 1.6 MB
Tags CPython 3.8 Linux glibc 2.31+ x86-64
SHA-256 checksum
How to use checksums
9b44895c3e38957795998779f542ab02f9b1ee68828f16f42d9a73be1cca4c05
BLAKE2b-256 checksum
How to use checksums
d7115427b24f7f2a03045b62ff984cac795d72aeaa4f0c16166379d2606a8731
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.4.0-cp38-cp38-manylinux_2_28_aarch64.whl

Download URL mobilint_qb_runtime-1.4.0-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
b4084d553d7f18cde8d3d6a51430c4311719cd4737f1f1b74474f68726bc40b6
BLAKE2b-256 checksum
How to use checksums
5acbc83c4e0717935b57e320a6c1236c0fe825e867ee6c394818c804899772e1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.3

Release history Release notifications | RSS feed

1.5.0

21 release files

This release

1.4.0 This release

21 release files

1.3.2

21 release files

1.3.1

21 release files

1.1.0

15 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