mikr commited on
Commit
58795b4
1 Parent(s): a304cc6

Model save

Browse files
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:df4b119a6ba413fcd75e9151268d9b1bd9224a59cb7a6093c08491baee8c87fa
3
  size 1527847357
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0ef7688c017b088ba26acbe28727837ca3cb0d78d0b560405d7e1b451fe683fa
3
  size 1527847357
run.log CHANGED
@@ -1739,3 +1739,196 @@ Rank: 0 partition count [1] and sizes[(763857920, False)]
1739
  [2022-12-20 09:59:28,039] [INFO] [torch_checkpoint_engine.py:17:save] [Torch] Saved ./checkpoint-5000/global_step5000/zero_pp_rank_0_mp_rank_00_optim_states.pt.
1740
  [2022-12-20 09:59:28,048] [INFO] [engine.py:3394:_save_zero_checkpoint] zero checkpoint saved ./checkpoint-5000/global_step5000/zero_pp_rank_0_mp_rank_00_optim_states.pt
1741
  [2022-12-20 09:59:28,048] [INFO] [torch_checkpoint_engine.py:27:commit] [Torch] Checkpoint global_step5000 is ready now!
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1739
  [2022-12-20 09:59:28,039] [INFO] [torch_checkpoint_engine.py:17:save] [Torch] Saved ./checkpoint-5000/global_step5000/zero_pp_rank_0_mp_rank_00_optim_states.pt.
1740
  [2022-12-20 09:59:28,048] [INFO] [engine.py:3394:_save_zero_checkpoint] zero checkpoint saved ./checkpoint-5000/global_step5000/zero_pp_rank_0_mp_rank_00_optim_states.pt
1741
  [2022-12-20 09:59:28,048] [INFO] [torch_checkpoint_engine.py:27:commit] [Torch] Checkpoint global_step5000 is ready now!
1742
+ [2022-12-20 10:02:48,229] [INFO] [logging.py:68:log_dist] [Rank 0] DeepSpeed info: version=0.8.0+a25c31b6, git-hash=a25c31b6, git-branch=master
1743
+ [2022-12-20 10:02:48,322] [INFO] [logging.py:68:log_dist] [Rank 0] DeepSpeed Flops Profiler Enabled: False
1744
+ Adam Optimizer #1 is created with AVX2 arithmetic capability.
1745
+ Config: alpha=0.000010, betas=(0.900000, 0.999000), weight_decay=0.000000, adam_w=1
1746
+ [2022-12-20 10:02:50,625] [INFO] [logging.py:68:log_dist] [Rank 0] Using DeepSpeed Optimizer param name adamw as basic optimizer
1747
+ [2022-12-20 10:02:50,781] [INFO] [logging.py:68:log_dist] [Rank 0] DeepSpeed Basic Optimizer = DeepSpeedCPUAdam
1748
+ [2022-12-20 10:02:50,781] [INFO] [utils.py:52:is_zero_supported_optimizer] Checking ZeRO support for optimizer=DeepSpeedCPUAdam type=<class 'deepspeed.ops.adam.cpu_adam.DeepSpeedCPUAdam'>
1749
+ [2022-12-20 10:02:50,781] [INFO] [logging.py:68:log_dist] [Rank 0] Creating fp16 ZeRO stage 2 optimizer
1750
+ [2022-12-20 10:02:50,781] [INFO] [stage_1_and_2.py:141:__init__] Reduce bucket size 200000000
1751
+ [2022-12-20 10:02:50,781] [INFO] [stage_1_and_2.py:142:__init__] Allgather bucket size 200000000
1752
+ [2022-12-20 10:02:50,781] [INFO] [stage_1_and_2.py:143:__init__] CPU Offload: True
1753
+ [2022-12-20 10:02:50,781] [INFO] [stage_1_and_2.py:144:__init__] Round robin gradient partitioning: False
1754
+ Rank: 0 partition count [1] and sizes[(763857920, False)]
1755
+ [2022-12-20 10:02:54,600] [INFO] [utils.py:831:see_memory_usage] Before initializing optimizer states
1756
+ [2022-12-20 10:02:54,601] [INFO] [utils.py:832:see_memory_usage] MA 3.04 GB Max_MA 26.06 GB CA 3.05 GB Max_CA 30 GB
1757
+ [2022-12-20 10:02:54,601] [INFO] [utils.py:840:see_memory_usage] CPU Virtual Memory: used = 268.59 GB, percent = 53.3%
1758
+ [2022-12-20 10:02:57,860] [INFO] [utils.py:831:see_memory_usage] After initializing optimizer states
1759
+ [2022-12-20 10:02:57,861] [INFO] [utils.py:832:see_memory_usage] MA 3.04 GB Max_MA 3.04 GB CA 3.05 GB Max_CA 3 GB
1760
+ [2022-12-20 10:02:57,861] [INFO] [utils.py:840:see_memory_usage] CPU Virtual Memory: used = 278.51 GB, percent = 55.3%
1761
+ [2022-12-20 10:02:57,861] [INFO] [stage_1_and_2.py:527:__init__] optimizer state initialized
1762
+ [2022-12-20 10:02:57,938] [INFO] [utils.py:831:see_memory_usage] After initializing ZeRO optimizer
1763
+ [2022-12-20 10:02:57,939] [INFO] [utils.py:832:see_memory_usage] MA 3.04 GB Max_MA 3.04 GB CA 3.05 GB Max_CA 3 GB
1764
+ [2022-12-20 10:02:57,940] [INFO] [utils.py:840:see_memory_usage] CPU Virtual Memory: used = 278.52 GB, percent = 55.3%
1765
+ [2022-12-20 10:02:57,979] [INFO] [logging.py:68:log_dist] [Rank 0] DeepSpeed Final Optimizer = adamw
1766
+ [2022-12-20 10:02:57,980] [INFO] [logging.py:68:log_dist] [Rank 0] DeepSpeed using configured LR scheduler = WarmupDecayLR
1767
+ [2022-12-20 10:02:57,980] [INFO] [logging.py:68:log_dist] [Rank 0] DeepSpeed LR Scheduler = <deepspeed.runtime.lr_schedules.WarmupDecayLR object at 0x7f500a2eb3d0>
1768
+ [2022-12-20 10:02:57,980] [INFO] [logging.py:68:log_dist] [Rank 0] step=0, skipped=0, lr=[1e-05], mom=[[0.9, 0.999]]
1769
+ [2022-12-20 10:02:57,982] [INFO] [config.py:1008:print] DeepSpeedEngine configuration:
1770
+ [2022-12-20 10:02:57,982] [INFO] [config.py:1012:print] activation_checkpointing_config {
1771
+ "partition_activations": false,
1772
+ "contiguous_memory_optimization": false,
1773
+ "cpu_checkpointing": false,
1774
+ "number_checkpoints": null,
1775
+ "synchronize_checkpoint_boundary": false,
1776
+ "profile": false
1777
+ }
1778
+ [2022-12-20 10:02:57,982] [INFO] [config.py:1012:print] aio_config ................... {'block_size': 1048576, 'queue_depth': 8, 'thread_count': 1, 'single_submit': False, 'overlap_events': True}
1779
+ [2022-12-20 10:02:57,982] [INFO] [config.py:1012:print] amp_enabled .................. False
1780
+ [2022-12-20 10:02:57,982] [INFO] [config.py:1012:print] amp_params ................... False
1781
+ [2022-12-20 10:02:57,983] [INFO] [config.py:1012:print] autotuning_config ............ {
1782
+ "enabled": false,
1783
+ "start_step": null,
1784
+ "end_step": null,
1785
+ "metric_path": null,
1786
+ "arg_mappings": null,
1787
+ "metric": "throughput",
1788
+ "model_info": null,
1789
+ "results_dir": "autotuning_results",
1790
+ "exps_dir": "autotuning_exps",
1791
+ "overwrite": true,
1792
+ "fast": true,
1793
+ "start_profile_step": 3,
1794
+ "end_profile_step": 5,
1795
+ "tuner_type": "gridsearch",
1796
+ "tuner_early_stopping": 5,
1797
+ "tuner_num_trials": 50,
1798
+ "model_info_path": null,
1799
+ "mp_size": 1,
1800
+ "max_train_batch_size": null,
1801
+ "min_train_batch_size": 1,
1802
+ "max_train_micro_batch_size_per_gpu": 1.024000e+03,
1803
+ "min_train_micro_batch_size_per_gpu": 1,
1804
+ "num_tuning_micro_batch_sizes": 3
1805
+ }
1806
+ [2022-12-20 10:02:57,983] [INFO] [config.py:1012:print] bfloat16_enabled ............. False
1807
+ [2022-12-20 10:02:57,983] [INFO] [config.py:1012:print] checkpoint_parallel_write_pipeline False
1808
+ [2022-12-20 10:02:57,983] [INFO] [config.py:1012:print] checkpoint_tag_validation_enabled True
1809
+ [2022-12-20 10:02:57,983] [INFO] [config.py:1012:print] checkpoint_tag_validation_fail False
1810
+ [2022-12-20 10:02:57,983] [INFO] [config.py:1012:print] comms_config ................. <deepspeed.comm.config.DeepSpeedCommsConfig object at 0x7f500a2c0670>
1811
+ [2022-12-20 10:02:57,983] [INFO] [config.py:1012:print] communication_data_type ...... None
1812
+ [2022-12-20 10:02:57,983] [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}}
1813
+ [2022-12-20 10:02:57,983] [INFO] [config.py:1012:print] curriculum_enabled_legacy .... False
1814
+ [2022-12-20 10:02:57,983] [INFO] [config.py:1012:print] curriculum_params_legacy ..... False
1815
+ [2022-12-20 10:02:57,983] [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}}}}
1816
+ [2022-12-20 10:02:57,983] [INFO] [config.py:1012:print] data_efficiency_enabled ...... False
1817
+ [2022-12-20 10:02:57,983] [INFO] [config.py:1012:print] dataloader_drop_last ......... False
1818
+ [2022-12-20 10:02:57,983] [INFO] [config.py:1012:print] disable_allgather ............ False
1819
+ [2022-12-20 10:02:57,983] [INFO] [config.py:1012:print] dump_state ................... False
1820
+ [2022-12-20 10:02:57,983] [INFO] [config.py:1012:print] dynamic_loss_scale_args ...... {'init_scale': 65536, 'scale_window': 1000, 'delayed_shift': 2, 'min_scale': 1}
1821
+ [2022-12-20 10:02:57,983] [INFO] [config.py:1012:print] eigenvalue_enabled ........... False
1822
+ [2022-12-20 10:02:57,983] [INFO] [config.py:1012:print] eigenvalue_gas_boundary_resolution 1
1823
+ [2022-12-20 10:02:57,984] [INFO] [config.py:1012:print] eigenvalue_layer_name ........ bert.encoder.layer
1824
+ [2022-12-20 10:02:57,984] [INFO] [config.py:1012:print] eigenvalue_layer_num ......... 0
1825
+ [2022-12-20 10:02:57,984] [INFO] [config.py:1012:print] eigenvalue_max_iter .......... 100
1826
+ [2022-12-20 10:02:57,984] [INFO] [config.py:1012:print] eigenvalue_stability ......... 1e-06
1827
+ [2022-12-20 10:02:57,984] [INFO] [config.py:1012:print] eigenvalue_tol ............... 0.01
1828
+ [2022-12-20 10:02:57,984] [INFO] [config.py:1012:print] eigenvalue_verbose ........... False
1829
+ [2022-12-20 10:02:57,984] [INFO] [config.py:1012:print] elasticity_enabled ........... False
1830
+ [2022-12-20 10:02:57,984] [INFO] [config.py:1012:print] flops_profiler_config ........ {
1831
+ "enabled": false,
1832
+ "profile_step": 1,
1833
+ "module_depth": -1,
1834
+ "top_modules": 1,
1835
+ "detailed": true,
1836
+ "output_file": null
1837
+ }
1838
+ [2022-12-20 10:02:57,984] [INFO] [config.py:1012:print] fp16_auto_cast ............... False
1839
+ [2022-12-20 10:02:57,984] [INFO] [config.py:1012:print] fp16_enabled ................. True
1840
+ [2022-12-20 10:02:57,984] [INFO] [config.py:1012:print] fp16_master_weights_and_gradients False
1841
+ [2022-12-20 10:02:57,984] [INFO] [config.py:1012:print] global_rank .................. 0
1842
+ [2022-12-20 10:02:57,984] [INFO] [config.py:1012:print] grad_accum_dtype ............. None
1843
+ [2022-12-20 10:02:57,984] [INFO] [config.py:1012:print] gradient_accumulation_steps .. 1
1844
+ [2022-12-20 10:02:57,984] [INFO] [config.py:1012:print] gradient_clipping ............ 1.0
1845
+ [2022-12-20 10:02:57,984] [INFO] [config.py:1012:print] gradient_predivide_factor .... 1.0
1846
+ [2022-12-20 10:02:57,984] [INFO] [config.py:1012:print] initial_dynamic_scale ........ 65536
1847
+ [2022-12-20 10:02:57,984] [INFO] [config.py:1012:print] load_universal_checkpoint .... False
1848
+ [2022-12-20 10:02:57,984] [INFO] [config.py:1012:print] loss_scale ................... 0
1849
+ [2022-12-20 10:02:57,984] [INFO] [config.py:1012:print] memory_breakdown ............. False
1850
+ [2022-12-20 10:02:57,984] [INFO] [config.py:1012:print] monitor_config ............... <deepspeed.monitor.config.DeepSpeedMonitorConfig object at 0x7f500a2c0cd0>
1851
+ [2022-12-20 10:02:57,985] [INFO] [config.py:1012:print] nebula_config ................ {
1852
+ "enabled": false,
1853
+ "persistent_storage_path": null,
1854
+ "persistent_time_interval": 100,
1855
+ "num_of_version_in_retention": 2,
1856
+ "enable_nebula_load": true,
1857
+ "load_path": null
1858
+ }
1859
+ [2022-12-20 10:02:57,985] [INFO] [config.py:1012:print] optimizer_legacy_fusion ...... False
1860
+ [2022-12-20 10:02:57,985] [INFO] [config.py:1012:print] optimizer_name ............... adamw
1861
+ [2022-12-20 10:02:57,985] [INFO] [config.py:1012:print] optimizer_params ............. {'lr': 1e-05, 'betas': [0.9, 0.999], 'eps': 1e-08, 'weight_decay': 0.0}
1862
+ [2022-12-20 10:02:57,985] [INFO] [config.py:1012:print] pipeline ..................... {'stages': 'auto', 'partition': 'best', 'seed_layers': False, 'activation_checkpoint_interval': 0}
1863
+ [2022-12-20 10:02:57,985] [INFO] [config.py:1012:print] pld_enabled .................. False
1864
+ [2022-12-20 10:02:57,985] [INFO] [config.py:1012:print] pld_params ................... False
1865
+ [2022-12-20 10:02:57,985] [INFO] [config.py:1012:print] prescale_gradients ........... False
1866
+ [2022-12-20 10:02:57,985] [INFO] [config.py:1012:print] scheduler_name ............... WarmupDecayLR
1867
+ [2022-12-20 10:02:57,985] [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}
1868
+ [2022-12-20 10:02:57,985] [INFO] [config.py:1012:print] sparse_attention ............. None
1869
+ [2022-12-20 10:02:57,985] [INFO] [config.py:1012:print] sparse_gradients_enabled ..... False
1870
+ [2022-12-20 10:02:57,985] [INFO] [config.py:1012:print] steps_per_print .............. 10
1871
+ [2022-12-20 10:02:57,985] [INFO] [config.py:1012:print] train_batch_size ............. 64
1872
+ [2022-12-20 10:02:57,985] [INFO] [config.py:1012:print] train_micro_batch_size_per_gpu 64
1873
+ [2022-12-20 10:02:57,985] [INFO] [config.py:1012:print] use_node_local_storage ....... False
1874
+ [2022-12-20 10:02:57,985] [INFO] [config.py:1012:print] wall_clock_breakdown ......... False
1875
+ [2022-12-20 10:02:57,985] [INFO] [config.py:1012:print] world_size ................... 1
1876
+ [2022-12-20 10:02:57,985] [INFO] [config.py:1012:print] zero_allow_untested_optimizer False
1877
+ [2022-12-20 10:02:57,986] [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
1878
+ [2022-12-20 10:02:57,986] [INFO] [config.py:1012:print] zero_enabled ................. True
1879
+ [2022-12-20 10:02:57,986] [INFO] [config.py:1012:print] zero_optimization_stage ...... 2
1880
+ [2022-12-20 10:02:57,986] [INFO] [config.py:997:print_user_config] json = {
1881
+ "fp16": {
1882
+ "enabled": true,
1883
+ "loss_scale": 0,
1884
+ "loss_scale_window": 1000,
1885
+ "initial_scale_power": 16,
1886
+ "hysteresis": 2,
1887
+ "min_loss_scale": 1
1888
+ },
1889
+ "optimizer": {
1890
+ "type": "AdamW",
1891
+ "params": {
1892
+ "lr": 1e-05,
1893
+ "betas": [0.9, 0.999],
1894
+ "eps": 1e-08,
1895
+ "weight_decay": 0.0
1896
+ }
1897
+ },
1898
+ "scheduler": {
1899
+ "type": "WarmupDecayLR",
1900
+ "params": {
1901
+ "last_batch_iteration": -1,
1902
+ "total_num_steps": 5.000000e+03,
1903
+ "warmup_min_lr": 0,
1904
+ "warmup_max_lr": 1e-05,
1905
+ "warmup_num_steps": 500
1906
+ }
1907
+ },
1908
+ "zero_optimization": {
1909
+ "stage": 2,
1910
+ "offload_optimizer": {
1911
+ "device": "cpu",
1912
+ "pin_memory": true
1913
+ },
1914
+ "allgather_partitions": true,
1915
+ "allgather_bucket_size": 2.000000e+08,
1916
+ "overlap_comm": true,
1917
+ "reduce_scatter": true,
1918
+ "reduce_bucket_size": 2.000000e+08,
1919
+ "contiguous_gradients": true
1920
+ },
1921
+ "gradient_accumulation_steps": 1,
1922
+ "gradient_clipping": 1.0,
1923
+ "train_batch_size": 64,
1924
+ "train_micro_batch_size_per_gpu": 64
1925
+ }
1926
+ [2022-12-20 10:02:57,988] [INFO] [torch_checkpoint_engine.py:21:load] [Torch] Loading checkpoint from ./checkpoint-1000/global_step1000/mp_rank_00_model_states.pt...
1927
+ [2022-12-20 10:03:01,242] [INFO] [torch_checkpoint_engine.py:23:load] [Torch] Loaded checkpoint from ./checkpoint-1000/global_step1000/mp_rank_00_model_states.pt.
1928
+ [2022-12-20 10:03:01,317] [INFO] [torch_checkpoint_engine.py:21:load] [Torch] Loading checkpoint from ./checkpoint-1000/global_step1000/mp_rank_00_model_states.pt...
1929
+ [2022-12-20 10:03:02,262] [INFO] [torch_checkpoint_engine.py:23:load] [Torch] Loaded checkpoint from ./checkpoint-1000/global_step1000/mp_rank_00_model_states.pt.
1930
+ [2022-12-20 10:03:02,628] [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...
1931
+ [2022-12-20 10:03:22,658] [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.
1932
+ [2022-12-20 10:03:22,658] [INFO] [engine.py:3020:_get_all_zero_checkpoint_state_dicts] successfully read 1 ZeRO state_dicts for rank 0
1933
+ [2022-12-20 10:03:23,547] [INFO] [engine.py:2960:_load_zero_checkpoint] loading 1 zero partition checkpoints for rank 0
1934
+ {'train_runtime': 79780.349, 'train_samples_per_second': 4.011, 'train_steps_per_second': 0.063, 'train_loss': 0.011088945543766021, 'epoch': 71.43}
runs/Dec19_11-14-29_fe2747a042f0/events.out.tfevents.1671479623.fe2747a042f0.2334566.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:448c7b16314fbb86a4ce12fcaf589d963384d5ecaa204735d799c10ddf30307d
3
- size 37253
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:73a1f8d7304a1db2568ac27700fba9d86cb12d52fb1a51c7acf44e34fd7437ad
3
+ size 37607