Skip to content

Commit

Permalink
update (#8448)
Browse files Browse the repository at this point in the history
* update

* add llama-npu-opt-script

* Update dev_opt_lora.sh

* Update dev_opt_ppt.sh

* Update dev_opt_lora.sh

* Update dev_opt_ppt.sh

* Update dev_opt_sft.sh

* Rename dev_opt_lora.sh to llama_npu_opt_lora.sh

* Update dev_opt_ppt.sh

* Rename dev_opt_ppt.sh to llama_npu_opt_ppt.sh

* Update llama_npu_opt_lora.sh

* Update and rename dev_opt_sft.sh to llama_npu_opt_sft.sh

* add funsion ops

* add funsion ops

* add funsion ops

* add funsion ops

* add funsion ops

* add funsion ops

* add funsion ops

* add funsion ops

* add funsion ops

* add funsion ops

* add funsion ops

* add funsion ops

* add funsion ops

* add funsion ops

* add funsion ops

* add funsion ops

* update

* Update fusion_ops.py

* update

* update
  • Loading branch information
Galaxy1458 authored May 17, 2024
1 parent daf2f3a commit 7f13396
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions llm/llama/npu/llama_npu_opt_lora.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ python -u -m paddle.distributed.launch \
--logging_steps 1 \
--evaluation_strategy "epoch" \
--src_length 1024 \
--tensor_parallel_output true \
--max_length 4096 \
--bf16 true \
--fp16_opt_level "O2" \
Expand Down
3 changes: 2 additions & 1 deletion llm/llama/npu/llama_npu_opt_sft.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,10 @@ python -u -m paddle.distributed.launch \
--evaluation_strategy "epoch" \
--src_length 1024 \
--max_length 4096 \
--fp16 true \
--bf16 true \
--fp16_opt_level "O2" \
--do_train true \
--tensor_parallel_output true \
--disable_tqdm true \
--eval_with_do_generation false \
--metric_for_best_model "accuracy" \
Expand Down

0 comments on commit 7f13396

Please sign in to comment.