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.29.0-py3-none-any.whl (33.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: qai_hub_apps-0.29.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.20

File hashes

Hashes for qai_hub_apps-0.29.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e584c9c3d739c0267591ad0c3535f3f6e6c6aaa9b8f371787baf6bce94c67964
MD5 8f4fecba0ce238f671d4419f4db8b1c7
BLAKE2b-256 c42bd56aae951f01f20a474e908e064bc9e0aeb9fc2cdda6517da206d7e42fb1

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