Skip to main content

sentis-model-converter

Stars14
Forks0
UpdatedJuly 17, 2026 at 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.)

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
10 files
SKILL.md
readonly