applied-ai-018's picture
Add files using upload-large-folder tool
00f9d4c verified
Converting Megatron-DeepSpeed model from /data/cronscript/ckpts//universal//global_step100 weights to HuggingFace model checkpoint in /data/cronscript/ckpts//hf_ckpt//global_step100
args = Namespace(hf_dir='/data/cronscript/ckpts//hf_ckpt//global_step100', universal_dir='/data/cronscript/ckpts//universal//global_step100', hf_model=None, model_type='llama', config='tools/convert_checkpoint/mds_to_hf_llama_custom.json', save_conversion=None, strict=True)
successfuly loaded model conversion config from tools/convert_checkpoint/mds_to_hf_llama_custom.json
Using model type llama for conversion
args = Namespace(hf_dir='/data/cronscript/ckpts//hf_ckpt//global_step100', universal_dir='/data/cronscript/ckpts//universal//global_step100', hf_model=None, model_type='llama', config='tools/convert_checkpoint/mds_to_hf_llama_custom.json', save_conversion=None, strict=True)
Converting layer 1 of type word_embeddings
WARNING: unmatched shape of weight! MDS weight /data/cronscript/ckpts//universal//global_step100/zero/1.word_embeddings.weight of shape torch.Size([50688, 2048]) HF weight model.embed_tokens.weight of shape torch.Size([50688, 5120])
Converting layer 3 of type transformer
WARNING: unmatched shape of weight! MDS weight /data/cronscript/ckpts//universal//global_step100/zero/3.mlp.dense_4h_to_h.weight of shape torch.Size([2048, 4096]) HF weight model.layers.0.mlp.down_proj.weight of shape torch.Size([5120, 13824])
Converting Megatron-DeepSpeed model from /data/cronscript/ckpts//universal//global_step100 weights to HuggingFace model checkpoint in /data/cronscript/ckpts//hf_ckpt//global_step100
args = Namespace(hf_dir='/data/cronscript/ckpts//hf_ckpt//global_step100', universal_dir='/data/cronscript/ckpts//universal//global_step100', hf_model=None, model_type='llama', config='/data/cronscript/ckpts//mds_to_hf_llama_custom.json', save_conversion=None, strict=True)
Converting Megatron-DeepSpeed model from /data/cronscript/ckpts//universal//global_step100 weights to HuggingFace model checkpoint in /data/cronscript/ckpts//hf_ckpt//global_step100
args = Namespace(hf_dir='/data/cronscript/ckpts//hf_ckpt//global_step100', universal_dir='/data/cronscript/ckpts//universal//global_step100', hf_model=None, model_type='llama', config='/data/cronscript/ckpts//mds_to_hf_llama_custom.json', save_conversion=None, strict=True)
successfuly loaded model conversion config from /data/cronscript/ckpts//mds_to_hf_llama_custom.json
Using model type llama for conversion
args = Namespace(hf_dir='/data/cronscript/ckpts//hf_ckpt//global_step100', universal_dir='/data/cronscript/ckpts//universal//global_step100', hf_model=None, model_type='llama', config='/data/cronscript/ckpts//mds_to_hf_llama_custom.json', save_conversion=None, strict=True)
Converting layer 1 of type word_embeddings
Converting layer 3 of type transformer
Converting layer 4 of type transformer
Converting layer 5 of type transformer
Converting layer 6 of type transformer
Converting layer 7 of type transformer
Converting layer 8 of type transformer
Converting layer 9 of type transformer
Converting layer 10 of type transformer
Converting layer 11 of type transformer
Converting layer 12 of type transformer
Converting layer 13 of type transformer
Converting layer 14 of type transformer
Converting layer 15 of type transformer
Converting layer 16 of type transformer
Converting layer 17 of type transformer
Converting layer 18 of type transformer
Converting layer 19 of type transformer
Converting layer 20 of type transformer
Converting layer 21 of type transformer
Converting layer 22 of type transformer
Converting layer 23 of type transformer
Converting layer 24 of type transformer
Converting layer 25 of type transformer
Converting layer 26 of type transformer
Converting layer 28 of type final_layernorm
Converting layer 29 of type final_word_embeddings
Successfuly saved all converted weights
Converting Megatron-DeepSpeed model from /data/cronscript/ckpts//universal//global_step100 weights to HuggingFace model checkpoint in /data/cronscript/ckpts//hf_ckpt//global_step100
args = Namespace(hf_dir='/data/cronscript/ckpts//hf_ckpt//global_step100', universal_dir='/data/cronscript/ckpts//universal//global_step100', hf_model=None, model_type='llama', config='/data/cronscript/ckpts//mds_to_hf_llama_custom.json', save_conversion=None, strict=True)
Converting Megatron-DeepSpeed model from /data/cronscript/ckpts//universal//global_step100 weights to HuggingFace model checkpoint in /data/cronscript/ckpts//hf_ckpt//global_step100
args = Namespace(hf_dir='/data/cronscript/ckpts//hf_ckpt//global_step100', universal_dir='/data/cronscript/ckpts//universal//global_step100', hf_model=None, model_type='llama', config='/data/cronscript/ckpts//mds_to_hf_llama_custom.json', save_conversion=None, strict=True)
Converting Megatron-DeepSpeed model from /data/cronscript/ckpts//universal//global_step100 weights to HuggingFace model checkpoint in /data/cronscript/ckpts//hf_ckpt//global_step100
args = Namespace(hf_dir='/data/cronscript/ckpts//hf_ckpt//global_step100', universal_dir='/data/cronscript/ckpts//universal//global_step100', hf_model=None, model_type='llama', config='/data/cronscript/ckpts//mds_to_hf_llama_custom.json', save_conversion=None, strict=True)
Converting Megatron-DeepSpeed model from /data/cronscript/ckpts//universal//global_step100 weights to HuggingFace model checkpoint in /data/cronscript/ckpts//hf_ckpt//global_step100
args = Namespace(hf_dir='/data/cronscript/ckpts//hf_ckpt//global_step100', universal_dir='/data/cronscript/ckpts//universal//global_step100', hf_model=None, model_type='llama', config='/data/cronscript/ckpts//mds_to_hf_llama_custom.json', save_conversion=None, strict=True)
Converting Megatron-DeepSpeed model from /mnt/weka/peacock/idc/cronscript/ckpts//universal//global_step100 weights to HuggingFace model checkpoint in /mnt/weka/peacock/idc/cronscript/ckpts//hf_ckpt//global_step100
args = Namespace(hf_dir='/mnt/weka/peacock/idc/cronscript/ckpts//hf_ckpt//global_step100', universal_dir='/mnt/weka/peacock/idc/cronscript/ckpts//universal//global_step100', hf_model=None, model_type='llama', config='/mnt/weka/peacock/idc/cronscript/ckpts//mds_to_hf_llama_custom.json', save_conversion=None, strict=True)
Converting Megatron-DeepSpeed model from /mnt/weka/peacock/idc/cronscript/ckpts//universal//global_step100 weights to HuggingFace model checkpoint in /mnt/weka/peacock/idc/cronscript/ckpts//hf_ckpt//global_step100
args = Namespace(hf_dir='/mnt/weka/peacock/idc/cronscript/ckpts//hf_ckpt//global_step100', universal_dir='/mnt/weka/peacock/idc/cronscript/ckpts//universal//global_step100', hf_model=None, model_type='llama', config='/mnt/weka/peacock/idc/cronscript/ckpts//mds_to_hf_llama_custom.json', save_conversion=None, strict=True)
Converting Megatron-DeepSpeed model from /mnt/weka/peacock/idc/cronscript/ckpts//universal//global_step100 weights to HuggingFace model checkpoint in /mnt/weka/peacock/idc/cronscript/ckpts//hf_ckpt//global_step100
args = Namespace(hf_dir='/mnt/weka/peacock/idc/cronscript/ckpts//hf_ckpt//global_step100', universal_dir='/mnt/weka/peacock/idc/cronscript/ckpts//universal//global_step100', hf_model=None, model_type='llama', config='/mnt/weka/peacock/idc/cronscript/ckpts//mds_to_hf_llama_custom.json', save_conversion=None, strict=True)
Converting Megatron-DeepSpeed model from /mnt/weka/peacock/idc/cronscript/ckpts//universal//global_step100 weights to HuggingFace model checkpoint in /mnt/weka/peacock/idc/cronscript/ckpts//hf_ckpt//global_step100
args = Namespace(hf_dir='/mnt/weka/peacock/idc/cronscript/ckpts//hf_ckpt//global_step100', universal_dir='/mnt/weka/peacock/idc/cronscript/ckpts//universal//global_step100', hf_model=None, model_type='llama', config='/mnt/weka/peacock/idc/cronscript/ckpts//mds_to_hf_llama_custom.json', save_conversion=None, strict=True)
Converting Megatron-DeepSpeed model from /mnt/weka/peacock/idc/cronscript/ckpts//universal//global_step100 weights to HuggingFace model checkpoint in /mnt/weka/peacock/idc/cronscript/ckpts//hf_ckpt//global_step100
args = Namespace(hf_dir='/mnt/weka/peacock/idc/cronscript/ckpts//hf_ckpt//global_step100', universal_dir='/mnt/weka/peacock/idc/cronscript/ckpts//universal//global_step100', hf_model=None, model_type='llama', config='/mnt/weka/peacock/idc/cronscript/ckpts//mds_to_hf_llama_custom.json', save_conversion=None, strict=True)
Converting Megatron-DeepSpeed model from /mnt/weka/peacock/idc/cronscript/ckpts//universal//global_step100 weights to HuggingFace model checkpoint in /mnt/weka/peacock/idc/cronscript/ckpts//hf_ckpt//global_step100
args = Namespace(hf_dir='/mnt/weka/peacock/idc/cronscript/ckpts//hf_ckpt//global_step100', universal_dir='/mnt/weka/peacock/idc/cronscript/ckpts//universal//global_step100', hf_model=None, model_type='llama', config='/mnt/weka/peacock/idc/cronscript/ckpts//mds_to_hf_llama_custom.json', save_conversion=None, strict=True)