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
ChatGLM-6B_pytorch
Commits
f755fd26
Commit
f755fd26
authored
Jul 20, 2023
by
zhaoying1
Browse files
Update deepspeed.json
parent
6cc0d7f4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
39 additions
and
30 deletions
+39
-30
ptuning/deepspeed.json
ptuning/deepspeed.json
+39
-30
No files found.
ptuning/deepspeed.json
View file @
f755fd26
{
{
"train_micro_batch_size_per_gpu"
:
"auto"
,
"train_micro_batch_size_per_gpu"
:
"auto"
,
"gradient_accumulation_steps"
:
"auto"
,
"gradient_accumulation_steps"
:
"auto"
,
"zero_allow_untested_optimizer"
:
true
,
"zero_allow_untested_optimizer"
:
true
,
"fp16"
:
{
"fp16"
:
{
"enabled"
:
"auto"
,
"enabled"
:
"auto"
,
"loss_scale"
:
0
,
"loss_scale"
:
0
,
"initial_scale_power"
:
16
,
"initial_scale_power"
:
16
,
"loss_scale_window"
:
1000
,
"loss_scale_window"
:
1000
,
"hysteresis"
:
2
,
"hysteresis"
:
2
,
"min_loss_scale"
:
1
"min_loss_scale"
:
1
},
},
"zero_optimization"
:
{
"optimizer"
:
{
"stage"
:
3
,
"type"
:
"AdamW"
,
"offload_optimizer"
:
{
"params"
:
{
"device"
:
"cpu"
,
"lr"
:
"auto"
,
"pin_memory"
:
true
"betas"
:
"auto"
,
},
"eps"
:
"auto"
,
"offload_param"
:
{
"weight_decay"
:
"auto"
"device"
:
"cpu"
,
}
"pin_memory"
:
true
},
},
"zero_optimization"
:
{
"allgather_partitions"
:
true
,
"stage"
:
3
,
"allgather_bucket_size"
:
5e8
,
"offload_optimizer"
:
{
"overlap_comm"
:
false
,
"device"
:
"cpu"
,
"reduce_scatter"
:
true
,
"pin_memory"
:
true
"reduce_bucket_size"
:
5e8
,
},
"contiguous_gradients"
:
true
"offload_param"
:
{
}
"device"
:
"cpu"
,
}
"pin_memory"
:
true
\ No newline at end of file
},
"allgather_partitions"
:
true
,
"allgather_bucket_size"
:
5e8
,
"overlap_comm"
:
false
,
"reduce_scatter"
:
true
,
"reduce_bucket_size"
:
5e8
,
"contiguous_gradients"
:
true
}
}
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