You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to convert MPT checkpoint from Composer to HF with convert_composer_to_hf.py, it breaks with:
Traceback (most recent call last):
File "/mypath/llm-foundry/scripts/inference/convert_composer_to_hf.py", line 344, in<module>convert_composer_to_hf(parse_args())
File "/mypath/llm-foundry/scripts/inference/convert_composer_to_hf.py", line 232, in convert_composer_to_hf
AutoConfig.register('mpt', MPTConfig)
File "/mypath/miniconda3/envs/sml/lib/python3.10/site-packages/transformers/models/auto/configuration_auto.py", line 1049, in register
CONFIG_MAPPING.register(model_type, config)
File "/nfs/scistore14/alistgrp/ekurtic/miniconda3/envs/sml/lib/python3.10/site-packages/transformers/models/auto/configuration_auto.py", line 753, in register
raise ValueError(f"'{key}' is already used by a Transformers config, pick another name.")
ValueError: 'mpt' is already used by a Transformers config, pick another name.
The text was updated successfully, but these errors were encountered:
When trying to convert MPT checkpoint from Composer to HF with
convert_composer_to_hf.py
, it breaks with:The text was updated successfully, but these errors were encountered: