mikr commited on
Commit
c72c9a2
1 Parent(s): a58d07b

Model save

Browse files
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a626ab59214135a4639733834b1ffee1fbdd756a904f1c37bf8af0db9241536a
3
  size 1527847357
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:08cc2ec011c811ff7d043246d20df358e7a2ca734ce96c3bca905e4a7bf8844b
3
  size 1527847357
run.log CHANGED
@@ -6186,3 +6186,199 @@ Time to load utils op: 0.00036025047302246094 seconds
6186
  [2022-12-20 03:44:54,246] [INFO] [torch_checkpoint_engine.py:17:save] [Torch] Saved ./checkpoint-5000/global_step5000/zero_pp_rank_0_mp_rank_00_optim_states.pt.
6187
  [2022-12-20 03:44:54,246] [INFO] [engine.py:3269:_save_zero_checkpoint] zero checkpoint saved ./checkpoint-5000/global_step5000/zero_pp_rank_0_mp_rank_00_optim_states.pt
6188
  [2022-12-20 03:44:54,246] [INFO] [torch_checkpoint_engine.py:27:commit] [Torch] Checkpoint global_step5000 is ready now!
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6186
  [2022-12-20 03:44:54,246] [INFO] [torch_checkpoint_engine.py:17:save] [Torch] Saved ./checkpoint-5000/global_step5000/zero_pp_rank_0_mp_rank_00_optim_states.pt.
6187
  [2022-12-20 03:44:54,246] [INFO] [engine.py:3269:_save_zero_checkpoint] zero checkpoint saved ./checkpoint-5000/global_step5000/zero_pp_rank_0_mp_rank_00_optim_states.pt
6188
  [2022-12-20 03:44:54,246] [INFO] [torch_checkpoint_engine.py:27:commit] [Torch] Checkpoint global_step5000 is ready now!
6189
+ [2022-12-20 03:46:14,829] [INFO] [logging.py:68:log_dist] [Rank 0] DeepSpeed info: version=0.7.7, git-hash=unknown, git-branch=unknown
6190
+ [2022-12-20 03:46:14,877] [INFO] [logging.py:68:log_dist] [Rank 0] DeepSpeed Flops Profiler Enabled: False
6191
+ [2022-12-20 03:46:16,211] [WARNING] [cpu_adam.py:83:__init__] FP16 params for CPUAdam may not work on AMD CPUs
6192
+ 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
6193
+ Time to load cpu_adam op: 2.9200432300567627 seconds
6194
+ Adam Optimizer #1 is created with AVX2 arithmetic capability.
6195
+ Config: alpha=0.000010, betas=(0.900000, 0.999000), weight_decay=0.000000, adam_w=1
6196
+ [2022-12-20 03:46:19,653] [INFO] [logging.py:68:log_dist] [Rank 0] Using DeepSpeed Optimizer param name adamw as basic optimizer
6197
+ [2022-12-20 03:46:19,826] [INFO] [logging.py:68:log_dist] [Rank 0] DeepSpeed Basic Optimizer = DeepSpeedCPUAdam
6198
+ [2022-12-20 03:46:19,826] [INFO] [utils.py:52:is_zero_supported_optimizer] Checking ZeRO support for optimizer=DeepSpeedCPUAdam type=<class 'deepspeed.ops.adam.cpu_adam.DeepSpeedCPUAdam'>
6199
+ [2022-12-20 03:46:19,826] [INFO] [logging.py:68:log_dist] [Rank 0] Creating fp16 ZeRO stage 2 optimizer
6200
+ [2022-12-20 03:46:19,826] [INFO] [stage_1_and_2.py:140:__init__] Reduce bucket size 200000000
6201
+ [2022-12-20 03:46:19,826] [INFO] [stage_1_and_2.py:141:__init__] Allgather bucket size 200000000
6202
+ [2022-12-20 03:46:19,826] [INFO] [stage_1_and_2.py:142:__init__] CPU Offload: True
6203
+ [2022-12-20 03:46:19,826] [INFO] [stage_1_and_2.py:143:__init__] Round robin gradient partitioning: False
6204
+ Time to load utils op: 0.0003986358642578125 seconds
6205
+ Rank: 0 partition count [1] and sizes[(763857920, False)]
6206
+ [2022-12-20 03:46:21,910] [INFO] [utils.py:827:see_memory_usage] Before initializing optimizer states
6207
+ [2022-12-20 03:46:21,911] [INFO] [utils.py:828:see_memory_usage] MA 3.04 GB Max_MA 26.06 GB CA 31.32 GB Max_CA 31 GB
6208
+ [2022-12-20 03:46:21,911] [INFO] [utils.py:836:see_memory_usage] CPU Virtual Memory: used = 25.7 GB, percent = 13.1%
6209
+ [2022-12-20 03:46:23,916] [INFO] [utils.py:827:see_memory_usage] After initializing optimizer states
6210
+ [2022-12-20 03:46:23,917] [INFO] [utils.py:828:see_memory_usage] MA 3.04 GB Max_MA 3.04 GB CA 31.32 GB Max_CA 31 GB
6211
+ [2022-12-20 03:46:23,917] [INFO] [utils.py:836:see_memory_usage] CPU Virtual Memory: used = 35.47 GB, percent = 18.0%
6212
+ [2022-12-20 03:46:23,917] [INFO] [stage_1_and_2.py:525:__init__] optimizer state initialized
6213
+ [2022-12-20 03:46:23,992] [INFO] [utils.py:827:see_memory_usage] After initializing ZeRO optimizer
6214
+ [2022-12-20 03:46:23,993] [INFO] [utils.py:828:see_memory_usage] MA 3.04 GB Max_MA 3.04 GB CA 31.32 GB Max_CA 31 GB
6215
+ [2022-12-20 03:46:23,993] [INFO] [utils.py:836:see_memory_usage] CPU Virtual Memory: used = 35.46 GB, percent = 18.0%
6216
+ [2022-12-20 03:46:24,015] [INFO] [logging.py:68:log_dist] [Rank 0] DeepSpeed Final Optimizer = adamw
6217
+ [2022-12-20 03:46:24,015] [INFO] [logging.py:68:log_dist] [Rank 0] DeepSpeed using configured LR scheduler = WarmupDecayLR
6218
+ [2022-12-20 03:46:24,015] [INFO] [logging.py:68:log_dist] [Rank 0] DeepSpeed LR Scheduler = <deepspeed.runtime.lr_schedules.WarmupDecayLR object at 0x7f4e13a4deb0>
6219
+ [2022-12-20 03:46:24,016] [INFO] [logging.py:68:log_dist] [Rank 0] step=0, skipped=0, lr=[1e-05], mom=[[0.9, 0.999]]
6220
+ [2022-12-20 03:46:24,017] [INFO] [config.py:1020:print] DeepSpeedEngine configuration:
6221
+ [2022-12-20 03:46:24,017] [INFO] [config.py:1024:print] activation_checkpointing_config {
6222
+ "partition_activations": false,
6223
+ "contiguous_memory_optimization": false,
6224
+ "cpu_checkpointing": false,
6225
+ "number_checkpoints": null,
6226
+ "synchronize_checkpoint_boundary": false,
6227
+ "profile": false
6228
+ }
6229
+ [2022-12-20 03:46:24,017] [INFO] [config.py:1024:print] aio_config ................... {'block_size': 1048576, 'queue_depth': 8, 'thread_count': 1, 'single_submit': False, 'overlap_events': True}
6230
+ [2022-12-20 03:46:24,017] [INFO] [config.py:1024:print] amp_enabled .................. False
6231
+ [2022-12-20 03:46:24,017] [INFO] [config.py:1024:print] amp_params ................... False
6232
+ [2022-12-20 03:46:24,017] [INFO] [config.py:1024:print] autotuning_config ............ {
6233
+ "enabled": false,
6234
+ "start_step": null,
6235
+ "end_step": null,
6236
+ "metric_path": null,
6237
+ "arg_mappings": null,
6238
+ "metric": "throughput",
6239
+ "model_info": null,
6240
+ "results_dir": "autotuning_results",
6241
+ "exps_dir": "autotuning_exps",
6242
+ "overwrite": true,
6243
+ "fast": true,
6244
+ "start_profile_step": 3,
6245
+ "end_profile_step": 5,
6246
+ "tuner_type": "gridsearch",
6247
+ "tuner_early_stopping": 5,
6248
+ "tuner_num_trials": 50,
6249
+ "model_info_path": null,
6250
+ "mp_size": 1,
6251
+ "max_train_batch_size": null,
6252
+ "min_train_batch_size": 1,
6253
+ "max_train_micro_batch_size_per_gpu": 1.024000e+03,
6254
+ "min_train_micro_batch_size_per_gpu": 1,
6255
+ "num_tuning_micro_batch_sizes": 3
6256
+ }
6257
+ [2022-12-20 03:46:24,017] [INFO] [config.py:1024:print] bfloat16_enabled ............. False
6258
+ [2022-12-20 03:46:24,017] [INFO] [config.py:1024:print] checkpoint_parallel_write_pipeline False
6259
+ [2022-12-20 03:46:24,017] [INFO] [config.py:1024:print] checkpoint_tag_validation_enabled True
6260
+ [2022-12-20 03:46:24,018] [INFO] [config.py:1024:print] checkpoint_tag_validation_fail False
6261
+ [2022-12-20 03:46:24,018] [INFO] [config.py:1024:print] comms_config ................. <deepspeed.comm.config.DeepSpeedCommsConfig object at 0x7f4c6b743fa0>
6262
+ [2022-12-20 03:46:24,018] [INFO] [config.py:1024:print] communication_data_type ...... None
6263
+ [2022-12-20 03:46:24,018] [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}}
6264
+ [2022-12-20 03:46:24,018] [INFO] [config.py:1024:print] curriculum_enabled ........... False
6265
+ [2022-12-20 03:46:24,018] [INFO] [config.py:1024:print] curriculum_params ............ False
6266
+ [2022-12-20 03:46:24,018] [INFO] [config.py:1024:print] dataloader_drop_last ......... False
6267
+ [2022-12-20 03:46:24,018] [INFO] [config.py:1024:print] disable_allgather ............ False
6268
+ [2022-12-20 03:46:24,018] [INFO] [config.py:1024:print] dump_state ................... False
6269
+ [2022-12-20 03:46:24,018] [INFO] [config.py:1024:print] dynamic_loss_scale_args ...... {'init_scale': 65536, 'scale_window': 1000, 'delayed_shift': 2, 'min_scale': 1}
6270
+ [2022-12-20 03:46:24,018] [INFO] [config.py:1024:print] eigenvalue_enabled ........... False
6271
+ [2022-12-20 03:46:24,018] [INFO] [config.py:1024:print] eigenvalue_gas_boundary_resolution 1
6272
+ [2022-12-20 03:46:24,018] [INFO] [config.py:1024:print] eigenvalue_layer_name ........ bert.encoder.layer
6273
+ [2022-12-20 03:46:24,018] [INFO] [config.py:1024:print] eigenvalue_layer_num ......... 0
6274
+ [2022-12-20 03:46:24,018] [INFO] [config.py:1024:print] eigenvalue_max_iter .......... 100
6275
+ [2022-12-20 03:46:24,018] [INFO] [config.py:1024:print] eigenvalue_stability ......... 1e-06
6276
+ [2022-12-20 03:46:24,018] [INFO] [config.py:1024:print] eigenvalue_tol ............... 0.01
6277
+ [2022-12-20 03:46:24,018] [INFO] [config.py:1024:print] eigenvalue_verbose ........... False
6278
+ [2022-12-20 03:46:24,018] [INFO] [config.py:1024:print] elasticity_enabled ........... False
6279
+ [2022-12-20 03:46:24,018] [INFO] [config.py:1024:print] flops_profiler_config ........ {
6280
+ "enabled": false,
6281
+ "profile_step": 1,
6282
+ "module_depth": -1,
6283
+ "top_modules": 1,
6284
+ "detailed": true,
6285
+ "output_file": null
6286
+ }
6287
+ [2022-12-20 03:46:24,018] [INFO] [config.py:1024:print] fp16_auto_cast ............... False
6288
+ [2022-12-20 03:46:24,018] [INFO] [config.py:1024:print] fp16_enabled ................. True
6289
+ [2022-12-20 03:46:24,018] [INFO] [config.py:1024:print] fp16_master_weights_and_gradients False
6290
+ [2022-12-20 03:46:24,018] [INFO] [config.py:1024:print] global_rank .................. 0
6291
+ [2022-12-20 03:46:24,018] [INFO] [config.py:1024:print] grad_accum_dtype ............. None
6292
+ [2022-12-20 03:46:24,018] [INFO] [config.py:1024:print] gradient_accumulation_steps .. 1
6293
+ [2022-12-20 03:46:24,018] [INFO] [config.py:1024:print] gradient_clipping ............ 1.0
6294
+ [2022-12-20 03:46:24,018] [INFO] [config.py:1024:print] gradient_predivide_factor .... 1.0
6295
+ [2022-12-20 03:46:24,018] [INFO] [config.py:1024:print] initial_dynamic_scale ........ 65536
6296
+ [2022-12-20 03:46:24,018] [INFO] [config.py:1024:print] load_universal_checkpoint .... False
6297
+ [2022-12-20 03:46:24,018] [INFO] [config.py:1024:print] loss_scale ................... 0
6298
+ [2022-12-20 03:46:24,018] [INFO] [config.py:1024:print] memory_breakdown ............. False
6299
+ [2022-12-20 03:46:24,018] [INFO] [config.py:1024:print] monitor_config ............... <deepspeed.monitor.config.DeepSpeedMonitorConfig object at 0x7f4c6b721460>
6300
+ [2022-12-20 03:46:24,018] [INFO] [config.py:1024:print] nebula_config ................ {
6301
+ "enabled": false,
6302
+ "persistent_storage_path": null,
6303
+ "persistent_time_interval": 100,
6304
+ "num_of_version_in_retention": 2,
6305
+ "enable_nebula_load": true,
6306
+ "load_path": null
6307
+ }
6308
+ [2022-12-20 03:46:24,019] [INFO] [config.py:1024:print] optimizer_legacy_fusion ...... False
6309
+ [2022-12-20 03:46:24,019] [INFO] [config.py:1024:print] optimizer_name ............... adamw
6310
+ [2022-12-20 03:46:24,019] [INFO] [config.py:1024:print] optimizer_params ............. {'lr': 1e-05, 'betas': [0.9, 0.999], 'eps': 1e-08, 'weight_decay': 0.0}
6311
+ [2022-12-20 03:46:24,019] [INFO] [config.py:1024:print] pipeline ..................... {'stages': 'auto', 'partition': 'best', 'seed_layers': False, 'activation_checkpoint_interval': 0}
6312
+ [2022-12-20 03:46:24,019] [INFO] [config.py:1024:print] pld_enabled .................. False
6313
+ [2022-12-20 03:46:24,019] [INFO] [config.py:1024:print] pld_params ................... False
6314
+ [2022-12-20 03:46:24,019] [INFO] [config.py:1024:print] prescale_gradients ........... False
6315
+ [2022-12-20 03:46:24,019] [INFO] [config.py:1024:print] scheduler_name ............... WarmupDecayLR
6316
+ [2022-12-20 03:46:24,019] [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}
6317
+ [2022-12-20 03:46:24,019] [INFO] [config.py:1024:print] sparse_attention ............. None
6318
+ [2022-12-20 03:46:24,019] [INFO] [config.py:1024:print] sparse_gradients_enabled ..... False
6319
+ [2022-12-20 03:46:24,019] [INFO] [config.py:1024:print] steps_per_print .............. 10
6320
+ [2022-12-20 03:46:24,019] [INFO] [config.py:1024:print] train_batch_size ............. 64
6321
+ [2022-12-20 03:46:24,019] [INFO] [config.py:1024:print] train_micro_batch_size_per_gpu 64
6322
+ [2022-12-20 03:46:24,019] [INFO] [config.py:1024:print] use_node_local_storage ....... False
6323
+ [2022-12-20 03:46:24,019] [INFO] [config.py:1024:print] wall_clock_breakdown ......... False
6324
+ [2022-12-20 03:46:24,019] [INFO] [config.py:1024:print] world_size ................... 1
6325
+ [2022-12-20 03:46:24,019] [INFO] [config.py:1024:print] zero_allow_untested_optimizer False
6326
+ [2022-12-20 03:46:24,019] [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
6327
+ [2022-12-20 03:46:24,019] [INFO] [config.py:1024:print] zero_enabled ................. True
6328
+ [2022-12-20 03:46:24,019] [INFO] [config.py:1024:print] zero_optimization_stage ...... 2
6329
+ [2022-12-20 03:46:24,019] [INFO] [config.py:1009:print_user_config] json = {
6330
+ "fp16": {
6331
+ "enabled": true,
6332
+ "loss_scale": 0,
6333
+ "loss_scale_window": 1000,
6334
+ "initial_scale_power": 16,
6335
+ "hysteresis": 2,
6336
+ "min_loss_scale": 1
6337
+ },
6338
+ "optimizer": {
6339
+ "type": "AdamW",
6340
+ "params": {
6341
+ "lr": 1e-05,
6342
+ "betas": [0.9, 0.999],
6343
+ "eps": 1e-08,
6344
+ "weight_decay": 0.0
6345
+ }
6346
+ },
6347
+ "scheduler": {
6348
+ "type": "WarmupDecayLR",
6349
+ "params": {
6350
+ "last_batch_iteration": -1,
6351
+ "total_num_steps": 5.000000e+03,
6352
+ "warmup_min_lr": 0,
6353
+ "warmup_max_lr": 1e-05,
6354
+ "warmup_num_steps": 500
6355
+ }
6356
+ },
6357
+ "zero_optimization": {
6358
+ "stage": 2,
6359
+ "offload_optimizer": {
6360
+ "device": "cpu",
6361
+ "pin_memory": true
6362
+ },
6363
+ "allgather_partitions": true,
6364
+ "allgather_bucket_size": 2.000000e+08,
6365
+ "overlap_comm": true,
6366
+ "reduce_scatter": true,
6367
+ "reduce_bucket_size": 2.000000e+08,
6368
+ "contiguous_gradients": true
6369
+ },
6370
+ "gradient_accumulation_steps": 1,
6371
+ "gradient_clipping": 1.0,
6372
+ "train_batch_size": 64,
6373
+ "train_micro_batch_size_per_gpu": 64
6374
+ }
6375
+ Time to load utils op: 0.0003142356872558594 seconds
6376
+ [2022-12-20 03:46:24,020] [INFO] [torch_checkpoint_engine.py:21:load] [Torch] Loading checkpoint from ./checkpoint-3000/global_step3000/mp_rank_00_model_states.pt...
6377
+ [2022-12-20 03:46:24,545] [INFO] [torch_checkpoint_engine.py:23:load] [Torch] Loaded checkpoint from ./checkpoint-3000/global_step3000/mp_rank_00_model_states.pt.
6378
+ [2022-12-20 03:46:24,607] [INFO] [torch_checkpoint_engine.py:21:load] [Torch] Loading checkpoint from ./checkpoint-3000/global_step3000/mp_rank_00_model_states.pt...
6379
+ [2022-12-20 03:46:25,147] [INFO] [torch_checkpoint_engine.py:23:load] [Torch] Loaded checkpoint from ./checkpoint-3000/global_step3000/mp_rank_00_model_states.pt.
6380
+ [2022-12-20 03:46:25,353] [INFO] [torch_checkpoint_engine.py:21:load] [Torch] Loading checkpoint from ./checkpoint-3000/global_step3000/zero_pp_rank_0_mp_rank_00_optim_states.pt...
6381
+ [2022-12-20 03:46:28,248] [INFO] [torch_checkpoint_engine.py:23:load] [Torch] Loaded checkpoint from ./checkpoint-3000/global_step3000/zero_pp_rank_0_mp_rank_00_optim_states.pt.
6382
+ [2022-12-20 03:46:28,248] [INFO] [engine.py:2900:_get_all_zero_checkpoint_state_dicts] successfully read 1 ZeRO state_dicts for rank 0
6383
+ [2022-12-20 03:46:28,935] [INFO] [engine.py:2840:_load_zero_checkpoint] loading 1 zero partition checkpoints for rank 0
6384
+ {'train_runtime': 33627.3667, 'train_samples_per_second': 9.516, 'train_steps_per_second': 0.149, 'train_loss': 0.007872294521331787, 'epoch': 131.58}
runs/Dec19_18-22-27_129-146-123-136/events.out.tfevents.1671474361.129-146-123-136.2301567.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:efe9297eba58a227a14a1ff9018bb0ed0eb2c8fb417e82ae0363373d51796e3a
3
- size 37256
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:72246e8cc8de08eb3374c0688291de06395d7eeb1554935704ed79483e45b53b
3
+ size 37610