Use canonical T5 repository for Xet downloads

This commit is contained in:
Ethanfel
2026-09-06 22:08:44 +02:00
parent 9ca7d45794
commit dca2f22766
3 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
[project]
name = "comfyui-meta-sam-audio"
version = "0.3.0"
version = "0.3.1"
description = "Native ComfyUI nodes for local Meta SAM-Audio sound separation"
readme = "README.md"
requires-python = ">=3.11"
+1 -1
View File
@@ -94,7 +94,7 @@ MIRROR_MODELS = {
# snapshots once, then pass local paths upstream to prevent repeated Hub checks.
SUPPORT_MODELS = {
"t5-base": SupportModelSpec(
"t5-base",
"google-t5/t5-base",
"a9723ea7f1b39c1eae772870f3b547bf6ef7e6c1",
("config.json", "model.safetensors", "spiece.model", "tokenizer.json"),
),
+2 -1
View File
@@ -248,9 +248,10 @@ def test_model_kwargs_resolve_t5_but_defer_span_predictor(tmp_path, monkeypatch)
kwargs = runtime._sam_audio_model_kwargs(tmp_path)
assert kwargs["text_encoder"] == {
"name": "/cache/t5-base",
"name": "/cache/google-t5--t5-base",
"dim": 768,
}
assert runtime.SUPPORT_MODELS["t5-base"].repo_id == "google-t5/t5-base"
assert kwargs["span_predictor"] is None
assert runtime._configured_span_predictor(tmp_path) == "pe-a-frame-large"
assert kwargs["text_ranker"] is None