Skip to content

SOTA Open Source TTS

fix: clarify model weight loading log message (#1127)

Nazrul Islam80db25e72628
diff --git a/fish_speech/models/text2semantic/llama.py b/fish_speech/models/text2semantic/llama.py
index 865bf77..c5bcaf4 100644
--- a/fish_speech/models/text2semantic/llama.py
+++ b/fish_speech/models/text2semantic/llama.py
@@ -491,7 +491,7 @@ class BaseTransformer(nn.Module):
)
err = model.load_state_dict(weights, strict=False, assign=True)
- logger.info(f"Loaded weights with error: {err}")
+ logger.info(f"Model weights loaded - Status: {err}")
if lora_config is not None:
setup_lora(model, lora_config)