Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
2
221cb0249
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Summer2022
221cb0249
Commits
ece8f5e9
Commit
ece8f5e9
authored
2 years ago
by
huangxinjing
Browse files
Options
Downloads
Patches
Plain Diff
Fix single run error for gpt model
parent
2b24802f
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
official/nlp/gpt/scripts/run_standalone_train.sh
+1
-0
1 addition, 0 deletions
official/nlp/gpt/scripts/run_standalone_train.sh
official/nlp/pangu_alpha/README.md
+1
-1
1 addition, 1 deletion
official/nlp/pangu_alpha/README.md
with
2 additions
and
1 deletion
official/nlp/gpt/scripts/run_standalone_train.sh
+
1
−
0
View file @
ece8f5e9
...
...
@@ -30,4 +30,5 @@ python train.py \
--epoch_size
=
$EPOCH_SIZE
\
--device_id
=
$DEVICE_ID
\
--data_path
=
$DATA_DIR
\
--model_parallel
=
1
\
--optimizer
=
"adam"
>
training_log.txt 2>&1 &
This diff is collapsed.
Click to expand it.
official/nlp/pangu_alpha/README.md
+
1
−
1
View file @
ece8f5e9
...
...
@@ -241,7 +241,7 @@ Training 60B model using 8 NPU in one server requires that the server has at lea
```
bash
# run distributed training example in one ascend machine
bash run_distributed_train_moe_host_device.sh /path/dataset /path/hccl.json 8 fp32 2.6B 1 1
1
0 8 36 0
bash run_distributed_train_moe_host_device.sh /path/dataset /path/hccl.json 8 fp32 2.6B 1 1
2
0 8 36 0
```
#### Training on homogeneous
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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