Welcome to the Qualcomm AI Hub Models Blueprint App! This project enables AI model execution from Qualcomm's AI Hub Models on Linux-based edge devices using Particle's IoT platform.
With this blueprint, you can:
- Deploy and run AI models dynamically from the AI Hub.
- Use Docker to containerize execution, making it easy to manage and update.
- Leverage Particle's IoT platform for remote deployment and model selection.
This serves as an entry point for running AI workloads at the edge using Tachyon and other supported Linux devices.
The repository is structured as follows:
/ai-hub
│── /ai-hub-models/ # The AI Hub Models repository (submodule)
│ ├── qai_hub_models/ # Core AI Hub framework
│ ├── configs/ # AI model configuration files
│ ├── datasets/ # Dataset handling for AI training/inference
│ ├── models/ # Model definitions and implementations
│ ├── scripts/ # Utility scripts for setup and execution
│ ├── Dockerfile # Docker container setup
│ ├── README.md # AI Hub-specific documentation
│── docker-compose.yaml # Docker Compose setup
│── output/ # Stores inference results
│── images/ # Example images for model testing
│── blueprint.yaml # Particle Blueprint definition
│── README.md # This document
The AI Hub Models are pulled in as a Git submodule within this repository. This allows easy updates and synchronization with the latest developments from Qualcomm's AI Hub.
To ensure you have the latest submodule contents, run:
git submodule update --init --recursive
This blueprint allows you to execute AI models using Docker containers on Particle-supported edge devices.
Ensure your Tachyon or Raspberry Pi device is:
- Running a compatible Linux distribution.
- Connected to the Particle IoT platform.
Since this repo includes a submodule, use:
git clone --recurse-submodules https://github.com/particle-iot/blueprint-ai-hub-models.git
cd blueprint-ai-hub-models
If you've already cloned the repository but forgot the submodule, run:
git submodule update --init --recursive
Use Docker Compose to build and run the container:
docker-compose up --build
To run a specific model:
particle app run
For details on available models, refer to the original AI Hub Models.
We welcome contributions! If you have improvements or fixes, please open a pull request in the AI Hub Models GitHub Repository.
This blueprint supports:
- Tachyon (Particle Linux Edge Device)
- Raspberry Pi
- Other Linux-based edge computing platforms