Class OnnxModelFile
One file a model needs on disk.
public sealed record OnnxModelFile : IEquatable<OnnxModelFile>
- Inheritance
-
OnnxModelFile
- Implements
- Inherited Members
Constructors
- OnnxModelFile(string, OnnxModelFileRole, long, string)
One file a model needs on disk.
Properties
- RelativePath
The path under the model directory, always with forward slashes: it is the same string the Hugging Face URL carries.
- Role
What the file is for.
- Sha256
Lowercase hex. On Hugging Face that is the git-LFS
oid- never thexetHashthose Xet-backed repos also return.
- SizeBytes
The exact size, used by the fast path and by the free-disk check.