Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
Baichuan_pytorch
Commits
0c7dc007
Commit
0c7dc007
authored
Nov 09, 2023
by
qianyj
Browse files
update
parent
70d83fd3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
slurm_script/run-13b-sft.sh
slurm_script/run-13b-sft.sh
+1
-1
slurm_script/run-7b-sft-lora.sh
slurm_script/run-7b-sft-lora.sh
+1
-1
No files found.
slurm_script/run-13b-sft.sh
View file @
0c7dc007
...
@@ -35,5 +35,5 @@ np=$(($np*4))
...
@@ -35,5 +35,5 @@ np=$(($np*4))
nodename
=
$(
cat
$hostfile
|sed
-n
"1p"
)
nodename
=
$(
cat
$hostfile
|sed
-n
"1p"
)
dist_url
=
`
echo
$nodename
|
awk
'{print $1}'
`
dist_url
=
`
echo
$nodename
|
awk
'{print $1}'
`
mpirun
-np
$np
--allow-run-as-root
--hostfile
hostfile/hostfile-dl-
$SLURM_JOB_ID
--bind-to
none
`
pwd
`
/run-13b-sft-single.sh
$dist_url
$np
mpirun
-np
$np
--allow-run-as-root
--hostfile
hostfile/hostfile-dl-
$SLURM_JOB_ID
--bind-to
none
`
pwd
`
/run-13b-sft-single.sh
slurm_script/run-7b-sft-lora.sh
View file @
0c7dc007
...
@@ -50,5 +50,5 @@ np=$(($np*4))
...
@@ -50,5 +50,5 @@ np=$(($np*4))
nodename
=
$(
cat
$hostfile
|sed
-n
"1p"
)
#读取每行节点 第一个是主节点
nodename
=
$(
cat
$hostfile
|sed
-n
"1p"
)
#读取每行节点 第一个是主节点
dist_url
=
`
echo
$nodename
|
awk
'{print $1}'
`
dist_url
=
`
echo
$nodename
|
awk
'{print $1}'
`
mpirun
-np
$np
--allow-run-as-root
--hostfile
hostfile/hostfile-dl-
$SLURM_JOB_ID
--bind-to
none
`
pwd
`
/run-7b-single-lora.sh
$dist_url
mpirun
-np
$np
--allow-run-as-root
--hostfile
hostfile/hostfile-dl-
$SLURM_JOB_ID
--bind-to
none
`
pwd
`
/run-7b-single-lora.sh
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment