mikr commited on
Commit
50c3b81
1 Parent(s): fb1802a

Model save

Browse files
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9e1062e0a39ac80eef975c1aeed734d737cb5183f243dac42da4ea28a58928cc
3
  size 483536061
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:154295da2b680e283731469d66fb3552823d07524d02e1453e1606abef5b5318
3
  size 483536061
run.log CHANGED
@@ -1675,3 +1675,196 @@ Rank: 0 partition count [1] and sizes[(241734912, False)]
1675
  [2022-12-19 10:31:15,938] [INFO] [torch_checkpoint_engine.py:17:save] [Torch] Saved ./checkpoint-5000/global_step5000/zero_pp_rank_0_mp_rank_00_optim_states.pt.
1676
  [2022-12-19 10:31:15,939] [INFO] [engine.py:3394:_save_zero_checkpoint] zero checkpoint saved ./checkpoint-5000/global_step5000/zero_pp_rank_0_mp_rank_00_optim_states.pt
1677
  [2022-12-19 10:31:15,939] [INFO] [torch_checkpoint_engine.py:27:commit] [Torch] Checkpoint global_step5000 is ready now!
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1675
  [2022-12-19 10:31:15,938] [INFO] [torch_checkpoint_engine.py:17:save] [Torch] Saved ./checkpoint-5000/global_step5000/zero_pp_rank_0_mp_rank_00_optim_states.pt.
1676
  [2022-12-19 10:31:15,939] [INFO] [engine.py:3394:_save_zero_checkpoint] zero checkpoint saved ./checkpoint-5000/global_step5000/zero_pp_rank_0_mp_rank_00_optim_states.pt
1677
  [2022-12-19 10:31:15,939] [INFO] [torch_checkpoint_engine.py:27:commit] [Torch] Checkpoint global_step5000 is ready now!
1678
+ [2022-12-19 10:32:38,091] [INFO] [logging.py:68:log_dist] [Rank 0] DeepSpeed info: version=0.8.0+a25c31b6, git-hash=a25c31b6, git-branch=master
1679
+ [2022-12-19 10:32:38,141] [INFO] [logging.py:68:log_dist] [Rank 0] DeepSpeed Flops Profiler Enabled: False
1680
+ Adam Optimizer #1 is created with AVX2 arithmetic capability.
1681
+ Config: alpha=0.000010, betas=(0.900000, 0.999000), weight_decay=0.000000, adam_w=1
1682
+ [2022-12-19 10:32:40,431] [INFO] [logging.py:68:log_dist] [Rank 0] Using DeepSpeed Optimizer param name adamw as basic optimizer
1683
+ [2022-12-19 10:32:40,476] [INFO] [logging.py:68:log_dist] [Rank 0] DeepSpeed Basic Optimizer = DeepSpeedCPUAdam
1684
+ [2022-12-19 10:32:40,476] [INFO] [utils.py:52:is_zero_supported_optimizer] Checking ZeRO support for optimizer=DeepSpeedCPUAdam type=<class 'deepspeed.ops.adam.cpu_adam.DeepSpeedCPUAdam'>
1685
+ [2022-12-19 10:32:40,476] [INFO] [logging.py:68:log_dist] [Rank 0] Creating fp16 ZeRO stage 2 optimizer
1686
+ [2022-12-19 10:32:40,477] [INFO] [stage_1_and_2.py:141:__init__] Reduce bucket size 200000000
1687
+ [2022-12-19 10:32:40,477] [INFO] [stage_1_and_2.py:142:__init__] Allgather bucket size 200000000
1688
+ [2022-12-19 10:32:40,477] [INFO] [stage_1_and_2.py:143:__init__] CPU Offload: True
1689
+ [2022-12-19 10:32:40,477] [INFO] [stage_1_and_2.py:144:__init__] Round robin gradient partitioning: False
1690
+ Rank: 0 partition count [1] and sizes[(241734912, False)]
1691
+ [2022-12-19 10:32:42,063] [INFO] [utils.py:831:see_memory_usage] Before initializing optimizer states
1692
+ [2022-12-19 10:32:42,065] [INFO] [utils.py:832:see_memory_usage] MA 1.05 GB Max_MA 17.47 GB CA 1.05 GB Max_CA 22 GB
1693
+ [2022-12-19 10:32:42,065] [INFO] [utils.py:840:see_memory_usage] CPU Virtual Memory: used = 192.83 GB, percent = 38.3%
1694
+ [2022-12-19 10:32:43,144] [INFO] [utils.py:831:see_memory_usage] After initializing optimizer states
1695
+ [2022-12-19 10:32:43,145] [INFO] [utils.py:832:see_memory_usage] MA 1.05 GB Max_MA 1.05 GB CA 1.05 GB Max_CA 1 GB
1696
+ [2022-12-19 10:32:43,146] [INFO] [utils.py:840:see_memory_usage] CPU Virtual Memory: used = 195.68 GB, percent = 38.8%
1697
+ [2022-12-19 10:32:43,146] [INFO] [stage_1_and_2.py:527:__init__] optimizer state initialized
1698
+ [2022-12-19 10:32:43,225] [INFO] [utils.py:831:see_memory_usage] After initializing ZeRO optimizer
1699
+ [2022-12-19 10:32:43,226] [INFO] [utils.py:832:see_memory_usage] MA 1.05 GB Max_MA 1.05 GB CA 1.05 GB Max_CA 1 GB
1700
+ [2022-12-19 10:32:43,226] [INFO] [utils.py:840:see_memory_usage] CPU Virtual Memory: used = 195.68 GB, percent = 38.8%
1701
+ [2022-12-19 10:32:43,250] [INFO] [logging.py:68:log_dist] [Rank 0] DeepSpeed Final Optimizer = adamw
1702
+ [2022-12-19 10:32:43,250] [INFO] [logging.py:68:log_dist] [Rank 0] DeepSpeed using configured LR scheduler = WarmupDecayLR
1703
+ [2022-12-19 10:32:43,251] [INFO] [logging.py:68:log_dist] [Rank 0] DeepSpeed LR Scheduler = <deepspeed.runtime.lr_schedules.WarmupDecayLR object at 0x7ff11fd26280>
1704
+ [2022-12-19 10:32:43,251] [INFO] [logging.py:68:log_dist] [Rank 0] step=0, skipped=0, lr=[1e-05], mom=[[0.9, 0.999]]
1705
+ [2022-12-19 10:32:43,252] [INFO] [config.py:1008:print] DeepSpeedEngine configuration:
1706
+ [2022-12-19 10:32:43,252] [INFO] [config.py:1012:print] activation_checkpointing_config {
1707
+ "partition_activations": false,
1708
+ "contiguous_memory_optimization": false,
1709
+ "cpu_checkpointing": false,
1710
+ "number_checkpoints": null,
1711
+ "synchronize_checkpoint_boundary": false,
1712
+ "profile": false
1713
+ }
1714
+ [2022-12-19 10:32:43,252] [INFO] [config.py:1012:print] aio_config ................... {'block_size': 1048576, 'queue_depth': 8, 'thread_count': 1, 'single_submit': False, 'overlap_events': True}
1715
+ [2022-12-19 10:32:43,252] [INFO] [config.py:1012:print] amp_enabled .................. False
1716
+ [2022-12-19 10:32:43,252] [INFO] [config.py:1012:print] amp_params ................... False
1717
+ [2022-12-19 10:32:43,253] [INFO] [config.py:1012:print] autotuning_config ............ {
1718
+ "enabled": false,
1719
+ "start_step": null,
1720
+ "end_step": null,
1721
+ "metric_path": null,
1722
+ "arg_mappings": null,
1723
+ "metric": "throughput",
1724
+ "model_info": null,
1725
+ "results_dir": "autotuning_results",
1726
+ "exps_dir": "autotuning_exps",
1727
+ "overwrite": true,
1728
+ "fast": true,
1729
+ "start_profile_step": 3,
1730
+ "end_profile_step": 5,
1731
+ "tuner_type": "gridsearch",
1732
+ "tuner_early_stopping": 5,
1733
+ "tuner_num_trials": 50,
1734
+ "model_info_path": null,
1735
+ "mp_size": 1,
1736
+ "max_train_batch_size": null,
1737
+ "min_train_batch_size": 1,
1738
+ "max_train_micro_batch_size_per_gpu": 1.024000e+03,
1739
+ "min_train_micro_batch_size_per_gpu": 1,
1740
+ "num_tuning_micro_batch_sizes": 3
1741
+ }
1742
+ [2022-12-19 10:32:43,253] [INFO] [config.py:1012:print] bfloat16_enabled ............. False
1743
+ [2022-12-19 10:32:43,253] [INFO] [config.py:1012:print] checkpoint_parallel_write_pipeline False
1744
+ [2022-12-19 10:32:43,253] [INFO] [config.py:1012:print] checkpoint_tag_validation_enabled True
1745
+ [2022-12-19 10:32:43,253] [INFO] [config.py:1012:print] checkpoint_tag_validation_fail False
1746
+ [2022-12-19 10:32:43,253] [INFO] [config.py:1012:print] comms_config ................. <deepspeed.comm.config.DeepSpeedCommsConfig object at 0x7ff04cccfca0>
1747
+ [2022-12-19 10:32:43,253] [INFO] [config.py:1012:print] communication_data_type ...... None
1748
+ [2022-12-19 10:32:43,253] [INFO] [config.py:1012: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}}
1749
+ [2022-12-19 10:32:43,253] [INFO] [config.py:1012:print] curriculum_enabled_legacy .... False
1750
+ [2022-12-19 10:32:43,253] [INFO] [config.py:1012:print] curriculum_params_legacy ..... False
1751
+ [2022-12-19 10:32:43,253] [INFO] [config.py:1012:print] data_efficiency_config ....... {'enabled': False, 'seed': 1234, 'data_sampling': {'enabled': False, 'num_epochs': 1000, 'num_workers': 0, 'curriculum_learning': {'enabled': False}}, 'data_routing': {'enabled': False, 'random_ltd': {'enabled': False, 'layer_token_lr_schedule': {'enabled': False}}}}
1752
+ [2022-12-19 10:32:43,253] [INFO] [config.py:1012:print] data_efficiency_enabled ...... False
1753
+ [2022-12-19 10:32:43,253] [INFO] [config.py:1012:print] dataloader_drop_last ......... False
1754
+ [2022-12-19 10:32:43,254] [INFO] [config.py:1012:print] disable_allgather ............ False
1755
+ [2022-12-19 10:32:43,254] [INFO] [config.py:1012:print] dump_state ................... False
1756
+ [2022-12-19 10:32:43,254] [INFO] [config.py:1012:print] dynamic_loss_scale_args ...... {'init_scale': 65536, 'scale_window': 1000, 'delayed_shift': 2, 'min_scale': 1}
1757
+ [2022-12-19 10:32:43,254] [INFO] [config.py:1012:print] eigenvalue_enabled ........... False
1758
+ [2022-12-19 10:32:43,254] [INFO] [config.py:1012:print] eigenvalue_gas_boundary_resolution 1
1759
+ [2022-12-19 10:32:43,254] [INFO] [config.py:1012:print] eigenvalue_layer_name ........ bert.encoder.layer
1760
+ [2022-12-19 10:32:43,254] [INFO] [config.py:1012:print] eigenvalue_layer_num ......... 0
1761
+ [2022-12-19 10:32:43,254] [INFO] [config.py:1012:print] eigenvalue_max_iter .......... 100
1762
+ [2022-12-19 10:32:43,254] [INFO] [config.py:1012:print] eigenvalue_stability ......... 1e-06
1763
+ [2022-12-19 10:32:43,254] [INFO] [config.py:1012:print] eigenvalue_tol ............... 0.01
1764
+ [2022-12-19 10:32:43,254] [INFO] [config.py:1012:print] eigenvalue_verbose ........... False
1765
+ [2022-12-19 10:32:43,254] [INFO] [config.py:1012:print] elasticity_enabled ........... False
1766
+ [2022-12-19 10:32:43,254] [INFO] [config.py:1012:print] flops_profiler_config ........ {
1767
+ "enabled": false,
1768
+ "profile_step": 1,
1769
+ "module_depth": -1,
1770
+ "top_modules": 1,
1771
+ "detailed": true,
1772
+ "output_file": null
1773
+ }
1774
+ [2022-12-19 10:32:43,254] [INFO] [config.py:1012:print] fp16_auto_cast ............... False
1775
+ [2022-12-19 10:32:43,254] [INFO] [config.py:1012:print] fp16_enabled ................. True
1776
+ [2022-12-19 10:32:43,254] [INFO] [config.py:1012:print] fp16_master_weights_and_gradients False
1777
+ [2022-12-19 10:32:43,254] [INFO] [config.py:1012:print] global_rank .................. 0
1778
+ [2022-12-19 10:32:43,254] [INFO] [config.py:1012:print] grad_accum_dtype ............. None
1779
+ [2022-12-19 10:32:43,254] [INFO] [config.py:1012:print] gradient_accumulation_steps .. 1
1780
+ [2022-12-19 10:32:43,254] [INFO] [config.py:1012:print] gradient_clipping ............ 1.0
1781
+ [2022-12-19 10:32:43,254] [INFO] [config.py:1012:print] gradient_predivide_factor .... 1.0
1782
+ [2022-12-19 10:32:43,254] [INFO] [config.py:1012:print] initial_dynamic_scale ........ 65536
1783
+ [2022-12-19 10:32:43,255] [INFO] [config.py:1012:print] load_universal_checkpoint .... False
1784
+ [2022-12-19 10:32:43,255] [INFO] [config.py:1012:print] loss_scale ................... 0
1785
+ [2022-12-19 10:32:43,255] [INFO] [config.py:1012:print] memory_breakdown ............. False
1786
+ [2022-12-19 10:32:43,255] [INFO] [config.py:1012:print] monitor_config ............... <deepspeed.monitor.config.DeepSpeedMonitorConfig object at 0x7ff10e7c26a0>
1787
+ [2022-12-19 10:32:43,255] [INFO] [config.py:1012:print] nebula_config ................ {
1788
+ "enabled": false,
1789
+ "persistent_storage_path": null,
1790
+ "persistent_time_interval": 100,
1791
+ "num_of_version_in_retention": 2,
1792
+ "enable_nebula_load": true,
1793
+ "load_path": null
1794
+ }
1795
+ [2022-12-19 10:32:43,255] [INFO] [config.py:1012:print] optimizer_legacy_fusion ...... False
1796
+ [2022-12-19 10:32:43,255] [INFO] [config.py:1012:print] optimizer_name ............... adamw
1797
+ [2022-12-19 10:32:43,255] [INFO] [config.py:1012:print] optimizer_params ............. {'lr': 1e-05, 'betas': [0.9, 0.999], 'eps': 1e-08, 'weight_decay': 0.0}
1798
+ [2022-12-19 10:32:43,255] [INFO] [config.py:1012:print] pipeline ..................... {'stages': 'auto', 'partition': 'best', 'seed_layers': False, 'activation_checkpoint_interval': 0}
1799
+ [2022-12-19 10:32:43,255] [INFO] [config.py:1012:print] pld_enabled .................. False
1800
+ [2022-12-19 10:32:43,255] [INFO] [config.py:1012:print] pld_params ................... False
1801
+ [2022-12-19 10:32:43,255] [INFO] [config.py:1012:print] prescale_gradients ........... False
1802
+ [2022-12-19 10:32:43,255] [INFO] [config.py:1012:print] scheduler_name ............... WarmupDecayLR
1803
+ [2022-12-19 10:32:43,255] [INFO] [config.py:1012:print] scheduler_params ............. {'last_batch_iteration': -1, 'total_num_steps': 5000, 'warmup_min_lr': 0, 'warmup_max_lr': 1e-05, 'warmup_num_steps': 500}
1804
+ [2022-12-19 10:32:43,255] [INFO] [config.py:1012:print] sparse_attention ............. None
1805
+ [2022-12-19 10:32:43,255] [INFO] [config.py:1012:print] sparse_gradients_enabled ..... False
1806
+ [2022-12-19 10:32:43,255] [INFO] [config.py:1012:print] steps_per_print .............. 10
1807
+ [2022-12-19 10:32:43,255] [INFO] [config.py:1012:print] train_batch_size ............. 64
1808
+ [2022-12-19 10:32:43,255] [INFO] [config.py:1012:print] train_micro_batch_size_per_gpu 64
1809
+ [2022-12-19 10:32:43,255] [INFO] [config.py:1012:print] use_node_local_storage ....... False
1810
+ [2022-12-19 10:32:43,255] [INFO] [config.py:1012:print] wall_clock_breakdown ......... False
1811
+ [2022-12-19 10:32:43,256] [INFO] [config.py:1012:print] world_size ................... 1
1812
+ [2022-12-19 10:32:43,256] [INFO] [config.py:1012:print] zero_allow_untested_optimizer False
1813
+ [2022-12-19 10:32:43,256] [INFO] [config.py:1012: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
1814
+ [2022-12-19 10:32:43,256] [INFO] [config.py:1012:print] zero_enabled ................. True
1815
+ [2022-12-19 10:32:43,256] [INFO] [config.py:1012:print] zero_optimization_stage ...... 2
1816
+ [2022-12-19 10:32:43,256] [INFO] [config.py:997:print_user_config] json = {
1817
+ "fp16": {
1818
+ "enabled": true,
1819
+ "loss_scale": 0,
1820
+ "loss_scale_window": 1000,
1821
+ "initial_scale_power": 16,
1822
+ "hysteresis": 2,
1823
+ "min_loss_scale": 1
1824
+ },
1825
+ "optimizer": {
1826
+ "type": "AdamW",
1827
+ "params": {
1828
+ "lr": 1e-05,
1829
+ "betas": [0.9, 0.999],
1830
+ "eps": 1e-08,
1831
+ "weight_decay": 0.0
1832
+ }
1833
+ },
1834
+ "scheduler": {
1835
+ "type": "WarmupDecayLR",
1836
+ "params": {
1837
+ "last_batch_iteration": -1,
1838
+ "total_num_steps": 5.000000e+03,
1839
+ "warmup_min_lr": 0,
1840
+ "warmup_max_lr": 1e-05,
1841
+ "warmup_num_steps": 500
1842
+ }
1843
+ },
1844
+ "zero_optimization": {
1845
+ "stage": 2,
1846
+ "offload_optimizer": {
1847
+ "device": "cpu",
1848
+ "pin_memory": true
1849
+ },
1850
+ "allgather_partitions": true,
1851
+ "allgather_bucket_size": 2.000000e+08,
1852
+ "overlap_comm": true,
1853
+ "reduce_scatter": true,
1854
+ "reduce_bucket_size": 2.000000e+08,
1855
+ "contiguous_gradients": true
1856
+ },
1857
+ "gradient_accumulation_steps": 1,
1858
+ "gradient_clipping": 1.0,
1859
+ "train_batch_size": 64,
1860
+ "train_micro_batch_size_per_gpu": 64
1861
+ }
1862
+ [2022-12-19 10:32:43,257] [INFO] [torch_checkpoint_engine.py:21:load] [Torch] Loading checkpoint from ./checkpoint-1000/global_step1000/mp_rank_00_model_states.pt...
1863
+ [2022-12-19 10:32:44,286] [INFO] [torch_checkpoint_engine.py:23:load] [Torch] Loaded checkpoint from ./checkpoint-1000/global_step1000/mp_rank_00_model_states.pt.
1864
+ [2022-12-19 10:32:44,325] [INFO] [torch_checkpoint_engine.py:21:load] [Torch] Loading checkpoint from ./checkpoint-1000/global_step1000/mp_rank_00_model_states.pt...
1865
+ [2022-12-19 10:32:44,719] [INFO] [torch_checkpoint_engine.py:23:load] [Torch] Loaded checkpoint from ./checkpoint-1000/global_step1000/mp_rank_00_model_states.pt.
1866
+ [2022-12-19 10:32:44,876] [INFO] [torch_checkpoint_engine.py:21:load] [Torch] Loading checkpoint from ./checkpoint-1000/global_step1000/zero_pp_rank_0_mp_rank_00_optim_states.pt...
1867
+ [2022-12-19 10:32:51,167] [INFO] [torch_checkpoint_engine.py:23:load] [Torch] Loaded checkpoint from ./checkpoint-1000/global_step1000/zero_pp_rank_0_mp_rank_00_optim_states.pt.
1868
+ [2022-12-19 10:32:51,167] [INFO] [engine.py:3020:_get_all_zero_checkpoint_state_dicts] successfully read 1 ZeRO state_dicts for rank 0
1869
+ [2022-12-19 10:32:51,519] [INFO] [engine.py:2960:_load_zero_checkpoint] loading 1 zero partition checkpoints for rank 0
1870
+ {'train_runtime': 93041.5511, 'train_samples_per_second': 3.439, 'train_steps_per_second': 0.054, 'train_loss': 0.01692909588813782, 'epoch': 43.0}
runs/Dec18_08-41-04_fe2747a042f0/events.out.tfevents.1671381730.fe2747a042f0.46148.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:8902c3935bdd48437262f5153bb5bdab3bf7777a2e2193fb19c4db3fc98b8f31
3
- size 37251
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:26a1dea7f14529764adab070a99a58b7fbc4de1cae842b3ce15cccdc6d07cfa2
3
+ size 37605