View on Asset Store (opens in new tab)
Package details
- Latest version
- 0.2.1
- Last updated
- First released
- Unity version
- 6000.0.68 or later
- Package size
- 9.9 MB
- Files
- 22
- Favorites
- 10
- Views in the past week
- 25
Price tracking
- Last checked
- Tracked since
- Lowest recorded
- $17.99 on
Keywords
Simple Offline LLM
Local, offline, cross-platform Large Language Model interface using Unity Inference.
Affiliate link · Purchases support this site
Price history
Last 6 months
USDAsset preview
1 / 5
Simple Offline LLM screenshot 1
About this asset
SimpleOfflineLLM is a package that will let you run a Large Language Model locally within Unity using the official Unity Inference package. It's completely offline without any networking or services required.
It does not have any platform-specific code or libraries, so can be used on any platform supported by the Inference package (Windows, Mac, WebGL and Android tested). Inference can be performed on the CPU or GPU.
LLM models can be extremely large (10GB+), so download links are provided to acquire these separately. After download, they can be quantized to reduce the size to approximately half (fp16) or one quarter (uint8). It has been tested with several popular LLMs: Phi 1.5, Phi 3.5, SmolLM2, and gpt2. It is possible to extend support to other LLMs either yourself or in future releases of the asset.
The goal was to build a relatively thin interface between Unity and freely available ONNX models, allowing you to customise your use of the LLMs. You are free to take the sample code which provides a GUI dialogue with the model, or build your own API around the LLM classes.
From the publisher's Asset Store listing.
Technical details
- High-quality and local LLM Unity Inference interface
- Cross-platform
- Offline; no networking required
- CPU or GPU-accelerated
- Confirmed compatible with Phi 1.5, Phi 3.5, SmolLM2 and gpt2
Compatibility
| Unity version | Built-in | URP | HDRP | Custom |
|---|---|---|---|---|
| 6000.0.68f1 | Compatible | Compatible | Compatible | Compatible |
As listed on the Asset Store.