com.sky.onnxruntime
Unity package bundling ONNX Runtime, ONNX Runtime GenAI, and ONNX Runtime Extensions.
- ONNX Runtime:
1.27.0 - ONNX Runtime GenAI:
0.14.0 - ONNX Runtime Extensions:
0.15.2-dev-20251214-1129-7387a4eb
Note: ONNX Runtime Extensions is currently bundled from a development snapshot rather than a stable release tag.
Install
Method 1. Add the package from Git in Unity Package Manager:
https://huggingface.co/Sky-Kim/com.sky.onnxruntime.git
Method 2. Add it directly in manifest.json:
{
"dependencies": {
"com.sky.onnxruntime": "https://huggingface.co/Sky-Kim/com.sky.onnxruntime.git"
}
}
Samples
The package ships importable samples. In the Unity Package Manager, select this package, open the Samples tab, and click Import next to any of:
- Basic Inference โ runs a tiny embedded ONNX model end-to-end to confirm the runtime works. No external assets required.
- GenAI Text Generation โ text generation with ONNX Runtime GenAI. Requires a local GenAI model folder (set its path in the Inspector).
- Extensions (Preprocessing) โ runs an ONNX Runtime Extensions custom op via
SessionOptions.RegisterOrtExtensions(). No external assets required.
Each imported sample includes a README.md with step-by-step instructions.
License
This package is distributed as an MIT-licensed Unity wrapper and bundle around upstream ONNX Runtime components.
- ONNX Runtime: MIT
- ONNX Runtime GenAI: MIT
- ONNX Runtime Extensions: MIT
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐ Ask for provider support