datavorous/lensrt — explained in plain English
Analysis updated 2026-07-17 · repo last pushed 2026-05-18
Check which layers of a model will run on the neural accelerator versus the CPU.
Find unsupported operations blocking a model from running efficiently on Snapdragon.
Diagnose quantization mismatches or data type incompatibilities before deployment.
Run a quick static check on a model file before attempting full compilation.
| datavorous/lensrt | adeliox/klein-head-swap | ats4321/ragit | |
|---|---|---|---|
| Stars | 4 | 4 | 4 |
| Language | Python | Python | Python |
| Last pushed | 2026-05-18 | — | — |
| Maintenance | Maintained | — | — |
| Setup difficulty | hard | moderate | moderate |
| Complexity | 4/5 | 3/5 | 2/5 |
| Audience | developer | designer | developer |
Figures from each repo's GitHub metadata at analysis time.
Runtime mode needs building LiteRT from source and a Qualcomm AI Runtime SDK account.
LensRT is a diagnostic tool that helps you understand why machine learning models run slowly or fail to run efficiently on Qualcomm mobile processors. When you want to use a model on a Snapdragon phone or chip, the system tries to offload computation to specialized hardware (like a neural processor) to make it faster. This tool tells you exactly which parts of your model can be offloaded, which parts can't, and why. The tool works in two modes. The static mode analyzes your model file without running anything, it just reads the code and checks for common problems like unsupported operations or incompatible tensor shapes. The runtime mode goes deeper: it actually tries to compile your model using Qualcomm's tools and reports back what succeeded, what failed, and which original operations got grouped together into optimized blocks. Think of static mode as a checklist before you try something, and runtime mode as the real test drive. You'd use this if you're deploying AI models to Qualcomm-powered Android phones or embedded devices and want to squeeze out maximum performance. A concrete example: you built a language model and want it to run on Galaxy phones powered by Snapdragon processors. LensRT tells you which layers will run on the neural accelerator versus the CPU, which operations Qualcomm's SDK doesn't support yet, and sometimes even hints at whether it's a known issue or something in how the model was exported. The README includes a table of common problems like quantization mismatches or data type incompatibilities that block delegation. The tradeoff here is setup complexity. Running the full runtime diagnostics requires building Google's LiteRT framework from source (15, 30 minutes) and downloading Qualcomm's AI Runtime SDK, which needs a Qualcomm account. If you only need the quick static analysis, installation is simple. The tool is relatively new and niche, it's aimed at engineers specifically optimizing for Qualcomm hardware, not general deep learning work.
A diagnostic tool that shows why ML models run slowly or fail on Qualcomm mobile chips, telling you which parts can offload to the neural accelerator.
Mainly Python. The stack also includes Python.
Maintained — commit in last 6 months (last push 2026-05-18).
Setup difficulty is rated hard, with roughly 1h+ to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Don't trust strangers blindly. Verify against the repo.