Skip to main content

sentis-profiling

Stars14
Forks0
UpdatedJuly 17, 2026 at 13:04

Measure and diagnose Unity Sentis 2.6 (com.unity.ai.inference) inference performance. PRIMARY path = an agent-drivable code warm-bench (editor Unity_RunCommand) plus the Unity_Profiler_* MCP tools — these yield NUMBERS; the AI Assistant integration (6.4+) is a secondary, human-driven qualitative aid. Use whenever the task is: getting warm/cold latency numbers for a Sentis model, A/B-ing quantization or backends, finding the real bottleneck (compute vs readback vs KV round-trip), explaining a frame spike / stall / GC, detecting CPU-fallback layers, checking FPS budget, or deciding whether async readback / ScheduleIterable is defending FPS. Trigger even for vague asks like "why is my game slow when the model runs", or measuring/validating on a REAL build target (Android via adb, macOS standalone) — the editor only proxies a desktop ship, not a phone. Owns this project's measurement log (reference/measurements.md). Pairs with sentis-inference (the optimization levers the diagnosis points to).

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

File Explorer
2 files
SKILL.md
readonly