Files
Eutectico-ComfyUI-MOSS-TTS/lib
Federico Volovnik-Jose bc06db37f5 fix(loader): delegate missing model_config attrs to language_config
MossTTSDelayConfig only propagates hidden_size and vocab_size from its inner
language_config to the top-level config. Many decoder attrs that transformers'
generation/cache machinery requires (num_hidden_layers, num_attention_heads,
head_dim, rope_*, etc.) only exist on language_config and aren't surfaced.

Install a __getattr__ fallback on the config class so any otherwise-missing
attribute is fetched from language_config. Combined with the existing
token_id backfill (which has to overwrite explicit Nones, not missing
attrs), this lets transformers' internals find what they need without us
hand-listing every attribute they might touch.
2026-04-27 09:34:17 +02:00
..
2026-04-25 11:13:38 +02:00