Skip to main content

CLI for browsing and downloading Qualcomm® AI Hub Apps.

Project description

qai-hub-apps

CLI for browsing and downloading Qualcomm® AI Hub Apps — sample apps for deploying ML models on Qualcomm® devices.

Installation

pip install qai-hub-apps

Quick Start

qai-hub-apps list                          # browse available apps
qai-hub-apps info whisper_windows_py       # inspect an app
qai-hub-apps fetch whisper_windows_py      # download source to current directory

Commands

list

List all available apps.

qai-hub-apps list
Qualcomm® AI Hub Apps  (N apps)

ID                                      Name
──────────────────────────────────────────────────────────────────────────────
whisper_windows_py                      Whisper Windows
stable_diffusion_py                     Stable Diffusion
...

info

Show details for an app.

qai-hub-apps info <app_id>
Whisper Windows
══════════════════════════════════════════════════

ID:         whisper_windows_py
Type:       windows
Runtime:    onnx
Domain:     Audio
Use Case:   Speech Recognition
Precisions: float
Models:     whisper_base

Speech to text on Windows

Run Whisper on-device using ONNX.

Repo:  https://github.com/qualcomm/ai-hub-apps/tree/main/apps/whisper_windows_py

fetch

Download and extract an app's source to a local directory.

# Download app source only
qai-hub-apps fetch <app_id>

# Download app source + model for a specific chipset
qai-hub-apps fetch <app_id> --model <model_id> --chipset <chipset>
Flag Description
--output-dir PATH Output directory (default: current directory)
--model MODEL_ID Also download a model supported by the app
--chipset CHIPSET Target chipset for the model download

Example — fetch app with model:

qai-hub-apps fetch stable_diffusion_windows_py --model stable_diffusion_v2_1 --chipset qualcomm-snapdragon-x-elite

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

qai_hub_apps-0.28.0-py3-none-any.whl (33.8 kB view details)

Uploaded Python 3

File details

Details for the file qai_hub_apps-0.28.0-py3-none-any.whl.

File metadata

  • Download URL: qai_hub_apps-0.28.0-py3-none-any.whl
  • Upload date:
  • Size: 33.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.17

File hashes

Hashes for qai_hub_apps-0.28.0-py3-none-any.whl
Algorithm Hash digest
SHA256 601e9cbc141af383310a9f189eb846a420766bc454232f57c8ab77c031e66947
MD5 f488989edb60c345d89b38c4051b5b87
BLAKE2b-256 7ae82858ee0d25daa48ac14534aa8e9344e9de35fb0160263917187469cf6de3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page