{"id":49204589,"url":"https://github.com/qualcomm/snapdragon-compute-samples","last_synced_at":"2026-04-23T17:04:41.997Z","repository":{"id":343507829,"uuid":"967691521","full_name":"qualcomm/snapdragon-compute-samples","owner":"qualcomm","description":null,"archived":false,"fork":false,"pushed_at":"2026-02-11T17:27:06.000Z","size":2573,"stargazers_count":2,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-10T22:11:58.067Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/qualcomm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE-OF-CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-04-16T21:08:47.000Z","updated_at":"2025-09-29T00:30:04.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/qualcomm/snapdragon-compute-samples","commit_stats":null,"previous_names":["qualcomm/snapdragon-compute-samples"],"tags_count":null,"template":false,"template_full_name":"qualcomm/qualcomm-repository-template","purl":"pkg:github/qualcomm/snapdragon-compute-samples","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qualcomm%2Fsnapdragon-compute-samples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qualcomm%2Fsnapdragon-compute-samples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qualcomm%2Fsnapdragon-compute-samples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qualcomm%2Fsnapdragon-compute-samples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qualcomm","download_url":"https://codeload.github.com/qualcomm/snapdragon-compute-samples/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qualcomm%2Fsnapdragon-compute-samples/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32189670,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-23T15:28:30.493Z","status":"ssl_error","status_checked_at":"2026-04-23T15:28:29.972Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-04-23T17:04:41.940Z","updated_at":"2026-04-23T17:04:41.992Z","avatar_url":"https://github.com/qualcomm.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Snapdragon Compute Sample Apps\nThis repository contains sample apps for running ONNX models efficiently using [ONNX Runtime](https://onnxruntime.ai/), specifically targeting Qualcomm Hexagon NPU with [QNN Execution Provider](https://onnxruntime.ai/docs/execution-providers/QNN-ExecutionProvider.html)\n## Table of Contents\n1. [Available Apps](#available-apps)\n2. [Project Status](#project-status)\n3. [Getting Started](#getting-started)\n4. [Quick Start](#quick-start)\n5. [Contributing](#contributing)\n6. [Directory Structure](#directory-structure)\n7. [License](#license)\n\n## Available Apps\n| App Name               | Model Used | Providers | Quick Start                                                                          | Notebook                                                                                          | Notes |\n|------------------------|------------|-----------|--------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------|-------|\n| 'HRNet Pose Detection' | HRNetPose  | CPU       |[Complete](https://github.com/DerrickJ1612/qnn_sample_apps/tree/main/src/hrnet_pose)  |[Complete](https://github.com/DerrickJ1612/qnn_sample_apps/tree/main/notebooks/pose_detection)     | None  |\n| 'DeepSeek Local'       | DeepSeek   | QNN       |[Complete](https://github.com/DerrickJ1612/qnn_sample_apps/tree/main/src/deepseek_r1) |[Complete](https://github.com/DerrickJ1612/qnn_sample_apps/tree/main/notebooks/reasoning_llm)      | None  |\n| 'Prompt Pong'       | Qwen2.5 Coder   | CPU       | [Complete](./src/pong/) | ❌      | An example using Ollama. Compatible with other LLM models  |\n\nThese apps demonstrate end-to-end inference using ONNX Runtime on devices with Hexagon NPUs. Each app includes:\n- Input preprocessing\n- Onnx model inference\n- Output postprocessing\n  \nSupported features:\n- CPU fallback (if you don't have access to Hexagon NPU)\n- Hexagon QNN Execution\n\n## Getting Started\n#### General Requirements\n- Python (version 3.11.+)\n   - If targeting Hexagon ensure you install ARM64 compatible Python version\n- C and C++ support in Visual Studio\n   - [Installation Instructions](https://learn.microsoft.com/en-us/cpp/build/vscpp-step-0-installation?view=msvc-170)\n- Rust Support\n   - [Installation Instructions](https://rustup.rs/)\n#### 1. Clone the Repository\n```\n\u003e\u003e git clone https://github.com/qualcomm/snapdragon-compute-samples.git\n```\n#### 2. Setup Virtual Environment\n```\n\u003e\u003e python -m venv venv\n\u003e\u003e venv\\Scripts\\activate.ps1 # Linux: \u003e\u003e source venv/bin/activate\n\u003e\u003e pip install -r \\src\\\u003cApp Name\u003e\\requirements.txt # Ex: pip install -r \\src\\deepseek_r1\\requirements.txt\n```\n#### 3. Download Models\n| Model Name  | Description              | Download Source                                                                                               |\n|-------------|--------------------------|---------------------------------------------------------------------------------------------------------------|\n| HRNetPose   | Human pose estimation    | [AI Hub](https://aihub.qualcomm.com/compute/models/hrnet_pose?domain=Computer+Vision\u0026useCase=Pose+Estimation) |\n| DeepSeek R1 | Reasoning Language Model | [s3 Bucket](tbd)                                                                                              | \n\n#### 4. Run models.py\nmodels.py will automatically place models in appropriate destination\n```\n\u003e\u003e python models.py --model_directory (absolute path to directory where models were downloaded)\n```\n\n## Quick Start\n\n| App Name               | CLI Command                                 |\n|------------------------|---------------------------------------------|\n| 'HRNet Pose Detection' | ` \u003e\u003e python ./src/hrnet_pose/main.py `      |\n| 'DeepSeek Local'       | ` \u003e\u003e python ./src/deepseek_r1/main.py `     |\n\n## Contributing\nWe welcome contributions to this repository! Please refer to our [contributing guide](CONTRIBUTING.md) for how to contribute.\n\n## Directory Structure\n## License\nThis project is licensed under the [MIT](https://github.com/DerrickJ1612/qnn_sample_apps/blob/main/LICENSE.txt)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqualcomm%2Fsnapdragon-compute-samples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqualcomm%2Fsnapdragon-compute-samples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqualcomm%2Fsnapdragon-compute-samples/lists"}