Skip to main content

sentis-profiling

星标14
分支0
更新时间2026年7月17日 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).

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

文件资源管理器
2 个文件
SKILL.md
readonly