Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update llama_npu_opt_lora.sh #8439

Merged
merged 1 commit into from
May 15, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions llm/llama/npu/llama_npu_opt_lora.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ python -u -m paddle.distributed.launch \
--dataset_name_or_path "data/" \
--output_dir "./output/lora_bf16_llama_N1C8" \
--per_device_train_batch_size 2 \
--gradient_accumulation_steps 16 \
--gradient_accumulation_steps 32 \
--per_device_eval_batch_size 1 \
--eval_accumulation_steps 1 \
--max_steps ${max_steps} \
Expand All @@ -57,7 +57,7 @@ python -u -m paddle.distributed.launch \
--eval_with_do_generation false \
--metric_for_best_model "accuracy" \
--recompute false \
--tensor_parallel_degree 8 \
--tensor_parallel_degree 4 \
--pipeline_parallel_degree 1 \
--zero_padding 0 \
--sequence_parallel 1 \
Expand Down
Loading