Benchmark on Ddp

Measure a LiteRT .tflite model with `benchmark_model` on Developer Device Platform (DDP) lab phones through `litert benchmark --ddp`, or on the Mac you run it from, and turn the session into rows of the performance leaderboard under benchmark/leaderboard - one matrix entry per model, one session per accelerator, collect results.pb and runtime_info.pb, rebuild board.json, check the page, commit the data. Use when a model needs latency and memory numbers per platform, device and accelerator, or when a new benchmark_model release means re-measuring the board.

499 stars 134 forksAI, LLMs & Agents

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add google-ai-edge/litert-samples --skill benchmark-on-ddp
Manual install
git clone --depth 1 https://github.com/google-ai-edge/litert-samples.git /tmp/litert-samples
mkdir -p ~/.claude/skills
cp -r /tmp/litert-samples/skills/benchmark-on-ddp ~/.claude/skills/benchmark-on-ddp

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Benchmark on DDP

A board row is done when three things hold:

1. it comes from the `results.pb` of one benchmark job, with the delegate and the nodes it replaced (`N/M`) from that job's `runtime_info.pb`, or from the log's `Replacing N out of M` line where a session has no such file,
2. it names the model file, the platform, the device id, the accelerator and the `benchmark_model` release,
3. `data/board.json` was rebuilt from `data/measurements.jsonl` and the page shows it.

A number without those is not a row. This skill covers `.tflite` models on [LiteRT](https://github.com/google-ai-edge/litert); a [LiteRT-LM](https://github.com/google-ai-edge/LiteRT-LM)
bundle is one `litert benchmark <bundle>.litertlm --ddp` session per backend, collected by `collect_lm.py` (the board README, step 5). Every DDP session consumes device time billed to the Google Cloud project; the dry run prints every command it would run, so read it first. A run on the Mac you are on bills nothing.

## Before you start

- `python3` with PyYAML, and `protoc` on PATH (`brew install protobuf`, or `apt install protobuf-compiler`).
- For new DDP sessions: `gcloud auth application-default login`, a project with the Device Run API enabled (`run_matrix.py --gcp-project` or `LITERT_GCP_PROJECT`),
Read the full skill on GitHub

Details

Skill name
benchmark-on-ddp
Path
skills/benchmark-on-ddp/SKILL.md
License
Apache-2.0
Repo updated
17 November 2026

FAQ

What does the Benchmark on Ddp skill do?

Measure a LiteRT .tflite model with `benchmark_model` on Developer Device Platform (DDP) lab phones through `litert benchmark --ddp`, or on the Mac you run it from, and turn the session into rows of the performance leaderboard under benchmark/leaderboard - one matrix entry per model, one session per accelerator, collect results.pb and runtime_info.pb, rebuild board.json, check the page, commit the data. Use when a model needs latency and memory numbers per platform, device and accelerator, or when a new benchmark_model release means re-measuring the board.

How do I install the Benchmark on Ddp skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add google-ai-edge/litert-samples --skill benchmark-on-ddp. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Benchmark on Ddp popular?

It lives in google-ai-edge/litert-samples, which has 499 GitHub stars and 134 forks.

Related skills

Litert Lm

499

google-ai-edge/litert-samples

Builds an Android app that runs an open text LLM on the device, on the CPU or the GPU, with the LiteRT-LM Kotlin API (com.google.ai.edge.litertlm:litertlm-android). Use this skill when creating a chat, summarization, or extraction feature with a .litertlm model from Hugging Face litert-community (Gemma, Qwen, Llama, Phi), including the Gradle dependency, the GPU manifest entries, getting the model file onto the device, Engine initialization off the main thread, a streamed multi-turn Conversation with sendMessageAsync, and the AndroidViewModel and Compose screen. Don't use for running .tflite v

Mobile Development134

Litert Runtime

499

google-ai-edge/litert-samples

Configures and implements LiteRT (.tflite) on-device inference on Android in Kotlin using the CompiledModel API on CPU and GPU. Use this skill for any Android LiteRT or .tflite task, including Gradle setup, image classification or vision/audio/embedding helpers, TensorBuffer reuse, CPU memory optimization, Bitmap preprocessing, AndroidViewModel GPU-to-CPU fallback with warm-up on a single-thread dispatcher, LiteRT in Google Play services (play-services-litert), migrating from legacy org.tensorflow.lite.Interpreter, GpuDelegate, or play-services-tflite, and latency benchmarking. Don't use for r

Mobile Development134

Accuracy Safe Quantization

499

google-ai-edge/litert-samples

Shrink a converted LiteRT model with ai-edge-quantizer (fp16 / int8 / int4) without losing accuracy, verifying parity against the float source after every step. Use when choosing a quantization recipe for a new model, when a quantized model fails to load, degrades on a task benchmark, or degenerates over long generations, or when deciding between dynamic-range, weight-only, and blockwise variants.

AI, LLMs & Agents134

Compiled Model App Scaffolding

499

google-ai-edge/litert-samples

Build a new Android app (Kotlin, Compose) around a verified LiteRT model using the CompiledModel API - the app architecture, the inference-layer lifecycle rules, model delivery, and the UI traps that masquerade as model bugs. Use when turning a converted and device-verified model into a demo or product app, when an app's inference layer leaks memory or blocks the UI, or when a model that verified clean looks wrong inside an app.

AI, LLMs & Agents134

GPU Clean Conversion

499

google-ai-edge/litert-samples

Convert a PyTorch or Hugging Face model into a LiteRT model that runs fully on the GPU via the CompiledModel API with verified-correct output, and lay it out as a model recipe. Use when converting a new model, or when a converted model is rejected by the GPU, falls back to CPU, or returns wrong numbers on device.

AI, LLMs & Agents134

AI Discoverability Audit

457

BrianRWagner/ai-marketing-claude-code-skills

Use when a founder, marketer, or consultant wants to audit how visible their brand is to AI search (ChatGPT, Perplexity, Claude, Gemini). Also use when mentioned: 'AI SEO', 'GEO', 'ChatGPT can't find me', 'AI search visibility', 'how do I show up in AI answers'. NOT for: traditional Google SEO, ad strategy, or content writing.

AI, LLMs & AgentsIn 1 list105

Browse the most popular Claude skills, all ai, llms & agents skills, or write your own with the skills generator.