This commit is contained in:
parent
484f5d869c
commit
156805e04d
|
|
@ -1,9 +1,9 @@
|
|||
deepspeed --hostfile hostfile \
|
||||
--num_nodes 6 --num_gpus 4 \
|
||||
/home/test/jd_train/train_sft_ds.py \
|
||||
--model_name_or_path /home/test/Qwen3-1.7B \
|
||||
--model_name_or_path /home/test/Qwen3-8B \
|
||||
--data_glob "/home/test/datasets/my_corpus/train.jsonl" \
|
||||
--output_dir /home/test/checkpoints/q3-1_7b-ds4 \
|
||||
--output_dir /home/test/checkpoints/q3-8b-ds4 \
|
||||
--seq_len 512 \
|
||||
--per_device_train_batch_size 1 \
|
||||
--gradient_accumulation_steps 1 \
|
||||
|
|
|
|||
|
|
@ -3,9 +3,9 @@ export PYTORCH_CUDA_ALLOC_CONF="max_split_size_mb:128"
|
|||
export NCCL_DEBUG=INFO
|
||||
|
||||
torchrun --nproc_per_node 4 /home/test/jd_train/train_sft_ds.py \
|
||||
--model_name_or_path /home/test/Qwen3-1.7B \
|
||||
--model_name_or_path /home/test/Qwen3-8B \
|
||||
--data_glob "/home/test/datasets/my_corpus/train.jsonl" \
|
||||
--output_dir /home/test/checkpoints/q3-1_7b-ds4 \
|
||||
--output_dir /home/test/checkpoints/q3-8b-ds4 \
|
||||
--seq_len 512 \
|
||||
--per_device_train_batch_size 1 \
|
||||
--gradient_accumulation_steps 1 \
|
||||
|
|
|
|||
4
ss.sh
4
ss.sh
|
|
@ -4,9 +4,9 @@ export NCCL_DEBUG=INFO
|
|||
export CUDA_VISIBLE_DEVICES=0
|
||||
|
||||
torchrun --nproc_per_node 1 /home/test/jd_train/train_sft_ds.py \
|
||||
--model_name_or_path /home/test/Qwen3-1.7B \
|
||||
--model_name_or_path /home/test/Qwen3-8B \
|
||||
--data_glob "/home/test/datasets/my_corpus/train.jsonl" \
|
||||
--output_dir /home/test/checkpoints/smoke-q3-1_7b-ds \
|
||||
--output_dir /home/test/checkpoints/smoke-q3-8b-ds \
|
||||
--seq_len 512 \
|
||||
--per_device_train_batch_size 1 \
|
||||
--gradient_accumulation_steps 1 \
|
||||
|
|
|
|||
Loading…
Reference in New Issue