Migration Guide#

This guide covers upgrading to qb Runtime v1.0.0, where the names of SDK qb components were unified. Because packages, headers, and module names changed, legacy packages are no longer maintained.

Installation#

I. Update the APT Package Index#

Before installing any packages, update the APT package index:

sudo apt update

II. Install the Runtime Library#

The runtime library package name changed from mobilint-npu-runtime to mobilint-qb-runtime.

# C++ library
sudo apt install mobilint-qb-runtime

# Python package
pip install mobilint-qb-runtime

III. Install the Driver#

Driver package names also changed under the new naming policy, from aries-driver to mobilint-aries-driver.

sudo apt install mobilint-aries-driver

C++ Library Changes#

  • Compilation / linking flags updated

    # Previous build
    g++ -o example example.cpp -lmaccel
    
    # Updated build
    g++ -o example example.cpp -lqbruntime
    
  • Header path updated

    // Previous header
    # include "maccel/maccel.h"
    
    // Updated header
    # include "qbruntime/qbruntime.h"
    

Python Package Changes#

  • Module name updated

    # Previous module
    import maccel
    
    # Updated module
    import qbruntime