Skip to content

Commit

Permalink
update training scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
snyhlxde1 committed May 13, 2024
1 parent 9fa4d29 commit b2a7283
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/train_cllm.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
export CUDA_VISIBLE_DEVICES=0,1,2,3,4,5,6,7
export CUDA_VISIBLE_DEVICES=0,1,2,3
export WANDB_PROJECT=consistency_llm

model_path=$1
trajectory_file=$2
output_path=$3
n_token_seq_size=$4

torchrun --nnodes=1 --nproc_per_node=8 --rdzv_id=101 --rdzv_endpoint='localhost:5666' \
torchrun --nnodes=1 --nproc_per_node=4 --rdzv_id=101 --rdzv_endpoint='localhost:5666' \
--master_port 10000 \
cllm/train_cllm_global.py \
--target_model_path ${model_path} \
Expand Down

0 comments on commit b2a7283

Please sign in to comment.