mikr commited on
Commit
27a232c
1 Parent(s): bebea88

Model save

Browse files
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ecd8b0daf78e11f6580bc81ddb2d90bb94e3225d215d9e89eba3e80edbc77004
3
  size 3086784957
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0d745968c412da9bc113cddbf19c5ec4b4d3eccb04366c369874f720414d7357
3
  size 3086784957
run.log CHANGED
@@ -6259,3 +6259,199 @@ Time to load utils op: 0.0003571510314941406 seconds
6259
  [2022-12-19 17:51:17,444] [INFO] [torch_checkpoint_engine.py:17:save] [Torch] Saved ./checkpoint-5000/global_step5018/zero_pp_rank_0_mp_rank_00_optim_states.pt.
6260
  [2022-12-19 17:51:17,444] [INFO] [engine.py:3269:_save_zero_checkpoint] zero checkpoint saved ./checkpoint-5000/global_step5018/zero_pp_rank_0_mp_rank_00_optim_states.pt
6261
  [2022-12-19 17:51:17,444] [INFO] [torch_checkpoint_engine.py:27:commit] [Torch] Checkpoint global_step5018 is ready now!
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6259
  [2022-12-19 17:51:17,444] [INFO] [torch_checkpoint_engine.py:17:save] [Torch] Saved ./checkpoint-5000/global_step5018/zero_pp_rank_0_mp_rank_00_optim_states.pt.
6260
  [2022-12-19 17:51:17,444] [INFO] [engine.py:3269:_save_zero_checkpoint] zero checkpoint saved ./checkpoint-5000/global_step5018/zero_pp_rank_0_mp_rank_00_optim_states.pt
6261
  [2022-12-19 17:51:17,444] [INFO] [torch_checkpoint_engine.py:27:commit] [Torch] Checkpoint global_step5018 is ready now!
6262
+ [2022-12-19 17:53:07,628] [INFO] [logging.py:68:log_dist] [Rank 0] DeepSpeed info: version=0.7.7, git-hash=unknown, git-branch=unknown
6263
+ [2022-12-19 17:53:07,690] [INFO] [logging.py:68:log_dist] [Rank 0] DeepSpeed Flops Profiler Enabled: False
6264
+ [2022-12-19 17:53:09,125] [WARNING] [cpu_adam.py:83:__init__] FP16 params for CPUAdam may not work on AMD CPUs
6265
+ Installed CUDA version 11.6 does not match the version torch was compiled with 11.7 but since the APIs are compatible, accepting this combination
6266
+ Time to load cpu_adam op: 3.2118442058563232 seconds
6267
+ Adam Optimizer #1 is created with AVX2 arithmetic capability.
6268
+ Config: alpha=0.000010, betas=(0.900000, 0.999000), weight_decay=0.000000, adam_w=1
6269
+ [2022-12-19 17:53:12,976] [INFO] [logging.py:68:log_dist] [Rank 0] Using DeepSpeed Optimizer param name adamw as basic optimizer
6270
+ [2022-12-19 17:53:13,280] [INFO] [logging.py:68:log_dist] [Rank 0] DeepSpeed Basic Optimizer = DeepSpeedCPUAdam
6271
+ [2022-12-19 17:53:13,280] [INFO] [utils.py:52:is_zero_supported_optimizer] Checking ZeRO support for optimizer=DeepSpeedCPUAdam type=<class 'deepspeed.ops.adam.cpu_adam.DeepSpeedCPUAdam'>
6272
+ [2022-12-19 17:53:13,280] [INFO] [logging.py:68:log_dist] [Rank 0] Creating fp16 ZeRO stage 2 optimizer
6273
+ [2022-12-19 17:53:13,280] [INFO] [stage_1_and_2.py:140:__init__] Reduce bucket size 200000000
6274
+ [2022-12-19 17:53:13,280] [INFO] [stage_1_and_2.py:141:__init__] Allgather bucket size 200000000
6275
+ [2022-12-19 17:53:13,280] [INFO] [stage_1_and_2.py:142:__init__] CPU Offload: True
6276
+ [2022-12-19 17:53:13,280] [INFO] [stage_1_and_2.py:143:__init__] Round robin gradient partitioning: False
6277
+ Time to load utils op: 0.0003826618194580078 seconds
6278
+ Rank: 0 partition count [1] and sizes[(1543304960, False)]
6279
+ [2022-12-19 17:53:16,589] [INFO] [utils.py:827:see_memory_usage] Before initializing optimizer states
6280
+ [2022-12-19 17:53:16,590] [INFO] [utils.py:828:see_memory_usage] MA 6.0 GB Max_MA 19.53 GB CA 29.61 GB Max_CA 30 GB
6281
+ [2022-12-19 17:53:16,590] [INFO] [utils.py:836:see_memory_usage] CPU Virtual Memory: used = 48.69 GB, percent = 24.8%
6282
+ [2022-12-19 17:53:20,495] [INFO] [utils.py:827:see_memory_usage] After initializing optimizer states
6283
+ [2022-12-19 17:53:20,496] [INFO] [utils.py:828:see_memory_usage] MA 6.0 GB Max_MA 6.0 GB CA 29.61 GB Max_CA 30 GB
6284
+ [2022-12-19 17:53:20,496] [INFO] [utils.py:836:see_memory_usage] CPU Virtual Memory: used = 68.29 GB, percent = 34.7%
6285
+ [2022-12-19 17:53:20,496] [INFO] [stage_1_and_2.py:525:__init__] optimizer state initialized
6286
+ [2022-12-19 17:53:20,573] [INFO] [utils.py:827:see_memory_usage] After initializing ZeRO optimizer
6287
+ [2022-12-19 17:53:20,574] [INFO] [utils.py:828:see_memory_usage] MA 6.0 GB Max_MA 6.0 GB CA 29.61 GB Max_CA 30 GB
6288
+ [2022-12-19 17:53:20,574] [INFO] [utils.py:836:see_memory_usage] CPU Virtual Memory: used = 68.3 GB, percent = 34.7%
6289
+ [2022-12-19 17:53:20,603] [INFO] [logging.py:68:log_dist] [Rank 0] DeepSpeed Final Optimizer = adamw
6290
+ [2022-12-19 17:53:20,604] [INFO] [logging.py:68:log_dist] [Rank 0] DeepSpeed using configured LR scheduler = WarmupDecayLR
6291
+ [2022-12-19 17:53:20,604] [INFO] [logging.py:68:log_dist] [Rank 0] DeepSpeed LR Scheduler = <deepspeed.runtime.lr_schedules.WarmupDecayLR object at 0x7f72490c8c40>
6292
+ [2022-12-19 17:53:20,604] [INFO] [logging.py:68:log_dist] [Rank 0] step=0, skipped=0, lr=[1e-05], mom=[[0.9, 0.999]]
6293
+ [2022-12-19 17:53:20,605] [INFO] [config.py:1020:print] DeepSpeedEngine configuration:
6294
+ [2022-12-19 17:53:20,606] [INFO] [config.py:1024:print] activation_checkpointing_config {
6295
+ "partition_activations": false,
6296
+ "contiguous_memory_optimization": false,
6297
+ "cpu_checkpointing": false,
6298
+ "number_checkpoints": null,
6299
+ "synchronize_checkpoint_boundary": false,
6300
+ "profile": false
6301
+ }
6302
+ [2022-12-19 17:53:20,606] [INFO] [config.py:1024:print] aio_config ................... {'block_size': 1048576, 'queue_depth': 8, 'thread_count': 1, 'single_submit': False, 'overlap_events': True}
6303
+ [2022-12-19 17:53:20,606] [INFO] [config.py:1024:print] amp_enabled .................. False
6304
+ [2022-12-19 17:53:20,606] [INFO] [config.py:1024:print] amp_params ................... False
6305
+ [2022-12-19 17:53:20,606] [INFO] [config.py:1024:print] autotuning_config ............ {
6306
+ "enabled": false,
6307
+ "start_step": null,
6308
+ "end_step": null,
6309
+ "metric_path": null,
6310
+ "arg_mappings": null,
6311
+ "metric": "throughput",
6312
+ "model_info": null,
6313
+ "results_dir": "autotuning_results",
6314
+ "exps_dir": "autotuning_exps",
6315
+ "overwrite": true,
6316
+ "fast": true,
6317
+ "start_profile_step": 3,
6318
+ "end_profile_step": 5,
6319
+ "tuner_type": "gridsearch",
6320
+ "tuner_early_stopping": 5,
6321
+ "tuner_num_trials": 50,
6322
+ "model_info_path": null,
6323
+ "mp_size": 1,
6324
+ "max_train_batch_size": null,
6325
+ "min_train_batch_size": 1,
6326
+ "max_train_micro_batch_size_per_gpu": 1.024000e+03,
6327
+ "min_train_micro_batch_size_per_gpu": 1,
6328
+ "num_tuning_micro_batch_sizes": 3
6329
+ }
6330
+ [2022-12-19 17:53:20,606] [INFO] [config.py:1024:print] bfloat16_enabled ............. False
6331
+ [2022-12-19 17:53:20,606] [INFO] [config.py:1024:print] checkpoint_parallel_write_pipeline False
6332
+ [2022-12-19 17:53:20,606] [INFO] [config.py:1024:print] checkpoint_tag_validation_enabled True
6333
+ [2022-12-19 17:53:20,606] [INFO] [config.py:1024:print] checkpoint_tag_validation_fail False
6334
+ [2022-12-19 17:53:20,606] [INFO] [config.py:1024:print] comms_config ................. <deepspeed.comm.config.DeepSpeedCommsConfig object at 0x7f725294b3a0>
6335
+ [2022-12-19 17:53:20,606] [INFO] [config.py:1024:print] communication_data_type ...... None
6336
+ [2022-12-19 17:53:20,606] [INFO] [config.py:1024:print] compression_config ........... {'weight_quantization': {'shared_parameters': {'enabled': False, 'quantizer_kernel': False, 'schedule_offset': 0, 'quantize_groups': 1, 'quantize_verbose': False, 'quantization_type': 'symmetric', 'quantize_weight_in_forward': False, 'rounding': 'nearest', 'fp16_mixed_quantize': False, 'quantize_change_ratio': 0.001}, 'different_groups': {}}, 'activation_quantization': {'shared_parameters': {'enabled': False, 'quantization_type': 'symmetric', 'range_calibration': 'dynamic', 'schedule_offset': 1000}, 'different_groups': {}}, 'sparse_pruning': {'shared_parameters': {'enabled': False, 'method': 'l1', 'schedule_offset': 1000}, 'different_groups': {}}, 'row_pruning': {'shared_parameters': {'enabled': False, 'method': 'l1', 'schedule_offset': 1000}, 'different_groups': {}}, 'head_pruning': {'shared_parameters': {'enabled': False, 'method': 'topk', 'schedule_offset': 1000}, 'different_groups': {}}, 'channel_pruning': {'shared_parameters': {'enabled': False, 'method': 'l1', 'schedule_offset': 1000}, 'different_groups': {}}, 'layer_reduction': {'enabled': False}}
6337
+ [2022-12-19 17:53:20,606] [INFO] [config.py:1024:print] curriculum_enabled ........... False
6338
+ [2022-12-19 17:53:20,606] [INFO] [config.py:1024:print] curriculum_params ............ False
6339
+ [2022-12-19 17:53:20,606] [INFO] [config.py:1024:print] dataloader_drop_last ......... False
6340
+ [2022-12-19 17:53:20,606] [INFO] [config.py:1024:print] disable_allgather ............ False
6341
+ [2022-12-19 17:53:20,606] [INFO] [config.py:1024:print] dump_state ................... False
6342
+ [2022-12-19 17:53:20,606] [INFO] [config.py:1024:print] dynamic_loss_scale_args ...... {'init_scale': 65536, 'scale_window': 1000, 'delayed_shift': 2, 'min_scale': 1}
6343
+ [2022-12-19 17:53:20,606] [INFO] [config.py:1024:print] eigenvalue_enabled ........... False
6344
+ [2022-12-19 17:53:20,606] [INFO] [config.py:1024:print] eigenvalue_gas_boundary_resolution 1
6345
+ [2022-12-19 17:53:20,606] [INFO] [config.py:1024:print] eigenvalue_layer_name ........ bert.encoder.layer
6346
+ [2022-12-19 17:53:20,606] [INFO] [config.py:1024:print] eigenvalue_layer_num ......... 0
6347
+ [2022-12-19 17:53:20,606] [INFO] [config.py:1024:print] eigenvalue_max_iter .......... 100
6348
+ [2022-12-19 17:53:20,606] [INFO] [config.py:1024:print] eigenvalue_stability ......... 1e-06
6349
+ [2022-12-19 17:53:20,607] [INFO] [config.py:1024:print] eigenvalue_tol ............... 0.01
6350
+ [2022-12-19 17:53:20,607] [INFO] [config.py:1024:print] eigenvalue_verbose ........... False
6351
+ [2022-12-19 17:53:20,607] [INFO] [config.py:1024:print] elasticity_enabled ........... False
6352
+ [2022-12-19 17:53:20,607] [INFO] [config.py:1024:print] flops_profiler_config ........ {
6353
+ "enabled": false,
6354
+ "profile_step": 1,
6355
+ "module_depth": -1,
6356
+ "top_modules": 1,
6357
+ "detailed": true,
6358
+ "output_file": null
6359
+ }
6360
+ [2022-12-19 17:53:20,607] [INFO] [config.py:1024:print] fp16_auto_cast ............... False
6361
+ [2022-12-19 17:53:20,607] [INFO] [config.py:1024:print] fp16_enabled ................. True
6362
+ [2022-12-19 17:53:20,607] [INFO] [config.py:1024:print] fp16_master_weights_and_gradients False
6363
+ [2022-12-19 17:53:20,607] [INFO] [config.py:1024:print] global_rank .................. 0
6364
+ [2022-12-19 17:53:20,607] [INFO] [config.py:1024:print] grad_accum_dtype ............. None
6365
+ [2022-12-19 17:53:20,607] [INFO] [config.py:1024:print] gradient_accumulation_steps .. 2
6366
+ [2022-12-19 17:53:20,607] [INFO] [config.py:1024:print] gradient_clipping ............ 1.0
6367
+ [2022-12-19 17:53:20,607] [INFO] [config.py:1024:print] gradient_predivide_factor .... 1.0
6368
+ [2022-12-19 17:53:20,607] [INFO] [config.py:1024:print] initial_dynamic_scale ........ 65536
6369
+ [2022-12-19 17:53:20,607] [INFO] [config.py:1024:print] load_universal_checkpoint .... False
6370
+ [2022-12-19 17:53:20,607] [INFO] [config.py:1024:print] loss_scale ................... 0
6371
+ [2022-12-19 17:53:20,607] [INFO] [config.py:1024:print] memory_breakdown ............. False
6372
+ [2022-12-19 17:53:20,607] [INFO] [config.py:1024:print] monitor_config ............... <deepspeed.monitor.config.DeepSpeedMonitorConfig object at 0x7f725294b2e0>
6373
+ [2022-12-19 17:53:20,607] [INFO] [config.py:1024:print] nebula_config ................ {
6374
+ "enabled": false,
6375
+ "persistent_storage_path": null,
6376
+ "persistent_time_interval": 100,
6377
+ "num_of_version_in_retention": 2,
6378
+ "enable_nebula_load": true,
6379
+ "load_path": null
6380
+ }
6381
+ [2022-12-19 17:53:20,607] [INFO] [config.py:1024:print] optimizer_legacy_fusion ...... False
6382
+ [2022-12-19 17:53:20,607] [INFO] [config.py:1024:print] optimizer_name ............... adamw
6383
+ [2022-12-19 17:53:20,607] [INFO] [config.py:1024:print] optimizer_params ............. {'lr': 1e-05, 'betas': [0.9, 0.999], 'eps': 1e-08, 'weight_decay': 0.0}
6384
+ [2022-12-19 17:53:20,607] [INFO] [config.py:1024:print] pipeline ..................... {'stages': 'auto', 'partition': 'best', 'seed_layers': False, 'activation_checkpoint_interval': 0}
6385
+ [2022-12-19 17:53:20,607] [INFO] [config.py:1024:print] pld_enabled .................. False
6386
+ [2022-12-19 17:53:20,607] [INFO] [config.py:1024:print] pld_params ................... False
6387
+ [2022-12-19 17:53:20,607] [INFO] [config.py:1024:print] prescale_gradients ........... False
6388
+ [2022-12-19 17:53:20,607] [INFO] [config.py:1024:print] scheduler_name ............... WarmupDecayLR
6389
+ [2022-12-19 17:53:20,607] [INFO] [config.py:1024:print] scheduler_params ............. {'last_batch_iteration': -1, 'total_num_steps': 5000, 'warmup_min_lr': 0, 'warmup_max_lr': 1e-05, 'warmup_num_steps': 500}
6390
+ [2022-12-19 17:53:20,607] [INFO] [config.py:1024:print] sparse_attention ............. None
6391
+ [2022-12-19 17:53:20,607] [INFO] [config.py:1024:print] sparse_gradients_enabled ..... False
6392
+ [2022-12-19 17:53:20,607] [INFO] [config.py:1024:print] steps_per_print .............. 10
6393
+ [2022-12-19 17:53:20,607] [INFO] [config.py:1024:print] train_batch_size ............. 64
6394
+ [2022-12-19 17:53:20,607] [INFO] [config.py:1024:print] train_micro_batch_size_per_gpu 32
6395
+ [2022-12-19 17:53:20,607] [INFO] [config.py:1024:print] use_node_local_storage ....... False
6396
+ [2022-12-19 17:53:20,607] [INFO] [config.py:1024:print] wall_clock_breakdown ......... False
6397
+ [2022-12-19 17:53:20,607] [INFO] [config.py:1024:print] world_size ................... 1
6398
+ [2022-12-19 17:53:20,607] [INFO] [config.py:1024:print] zero_allow_untested_optimizer False
6399
+ [2022-12-19 17:53:20,608] [INFO] [config.py:1024:print] zero_config .................. stage=2 contiguous_gradients=True reduce_scatter=True reduce_bucket_size=200000000 allgather_partitions=True allgather_bucket_size=200000000 overlap_comm=True load_from_fp32_weights=True elastic_checkpoint=False offload_param=None offload_optimizer=DeepSpeedZeroOffloadOptimizerConfig(device='cpu', nvme_path=None, buffer_count=4, pin_memory=True, pipeline=False, pipeline_read=False, pipeline_write=False, fast_init=False) sub_group_size=1,000,000,000 cpu_offload_param=None cpu_offload_use_pin_memory=None cpu_offload=None prefetch_bucket_size=50,000,000 param_persistence_threshold=100,000 model_persistence_threshold=sys.maxsize max_live_parameters=1,000,000,000 max_reuse_distance=1,000,000,000 gather_16bit_weights_on_model_save=False stage3_gather_fp16_weights_on_model_save=False ignore_unused_parameters=True legacy_stage1=False round_robin_gradients=False
6400
+ [2022-12-19 17:53:20,608] [INFO] [config.py:1024:print] zero_enabled ................. True
6401
+ [2022-12-19 17:53:20,608] [INFO] [config.py:1024:print] zero_optimization_stage ...... 2
6402
+ [2022-12-19 17:53:20,608] [INFO] [config.py:1009:print_user_config] json = {
6403
+ "fp16": {
6404
+ "enabled": true,
6405
+ "loss_scale": 0,
6406
+ "loss_scale_window": 1000,
6407
+ "initial_scale_power": 16,
6408
+ "hysteresis": 2,
6409
+ "min_loss_scale": 1
6410
+ },
6411
+ "optimizer": {
6412
+ "type": "AdamW",
6413
+ "params": {
6414
+ "lr": 1e-05,
6415
+ "betas": [0.9, 0.999],
6416
+ "eps": 1e-08,
6417
+ "weight_decay": 0.0
6418
+ }
6419
+ },
6420
+ "scheduler": {
6421
+ "type": "WarmupDecayLR",
6422
+ "params": {
6423
+ "last_batch_iteration": -1,
6424
+ "total_num_steps": 5.000000e+03,
6425
+ "warmup_min_lr": 0,
6426
+ "warmup_max_lr": 1e-05,
6427
+ "warmup_num_steps": 500
6428
+ }
6429
+ },
6430
+ "zero_optimization": {
6431
+ "stage": 2,
6432
+ "offload_optimizer": {
6433
+ "device": "cpu",
6434
+ "pin_memory": true
6435
+ },
6436
+ "allgather_partitions": true,
6437
+ "allgather_bucket_size": 2.000000e+08,
6438
+ "overlap_comm": true,
6439
+ "reduce_scatter": true,
6440
+ "reduce_bucket_size": 2.000000e+08,
6441
+ "contiguous_gradients": true
6442
+ },
6443
+ "gradient_accumulation_steps": 2,
6444
+ "gradient_clipping": 1.0,
6445
+ "train_batch_size": 64,
6446
+ "train_micro_batch_size_per_gpu": 32
6447
+ }
6448
+ Time to load utils op: 0.0003173351287841797 seconds
6449
+ [2022-12-19 17:53:20,609] [INFO] [torch_checkpoint_engine.py:21:load] [Torch] Loading checkpoint from ./checkpoint-4000/global_step4015/mp_rank_00_model_states.pt...
6450
+ [2022-12-19 17:53:21,616] [INFO] [torch_checkpoint_engine.py:23:load] [Torch] Loaded checkpoint from ./checkpoint-4000/global_step4015/mp_rank_00_model_states.pt.
6451
+ [2022-12-19 17:53:21,742] [INFO] [torch_checkpoint_engine.py:21:load] [Torch] Loading checkpoint from ./checkpoint-4000/global_step4015/mp_rank_00_model_states.pt...
6452
+ [2022-12-19 17:53:22,870] [INFO] [torch_checkpoint_engine.py:23:load] [Torch] Loaded checkpoint from ./checkpoint-4000/global_step4015/mp_rank_00_model_states.pt.
6453
+ [2022-12-19 17:53:23,240] [INFO] [torch_checkpoint_engine.py:21:load] [Torch] Loading checkpoint from ./checkpoint-4000/global_step4015/zero_pp_rank_0_mp_rank_00_optim_states.pt...
6454
+ [2022-12-19 17:53:29,120] [INFO] [torch_checkpoint_engine.py:23:load] [Torch] Loaded checkpoint from ./checkpoint-4000/global_step4015/zero_pp_rank_0_mp_rank_00_optim_states.pt.
6455
+ [2022-12-19 17:53:29,120] [INFO] [engine.py:2900:_get_all_zero_checkpoint_state_dicts] successfully read 1 ZeRO state_dicts for rank 0
6456
+ [2022-12-19 17:53:30,350] [INFO] [engine.py:2840:_load_zero_checkpoint] loading 1 zero partition checkpoints for rank 0
6457
+ {'train_runtime': 64619.8702, 'train_samples_per_second': 4.952, 'train_steps_per_second': 0.077, 'train_loss': 0.01643497463464737, 'epoch': 37.59}
runs/Dec18_23-21-30_129-146-123-136/events.out.tfevents.1671407791.129-146-123-136.1701007.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:83c8f3ae9456db2cea61dd231e8ca0da01fb77066a4bb46d6ff0367742a9e0e9
3
- size 37257
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e5ab7d6f2245124021d2524cec318217a410cc12580935f564208ccf36be80cc
3
+ size 37611