Class OnnxModelManifest
Everything needed to put one model on disk and prove it is the right one.
public sealed record OnnxModelManifest : IEquatable<OnnxModelManifest>
- Inheritance
-
OnnxModelManifest
- Implements
- Inherited Members
Properties
- Files
A LIST, not one entry: some ONNX mirrors split weights into external data (a 56 KB
model.onnxbeside a 90 MBmodel.onnx_data) and the sidecar must land next to the graph under its exact filename. No shipped preset does, but the type must allow it.
- GraphFile
The RelativePath of the entry ORT is handed.
- HuggingFaceRepo
The
owner/namerepo, when the model comes from the Hub.
- HuggingFaceRevision
A full commit SHA. Never
"main": a moving revision silently changes the vectors, and vectors written by two revisions of one model are not comparable.
- ModelId
The id a consumer passes to
IOnnxSessionHost.AcquireAsync.
- SpdxLicense
The SPDX identifier of the model's licence, for an about screen.
- TotalSizeBytes
The sum of every file's size. What the memory pre-flight budgets against.