Advertisement
Guest User

Untitled

a guest
May 6th, 2025
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 1.51 KB | None | 0 0
  1. {
  2.     "fp16": {
  3.         "enabled": "auto",
  4.         "loss_scale": 0,
  5.         "loss_scale_window": 1000,
  6.         "initial_scale_power": 16,
  7.         "hysteresis": 2,
  8.         "min_loss_scale": 1
  9.     },
  10.     "bf16": {
  11.         "enabled": "auto"
  12.     },
  13.     "optimizer": {
  14.         "type": "AdamW",
  15.         "params": {
  16.             "lr": "auto",
  17.             "betas": "auto",
  18.             "eps": "auto",
  19.             "weight_decay": "auto"
  20.         }
  21.     },
  22.     "scheduler": {
  23.         "type": "WarmupLR",
  24.         "params": {
  25.             "warmup_min_lr": "auto",
  26.             "warmup_max_lr": "auto",
  27.             "warmup_num_steps": "auto"
  28.         }
  29.     },
  30.     "zero_optimization": {
  31.         "stage": 3,
  32.         "offload_optimizer": {
  33.             "device": "cpu",
  34.             "pin_memory": true
  35.         },
  36.         "offload_param": {
  37.             "device": "cpu",
  38.             "pin_memory": true
  39.         },
  40.         "overlap_comm": true,
  41.         "contiguous_gradients": true,
  42.         "reduce_bucket_size": "auto",
  43.         "stage3_prefetch_bucket_size": "auto",
  44.         "stage3_param_persistence_threshold": "auto",
  45.         "sub_group_size": 1e9,
  46.         "stage3_max_live_parameters": 1e9,
  47.         "stage3_max_reuse_distance": 1e9,
  48.         "stage3_gather_16bit_weights_on_model_save": "auto"
  49.     },
  50.     "gradient_accumulation_steps": 1,
  51.     "gradient_clipping": "auto",
  52.     "steps_per_print": 2000,
  53.     "train_batch_size": "auto",
  54.     "train_micro_batch_size_per_gpu": "auto",
  55.     "wall_clock_breakdown": false
  56. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement