mirror of
https://gitee.com/ascend/ModelLink.git
synced 2024-11-29 18:38:39 +08:00
parent
3e9fd1d561
commit
44715d4fec
@ -3,9 +3,9 @@ source /usr/local/Ascend/ascend-toolkit/set_env.sh
|
||||
|
||||
# --params-dtype bf16 结合需要使用
|
||||
python convert_ckpt.py --model-type GPT \
|
||||
--loader megatron \
|
||||
--saver megatron \
|
||||
--save-model-type save_huggingface_llama \
|
||||
--load-model-type mg \
|
||||
--save-model-type hf \
|
||||
--model-type-hf llama2 \
|
||||
--load-dir ./model_weights/Aquila2-legacy/ \
|
||||
--target-tensor-parallel-size 1 \
|
||||
--target-pipeline-parallel-size 1 \
|
||||
|
Loading…
Reference in New Issue
Block a user