HubSnapshot
classin packageklyn.llm.inference.hub
public class HubSnapshot
HubSnapshot

A complete local model snapshot pinned to an immutable Hugging Face commit. Contains paths and metadata, never weight buffers or downloaded Python code.

Example

snapshot = HubClient.download("Qwen/Qwen3.5-9B"); print(snapshot.path)

Properties
Modifier and Type Member Description
public readonly property files Retained model/configuration/tokenizer filenames.
public readonly property path
path as FolderPath
Complete local checkpoint directory.
public readonly property repository
repository as String
Hub repository identifier.
public readonly property revision
revision as String
Resolved immutable Git commit, not a moving branch name.
public readonly property totalBytes
totalBytes as ULong
Total bytes of the downloaded assets.
Constructors
Modifier and Type Member Description
public HubSnapshot
HubSnapshot(path as FolderPath, repository as String, revision as String, files as IList<String>, totalBytes as ULong)
Captures validated snapshot metadata and an immutable filename list.