HumboldtJoker commited on
Commit
d9e1ef4
·
verified ·
1 Parent(s): 2c84bb4

Add training template: ds_config_zero3.json

Browse files
training-template/ds_config_zero3.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_NOTE": "UNUSED — This file is kept for reference only. The training template now uses LoRA on a single H200 GPU instead of DeepSpeed ZeRO-3 on dual A100s. No scripts reference this file.",
3
+
4
+ "bf16": {
5
+ "enabled": true
6
+ },
7
+
8
+ "zero_optimization": {
9
+ "stage": 3,
10
+
11
+ "offload_optimizer": {
12
+ "device": "cpu",
13
+ "pin_memory": true,
14
+ "fast_init": false
15
+ },
16
+
17
+ "overlap_comm": true,
18
+ "contiguous_gradients": true,
19
+
20
+ "reduce_bucket_size": 5e7,
21
+ "stage3_prefetch_bucket_size": 5e7,
22
+ "stage3_param_persistence_threshold": 1e5,
23
+
24
+ "stage3_gather_16bit_weights_on_model_save": true
25
+ },
26
+
27
+ "optimizer": {
28
+ "type": "AdamW",
29
+ "params": {
30
+ "lr": "auto",
31
+ "betas": "auto",
32
+ "eps": "auto",
33
+ "weight_decay": "auto"
34
+ }
35
+ },
36
+
37
+ "gradient_accumulation_steps": "auto",
38
+ "gradient_clipping": "auto",
39
+ "train_batch_size": "auto",
40
+ "train_micro_batch_size_per_gpu": "auto",
41
+
42
+ "wall_clock_breakdown": false
43
+ }