You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 295d6b8
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/sphinx_doc/source/tutorial/trinity_configs.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -102,6 +102,8 @@ algorithm:
102
102
optimizer:
103
103
lr: 1e-6
104
104
lr_scheduler_type: "constant"
105
+
fused: true
106
+
foreach: false
105
107
# The following parameters are optional
106
108
# If not specified, they will automatically be set based on the `algorithm_type`
107
109
sample_strategy: "default"
@@ -117,6 +119,8 @@ algorithm:
117
119
- `lr`: Learning rate for actor.
118
120
- `warmup_style`: Deprecated, use `lr_scheduler_type` instead. We will remove this field in future versions.
119
121
- `lr_scheduler_type`: Learning rate scheduler type for actor model. Default is `constant`. Supported types: `constant`, `cosine`.
122
+
- `fused`: Optional PyTorch optimizer setting for FSDP/FSDP2 trainers. When unset, the backend default is used. This setting is ignored by Megatron trainers.
123
+
- `foreach`: Optional PyTorch optimizer setting for FSDP/FSDP2 trainers. When unset, the backend default is used. This setting is ignored by Megatron trainers.
120
124
- `sample_strategy`: The sampling strategy used for loading experiences from experience buffer. Supported types: `default`, `staleness_control`, `mix`.
121
125
- `advantage_fn`: The advantage function used for computing advantages.
122
126
- `kl_penalty_fn`: The KL penalty function used for computing KL penalty applied in reward.
0 commit comments