ds_config_func_scheduler.json 449 Bytes
Newer Older
Elton Zheng's avatar
Elton Zheng committed
1
2
3
4
{
  "train_batch_size": 4,
  "gradient_accumulation_steps": 1,
  "steps_per_print": 1,
Jeff Rasley's avatar
Jeff Rasley committed
5
  "zero_optimization": {
Jeff Rasley's avatar
Jeff Rasley committed
6
    "stage": 2
Elton Zheng's avatar
Elton Zheng committed
7
  },
8
  "gradient_clipping": 1.0,
Elton Zheng's avatar
Elton Zheng committed
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
  "scheduler": {
    "type": "WarmupLR",
    "params": {
      "warmup_min_lr": 0,
      "warmup_max_lr": 0.001,
      "warmup_num_steps": 10
    }
  },
  "fp16": {
    "enabled": true,
    "loss_scale": 0,
    "loss_scale_window": 1000,
    "hysteresis": 2,
    "min_loss_scale": 1
  }
}