forked from jiuyuan/CPM-9G-8B
Compare commits
2 Commits
929a5bd667
...
41a67e697b
Author | SHA1 | Date |
---|---|---|
wql | 41a67e697b | |
wql | 0fa3b02384 |
|
@ -1,7 +1,7 @@
|
||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
export MASTER_ADDR="localhost"
|
export MASTER_ADDR="localhost"
|
||||||
export MASTER_PORT=12390
|
export MASTER_PORT=12400
|
||||||
|
|
||||||
CPM_PATH="/workspace/repo/CPM-9G-8B/9G-Train"
|
CPM_PATH="/workspace/repo/CPM-9G-8B/9G-Train"
|
||||||
|
|
||||||
|
@ -50,7 +50,7 @@ OPTS+=" --lora-layer project_q project_v project_k w_0 w_1 w_out"
|
||||||
|
|
||||||
OPTS+=" $@"
|
OPTS+=" $@"
|
||||||
|
|
||||||
CMD="torchrun --nnodes=1 --nproc_per_node=7 --rdzv_id=1 --rdzv_backend=c10d --rdzv_endpoint=${MASTER_ADDR}:${MASTER_PORT} ${CPM_PATH}/apps/cpm9g/sft_cpm9g_delta.py ${OPTS}"
|
CMD="torchrun --nnodes=1 --nproc_per_node=6 --rdzv_id=1 --rdzv_backend=c10d --rdzv_endpoint=${MASTER_ADDR}:${MASTER_PORT} ${CPM_PATH}/apps/cpm9g/sft_cpm9g_delta.py ${OPTS}"
|
||||||
|
|
||||||
echo "${CMD}"
|
echo "${CMD}"
|
||||||
$CMD
|
$CMD
|
Loading…
Reference in New Issue