Skip to main content

sentis-model-converter

星标14
分支0
更新时间2026年7月17日 13:04

Convert ANY model (PyTorch / HF transformers / prebuilt ONNX) into ONNX that Unity Sentis 2.6 actually imports AND runs correctly. Owns the whole conversion layer: choosing the right tool (torch.onnx.export vs optimum-cli vs Olive vs onnx-graphsurgeon), structural rewrites (KV-cache as plain I/O, unmerged seq2seq decoders, hoisting RNN state to tensors, splitting pre/post-processing into their own graphs), graph surgery on unsupported or attribute-dropping ops, weight inlining, f16 downcast for the 2 GB cap, and the ORT-parity verification ladder. Use whenever the task mentions: exporting or converting a model for Sentis/Unity, ONNX export flags, KV-cache export, onnx-graphsurgeon / graph surgery / editing an ONNX graph, optimum-cli or Olive, a model that imports into Unity but outputs garbage, or unsupported-operator import errors — even if the user doesn't say "convert". (Model *selection* = sentis-model-scout; fine-tuning = sentis-training-pipeline; C# runtime = sentis-inference.)

安装

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

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