Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
2
221cb0332
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Summer2022
221cb0332
Commits
d9731a52
Commit
d9731a52
authored
Jun 29, 2022
by
lizhenyu
Browse files
Options
Downloads
Patches
Plain Diff
remove rank table file in ps 1p script
parent
7ed6af31
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
official/recommend/wide_and_deep/script/run_parameter_server_train_standalone.sh
+4
-6
4 additions, 6 deletions
..._and_deep/script/run_parameter_server_train_standalone.sh
with
4 additions
and
6 deletions
official/recommend/wide_and_deep/script/run_parameter_server_train_standalone.sh
+
4
−
6
View file @
d9731a52
...
@@ -27,15 +27,14 @@ export MS_SERVER_NUM=$4
...
@@ -27,15 +27,14 @@ export MS_SERVER_NUM=$4
export
MS_SCHED_HOST
=
$5
export
MS_SCHED_HOST
=
$5
export
MS_SCHED_PORT
=
$6
export
MS_SCHED_PORT
=
$6
DEVICE_ID
=
$7
DEVICE_ID
=
$7
export
RANK_TABLE_FILE
=
$8
export
VOCAB_CACHE_SIZE
=
$8
export
VOCAB_CACHE_SIZE
=
$9
export
SPARSE
=
$9
export
SPARSE
=
${
10
}
if
[[
!
-n
"
$
9
"
]]
;
then
if
[[
!
-n
"
$
8
"
]]
;
then
export
VOCAB_CACHE_SIZE
=
0
export
VOCAB_CACHE_SIZE
=
0
fi
fi
if
[[
!
-n
"
$
{
10
}
"
]]
;
then
if
[[
!
-n
"
$
9
"
]]
;
then
export
SPARSE
=
False
export
SPARSE
=
False
fi
fi
...
@@ -77,7 +76,6 @@ export MS_ROLE=MS_WORKER
...
@@ -77,7 +76,6 @@ export MS_ROLE=MS_WORKER
rm
-rf
${
execute_path
}
/worker/
rm
-rf
${
execute_path
}
/worker/
mkdir
${
execute_path
}
/worker/
mkdir
${
execute_path
}
/worker/
cd
${
execute_path
}
/worker/
||
exit
cd
${
execute_path
}
/worker/
||
exit
export
RANK_ID
=
0
python
-s
${
self_path
}
/../train_and_eval_parameter_server_standalone.py
--device_target
=
$DEVICE_TARGET
\
python
-s
${
self_path
}
/../train_and_eval_parameter_server_standalone.py
--device_target
=
$DEVICE_TARGET
\
--epochs
=
$EPOCH_SIZE
--data_path
=
$DATASET
--parameter_server
=
1
\
--epochs
=
$EPOCH_SIZE
--data_path
=
$DATASET
--parameter_server
=
1
\
--vocab_cache_size
=
$VOCAB_CACHE_SIZE
--sparse
=
$SPARSE
--dropout_flag
=
True
>
worker.log 2>&1 &
--vocab_cache_size
=
$VOCAB_CACHE_SIZE
--sparse
=
$SPARSE
--dropout_flag
=
True
>
worker.log 2>&1 &
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment