Skip to main content

sentis-profiling

Estrellas14
Forks0
Actualizado17 de julio de 2026 a las 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).

Instalación

Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.

Explorador de archivos
2 archivos
SKILL.md
readonly