MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / install_snapshot_into_dir

Function install_snapshot_into_dir

tools/model_manager.py:1123–1137  ·  view source on GitHub ↗
(
    source: SnapshotSource,
    destination_root: Path,
    required_files: Iterable[str],
    *,
    validate: bool = True,
)

Source from the content-addressed store, hash-verified

1121 "feat1.safetensors",
1122 "feat2.safetensors",
1123 "wav2vec2bert_stats.safetensors",
1124 "semantic_codec_model.safetensors",
1125 "campplus.safetensors",
1126 "w2v-bert-2.0/config.json",
1127 "w2v-bert-2.0/preprocessor_config.json",
1128 "w2v-bert-2.0/model.safetensors",
1129 "bigvgan/config.json",
1130 "bigvgan/model.safetensors",
1131 "qwen0.6bemo4-merge/config.json",
1132 "qwen0.6bemo4-merge/generation_config.json",
1133 "qwen0.6bemo4-merge/tokenizer.json",
1134 "qwen0.6bemo4-merge/tokenizer_config.json",
1135 "qwen0.6bemo4-merge/vocab.json",
1136 "qwen0.6bemo4-merge/merges.txt",
1137 "qwen0.6bemo4-merge/model.safetensors",
1138 ),
1139 description="Framework-ready IndexTTS2 safetensors layout with shared components at the model root.",
1140 ),

Callers 2

install_snapshotFunction · 0.85

Calls 5

list_hf_filesFunction · 0.85
printFunction · 0.85
download_fileFunction · 0.85
hf_resolve_urlFunction · 0.85

Tested by

no test coverage detected