MCPcopy Create free account
hub / github.com/Tiiny-AI/PowerInfer / ModelPlus

Class ModelPlus

convert.py:561–565  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

559
560@dataclass
561class ModelPlus:
562 model: LazyModel
563 paths: list[Path] # Where this was read from.
564 format: Literal['ggml', 'torch', 'safetensors', 'none']
565 vocab: Vocab | None # For GGML models (which have vocab built in), the vocab.
566
567
568def merge_sharded(models: list[LazyModel]) -> LazyModel:

Callers 4

merge_multifile_modelsFunction · 0.70
lazy_load_torch_fileFunction · 0.70
mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected