mirror of
https://github.com/jamiepine/voicebox.git
synced 2026-10-03 17:15:19 -07:00
docs(offline-guard): state exactly which cache checks were extended
This commit is contained in:
@@ -29,9 +29,10 @@ logger = logging.getLogger(__name__)
|
||||
|
||||
CHATTERBOX_HF_REPO = "ResembleAI/chatterbox"
|
||||
|
||||
# Every file ChatterboxMultilingualTTS.from_pretrained() downloads (chatterbox-tts
|
||||
# 0.1.7, mtl_tts.py allow_patterns). The load runs with HF offline mode forced
|
||||
# when this reports cached, so a partial snapshot must not count as cached.
|
||||
# The files ChatterboxMultilingualTTS.from_pretrained() downloads, as of
|
||||
# chatterbox-tts 0.1.7 (mtl_tts.py allow_patterns). The load runs with HF
|
||||
# offline mode forced when this reports cached, so a partial snapshot must not
|
||||
# count as cached -- if upstream adds a file to that list, add it here too.
|
||||
_MTL_WEIGHT_FILES = [
|
||||
"t3_mtl23ls_v2.safetensors",
|
||||
"s3gen.pt",
|
||||
|
||||
@@ -29,10 +29,11 @@ logger = logging.getLogger(__name__)
|
||||
|
||||
CHATTERBOX_TURBO_HF_REPO = "ResembleAI/chatterbox-turbo"
|
||||
|
||||
# Every file ChatterboxTurboTTS.from_local() reads (chatterbox-tts 0.1.7): the
|
||||
# three weight files, the GPT-2 tokenizer files AutoTokenizer needs, and the
|
||||
# built-in voice. The load runs with HF offline mode forced when this reports
|
||||
# cached, so a partial snapshot must not count as cached.
|
||||
# The files ChatterboxTurboTTS.from_local() reads, as of chatterbox-tts 0.1.7:
|
||||
# the three weight files, the GPT-2 tokenizer files AutoTokenizer needs, and
|
||||
# the built-in voice. The load runs with HF offline mode forced when this
|
||||
# reports cached, so a partial snapshot must not count as cached -- if upstream
|
||||
# starts reading another file, add it here too.
|
||||
_TURBO_WEIGHT_FILES = [
|
||||
"t3_turbo_v1.safetensors",
|
||||
"s3gen_meanflow.safetensors",
|
||||
|
||||
Reference in New Issue
Block a user