Git Product home page Git Product logo

software-kit-for-qualcomm-cloud-ai-100's Introduction

QAic Runtime

QAic Runtime provides the infrastructure to run Machine Learning Workloads on Qualcomm Cloud AI 100/AIC100 accelerator.
The user can generate an executable binary of the trained model using QAic Compute compiler and run inference on the Qualcomm Cloud AI 100.
The QAic Runtime provides necessary interfaces to allow the user

  • to identify, query and configure the QAIC 100 Hardware connected to the Host
  • to write a performant efficient multithreaded user applications.

The repo also bundles example application to demonstrate the usage and capabilities offered by interface.

Getting Started


Supported Platforms

QAic Runtime is verified with below listed platform versions.
Arch: x86 Ubuntu: Centos:

Prerequisites

Build Dependencies - CMake 3.24 or higher Follow the instructions in cmake for installation

Executable binary for QAic 100 Card - To generate a executable ML workload runnnable on QAic 100, please follow the instructions at qualcomm-cloud-ai-100-cc

Building and Testing

Build To build the QAic Runtime, cd to the root directory (where the workspace is cloned) and run the below steps.

   aic-runtime$ ./bootstrap.sh
   aic-runtime$ cd build
   aic-runtime$ ../scripts/build.sh

build.sh usage

      Usage: build.sh -b [ Release | Debug ] 
     -b to specify the build type 

Run the sample applications.

Utils directory The utils directory contains example applications and source code to demonstrate how to build a QAic Runner Application to interact with QAic 100.
The below specified directories have further details on how the tools work and how they can be used.

Sample Command:

     aic-runtime/build$ ./utils/qaic-util/qaic-util -q
     aic-runtime/build$ ./utils/qaic-util/qaic-runner -d 0 -t <path_to_executable>

Repo Structure


This tree demonstrates the layout of open-runtime repo.

├── inc
│   └── qaic-openrt-api-hpp <The public interface headers of QAic-runtime>
├── lib                     <Internal library components of QAic-runtime>
├── README.md
├── scripts
│   ├── build.sh
│   └── format.sh
├── test                     <gtest based UnitTest binaries>
│   └── qaic-openrt-api-test
├── thirdparty-modules
└── utils                     <Example Application and Tools>
    ├── qaic-device-partition  < Example Application to create partition devices on a physical device >
    ├── qaic-runner            < Example Inference Application >
    └── qaic-util              < Device query tool >

License

QAic Runtime is licensed under the terms in the LICENSE file.

software-kit-for-qualcomm-cloud-ai-100's People

Contributors

arjunsuresh avatar quic-jhugo avatar

Watchers

 avatar

Forkers

gateoverflow

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.