KeyError: 'hunyuan_v1_dense'

#4
by hhy150 - opened

[rank4]: Traceback (most recent call last):
[rank4]: File "/usr/local/lib/python3.10/site-packages/transformers/models/auto/configuration_auto.py", line 951, in from_pretrained
[rank4]: config_class = CONFIG_MAPPING[config_dict["model_type"]]
[rank4]: File "/usr/local/lib/python3.10/site-packages/transformers/models/auto/configuration_auto.py", line 653, in getitem
[rank4]: raise KeyError(key)
[rank4]: KeyError: 'hunyuan_v1_dense'

[rank4]: During handling of the above exception, another exception occurred:

[rank4]: model = AutoModelForCausalLM.from_pretrained(
[rank4]: File "/usr/local/lib/python3.10/site-packages/transformers/models/auto/auto_factory.py", line 523, in from_pretrained
[rank4]: config, kwargs = AutoConfig.from_pretrained(
[rank4]: File "/usr/local/lib/python3.10/site-packages/transformers/models/auto/configuration_auto.py", line 953, in from_pretrained
[rank4]: raise ValueError(
[rank4]: ValueError: The checkpoint you are trying to load has model type hunyuan_v1_dense but Transformers does not recognize this architecture. This could be because of an issue with the checkpoint, or because your version of Transformers is out of date.

Sign up or log in to comment