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

Class ModelPlus

convert-dense.py:532–536  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

530
531@dataclass
532class ModelPlus:
533 model: LazyModel
534 paths: list[Path] # Where this was read from.
535 format: Literal['ggml', 'torch', 'safetensors', 'none']
536 vocab: Vocab | None # For GGML models (which have vocab built in), the vocab.
537
538
539def 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