Skip to content

Commit 79af89b

Browse files
authored
[Docs] Fix docs/_pages/config-json.md format (#7779)
Unexpect preview in https://www.deepspeed.ai/docs/config-json/#stage3_module_granularity_threshold ![image](https://github.com/user-attachments/assets/7f5bc25b-f0c0-49d1-a871-69ab04f2dc27) Signed-off-by: ooooo <3164076421@qq.com>
1 parent 53c87ce commit 79af89b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎docs/_pages/config-json.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -549,6 +549,7 @@ Enabling and configuring ZeRO memory optimizations
549549
| Consolidate the weights before saving the model by `save_16bit_model()`. Since the weights are partitioned across GPUs, they aren't part of `state_dict`, so this function automatically gathers the weights when this option is enabled and then saves the fp16 model weights. | `False` |
550550

551551
***stage3_module_granularity_threshold***: [integer]
552+
552553
| Description | Default |
553554
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| ------- |
554555
| The granularity of a module is determined by the ratio of `parameter_count` / `(1 + descendant_count)`. ZeRO3 classifies modules with a granularity below the threshold as fine-grained, treating them as integral units during parameter fetching. This reduces host and communication overhead from separate hooks. | `0` |

0 commit comments

Comments
 (0)