YUNTA88 commited on
Commit
12e2e0c
·
verified ·
1 Parent(s): 2f23710

Upload scripts/ds_zero2.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. scripts/ds_zero2.json +18 -0
scripts/ds_zero2.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bf16": {
3
+ "enabled": true
4
+ },
5
+ "zero_optimization": {
6
+ "stage": 2,
7
+ "allgather_partitions": true,
8
+ "allgather_bucket_size": 500000000.0,
9
+ "overlap_comm": true,
10
+ "reduce_scatter": true,
11
+ "reduce_bucket_size": 500000000.0,
12
+ "contiguous_gradients": true
13
+ },
14
+ "gradient_accumulation_steps": "auto",
15
+ "gradient_clipping": "auto",
16
+ "train_batch_size": "auto",
17
+ "train_micro_batch_size_per_gpu": "auto"
18
+ }