File size: 28,012 Bytes
78dea83 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 |
[2024-08-21 07:27:47,932] [INFO] [real_accelerator.py:203:get_accelerator] Setting ds_accelerator to cuda (auto detect) FLYWHEEL_USE_CUDA_DEVICES = 0,1,2,3,4,5,6,7 CUDA_VISIBLE_DEVICES = 0,1,2,3,4,5,6,7 FLYWHEEL_USE_CUDA_DEVICES = 0,1,2,3,4,5,6,7 CUDA_VISIBLE_DEVICES = 0,1,2,3,4,5,6,7 FLYWHEEL_USE_CUDA_DEVICES = 0,1,2,3,4,5,6,7 CUDA_VISIBLE_DEVICES = 0,1,2,3,4,5,6,7 FLYWHEEL_USE_CUDA_DEVICES = 0,1,2,3,4,5,6,7 CUDA_VISIBLE_DEVICES = 0,1,2,3,4,5,6,7 FLYWHEEL_USE_CUDA_DEVICES = 0,1,2,3,4,5,6,7 CUDA_VISIBLE_DEVICES = 0,1,2,3,4,5,6,7 FLYWHEEL_USE_CUDA_DEVICES = 0,1,2,3,4,5,6,7 CUDA_VISIBLE_DEVICES = 0,1,2,3,4,5,6,7 FLYWHEEL_USE_CUDA_DEVICES = 0,1,2,3,4,5,6,7 CUDA_VISIBLE_DEVICES = 0,1,2,3,4,5,6,7 FLYWHEEL_USE_CUDA_DEVICES = 0,1,2,3,4,5,6,7 CUDA_VISIBLE_DEVICES = 0,1,2,3,4,5,6,7 local_rank = 0, device_ranks = ['0', '1', '2', '3', '4', '5', '6', '7'], set device_rank = 0 Rank = 0 [2024-08-21 07:27:58,686] [INFO] [real_accelerator.py:203:get_accelerator] Setting ds_accelerator to cuda (auto detect) local_rank = 2, device_ranks = ['0', '1', '2', '3', '4', '5', '6', '7'], set device_rank = 2 Rank = 2 [2024-08-21 07:27:59,018] [INFO] [real_accelerator.py:203:get_accelerator] Setting ds_accelerator to cuda (auto detect) local_rank = 3, device_ranks = ['0', '1', '2', '3', '4', '5', '6', '7'], set device_rank = 3 local_rank = 4, device_ranks = ['0', '1', '2', '3', '4', '5', '6', '7'], set device_rank = 4 Rank = 3 Rank = 4 [2024-08-21 07:27:59,138] [INFO] [real_accelerator.py:203:get_accelerator] Setting ds_accelerator to cuda (auto detect) [2024-08-21 07:27:59,145] [INFO] [real_accelerator.py:203:get_accelerator] Setting ds_accelerator to cuda (auto detect) [93m [WARNING] [0m async_io requires the dev libaio .so object and headers but these were not found. [93m [WARNING] [0m async_io: please install the libaio-dev package with apt [93m [WARNING] [0m If libaio is already installed (perhaps from source), try setting the CFLAGS and LDFLAGS environment variables to where it can be found. local_rank = 7, device_ranks = ['0', '1', '2', '3', '4', '5', '6', '7'], set device_rank = 7 Rank = 7 [93m [WARNING] [0m async_io requires the dev libaio .so object and headers but these were not found. [2024-08-21 07:27:59,520] [INFO] [real_accelerator.py:203:get_accelerator] Setting ds_accelerator to cuda (auto detect) [93m [WARNING] [0m async_io: please install the libaio-dev package with apt [93m [WARNING] [0m If libaio is already installed (perhaps from source), try setting the CFLAGS and LDFLAGS environment variables to where it can be found. local_rank = 5, device_ranks = ['0', '1', '2', '3', '4', '5', '6', '7'], set device_rank = 5 local_rank = 1, device_ranks = ['0', '1', '2', '3', '4', '5', '6', '7'], set device_rank = 1 Rank = 5 local_rank = 6, device_ranks = ['0', '1', '2', '3', '4', '5', '6', '7'], set device_rank = 6 Rank = 1 Rank = 6 [2024-08-21 07:27:59,621] [INFO] [real_accelerator.py:203:get_accelerator] Setting ds_accelerator to cuda (auto detect) [2024-08-21 07:27:59,622] [INFO] [real_accelerator.py:203:get_accelerator] Setting ds_accelerator to cuda (auto detect) [2024-08-21 07:27:59,628] [INFO] [real_accelerator.py:203:get_accelerator] Setting ds_accelerator to cuda (auto detect) [93m [WARNING] [0m async_io requires the dev libaio .so object and headers but these were not found. [93m [WARNING] [0m async_io requires the dev libaio .so object and headers but these were not found. [93m [WARNING] [0m async_io: please install the libaio-dev package with apt [93m [WARNING] [0m If libaio is already installed (perhaps from source), try setting the CFLAGS and LDFLAGS environment variables to where it can be found. [93m [WARNING] [0m async_io: please install the libaio-dev package with apt [93m [WARNING] [0m If libaio is already installed (perhaps from source), try setting the CFLAGS and LDFLAGS environment variables to where it can be found. Installed CUDA version 12.5 does not match the version torch was compiled with 12.4 but since the APIs are compatible, accepting this combination ninja: no work to do. Time to load cpu_adam op: 0.3553776741027832 seconds [93m [WARNING] [0m async_io requires the dev libaio .so object and headers but these were not found. [93m [WARNING] [0m async_io: please install the libaio-dev package with apt [93m [WARNING] [0m If libaio is already installed (perhaps from source), try setting the CFLAGS and LDFLAGS environment variables to where it can be found. [93m [WARNING] [0m async_io requires the dev libaio .so object and headers but these were not found. [93m [WARNING] [0m async_io: please install the libaio-dev package with apt [93m [WARNING] [0m If libaio is already installed (perhaps from source), try setting the CFLAGS and LDFLAGS environment variables to where it can be found. Installed CUDA version 12.5 does not match the version torch was compiled with 12.4 but since the APIs are compatible, accepting this combination ninja: no work to do. Time to load cpu_adam op: 0.3335256576538086 seconds Installed CUDA version 12.5 does not match the version torch was compiled with 12.4 but since the APIs are compatible, accepting this combination Installed CUDA version 12.5 does not match the version torch was compiled with 12.4 but since the APIs are compatible, accepting this combination ninja: no work to do. Time to load cpu_adam op: 0.3166959285736084 seconds Time to load cpu_adam op: 0.40006446838378906 seconds Installed CUDA version 12.5 does not match the version torch was compiled with 12.4 but since the APIs are compatible, accepting this combination [2024-08-21 07:28:00,883] [INFO] [comm.py:637:init_distributed] cdb=None ninja: no work to do. Time to load cpu_adam op: 0.33882761001586914 seconds Installed CUDA version 12.5 does not match the version torch was compiled with 12.4 but since the APIs are compatible, accepting this combination ninja: no work to do. Time to load cpu_adam op: 0.31476616859436035 seconds [93m [WARNING] [0m async_io requires the dev libaio .so object and headers but these were not found. [93m [WARNING] [0m async_io requires the dev libaio .so object and headers but these were not found. [93m [WARNING] [0m async_io: please install the libaio-dev package with apt [93m [WARNING] [0m If libaio is already installed (perhaps from source), try setting the CFLAGS and LDFLAGS environment variables to where it can be found. [93m [WARNING] [0m async_io: please install the libaio-dev package with apt [93m [WARNING] [0m If libaio is already installed (perhaps from source), try setting the CFLAGS and LDFLAGS environment variables to where it can be found. [2024-08-21 07:28:01,400] [INFO] [comm.py:637:init_distributed] cdb=None [2024-08-21 07:28:01,401] [INFO] [comm.py:637:init_distributed] cdb=None [2024-08-21 07:28:01,401] [INFO] [comm.py:637:init_distributed] cdb=None [2024-08-21 07:28:01,404] [INFO] [comm.py:637:init_distributed] cdb=None [2024-08-21 07:28:01,412] [INFO] [comm.py:637:init_distributed] cdb=None Installed CUDA version 12.5 does not match the version torch was compiled with 12.4 but since the APIs are compatible, accepting this combination Installed CUDA version 12.5 does not match the version torch was compiled with 12.4 but since the APIs are compatible, accepting this combination ninja: no work to do. Time to load cpu_adam op: 0.31751537322998047 seconds Time to load cpu_adam op: 0.3872830867767334 seconds [2024-08-21 07:28:02,539] [INFO] [comm.py:637:init_distributed] cdb=None [2024-08-21 07:28:02,560] [INFO] [comm.py:637:init_distributed] cdb=None [2024-08-21 07:28:15,098] [INFO] [partition_parameters.py:345:__exit__] finished initializing model - num_params = 363, num_elems = 13.02B Is prompt masked: True Is prompt masked: True Is prompt masked: True Is prompt masked: True Is prompt masked: True Is prompt masked: True Is prompt masked: True Is prompt masked: True Adam Optimizer #0 is created with AVX512 arithmetic capability. Config: alpha=0.000020, betas=(0.900000, 0.999000), weight_decay=0.010000, adam_w=1 [2024-08-21 07:28:23,076] [INFO] [logging.py:96:log_dist] [Rank 0] DeepSpeed info: version=0.14.5, git-hash=unknown, git-branch=unknown [2024-08-21 07:28:23,088] [INFO] [logging.py:96:log_dist] [Rank 0] DeepSpeed Flops Profiler Enabled: False [2024-08-21 07:28:23,089] [INFO] [logging.py:96:log_dist] [Rank 0] Using client Optimizer as basic optimizer [2024-08-21 07:28:23,089] [INFO] [logging.py:96:log_dist] [Rank 0] Removing param_group that has no 'params' in the basic Optimizer Adam Optimizer #0 is created with AVX512 arithmetic capability. Config: alpha=0.000020, betas=(0.900000, 0.999000), weight_decay=0.010000, adam_w=1 Adam Optimizer #0 is created with AVX512 arithmetic capability. Config: alpha=0.000020, betas=(0.900000, 0.999000), weight_decay=0.010000, adam_w=1 Adam Optimizer #0 is created with AVX512 arithmetic capability. Config: alpha=0.000020, betas=(0.900000, 0.999000), weight_decay=0.010000, adam_w=1 Adam Optimizer #0 is created with AVX512 arithmetic capability. Config: alpha=0.000020, betas=(0.900000, 0.999000), weight_decay=0.010000, adam_w=1 [2024-08-21 07:28:23,101] [INFO] [logging.py:96:log_dist] [Rank 0] DeepSpeed Basic Optimizer = DeepSpeedCPUAdam [2024-08-21 07:28:23,101] [INFO] [utils.py:59:is_zero_supported_optimizer] Checking ZeRO support for optimizer=DeepSpeedCPUAdam type=<class 'deepspeed.ops.adam.cpu_adam.DeepSpeedCPUAdam'> [2024-08-21 07:28:23,101] [INFO] [logging.py:96:log_dist] [Rank 0] Creating fp16 ZeRO stage 3 optimizer, MiCS is enabled False, Hierarchical params gather False [2024-08-21 07:28:23,101] [INFO] [logging.py:96:log_dist] [Rank 0] Creating torch.bfloat16 ZeRO stage 3 optimizer Adam Optimizer #0 is created with AVX512 arithmetic capability. Config: alpha=0.000020, betas=(0.900000, 0.999000), weight_decay=0.010000, adam_w=1 Adam Optimizer #0 is created with AVX512 arithmetic capability. Config: alpha=0.000020, betas=(0.900000, 0.999000), weight_decay=0.010000, adam_w=1 Adam Optimizer #0 is created with AVX512 arithmetic capability. Config: alpha=0.000020, betas=(0.900000, 0.999000), weight_decay=0.010000, adam_w=1 [2024-08-21 07:28:23,343] [INFO] [utils.py:781:see_memory_usage] Stage 3 initialize beginning [2024-08-21 07:28:23,343] [INFO] [utils.py:782:see_memory_usage] MA 0.0 GB Max_MA 0.61 GB CA 0.62 GB Max_CA 1 GB [2024-08-21 07:28:23,343] [INFO] [utils.py:789:see_memory_usage] CPU Virtual Memory: used = 67.32 GB, percent = 3.6% [2024-08-21 07:28:23,345] [INFO] [stage3.py:130:__init__] Reduce bucket size 26214400 [2024-08-21 07:28:23,345] [INFO] [stage3.py:131:__init__] Prefetch bucket size 23592960 [2024-08-21 07:28:23,478] [INFO] [utils.py:781:see_memory_usage] DeepSpeedZeRoOffload initialize [begin] [2024-08-21 07:28:23,479] [INFO] [utils.py:782:see_memory_usage] MA 0.0 GB Max_MA 0.0 GB CA 0.62 GB Max_CA 1 GB [2024-08-21 07:28:23,479] [INFO] [utils.py:789:see_memory_usage] CPU Virtual Memory: used = 67.32 GB, percent = 3.6% Parameter Offload: Total persistent parameters: 414720 in 81 params [2024-08-21 07:28:23,625] [INFO] [utils.py:781:see_memory_usage] DeepSpeedZeRoOffload initialize [end] [2024-08-21 07:28:23,625] [INFO] [utils.py:782:see_memory_usage] MA 0.0 GB Max_MA 0.0 GB CA 0.62 GB Max_CA 1 GB [2024-08-21 07:28:23,625] [INFO] [utils.py:789:see_memory_usage] CPU Virtual Memory: used = 67.32 GB, percent = 3.6% [2024-08-21 07:28:23,756] [INFO] [utils.py:781:see_memory_usage] Before creating fp16 partitions [2024-08-21 07:28:23,756] [INFO] [utils.py:782:see_memory_usage] MA 0.0 GB Max_MA 0.0 GB CA 0.62 GB Max_CA 1 GB [2024-08-21 07:28:23,756] [INFO] [utils.py:789:see_memory_usage] CPU Virtual Memory: used = 67.32 GB, percent = 3.6% [2024-08-21 07:28:27,152] [INFO] [utils.py:781:see_memory_usage] After creating fp16 partitions: 2 [2024-08-21 07:28:27,153] [INFO] [utils.py:782:see_memory_usage] MA 0.0 GB Max_MA 0.0 GB CA 0.62 GB Max_CA 1 GB [2024-08-21 07:28:27,153] [INFO] [utils.py:789:see_memory_usage] CPU Virtual Memory: used = 113.12 GB, percent = 6.0% [2024-08-21 07:28:27,392] [INFO] [utils.py:781:see_memory_usage] Before creating fp32 partitions [2024-08-21 07:28:27,392] [INFO] [utils.py:782:see_memory_usage] MA 0.0 GB Max_MA 0.0 GB CA 0.62 GB Max_CA 1 GB [2024-08-21 07:28:27,393] [INFO] [utils.py:789:see_memory_usage] CPU Virtual Memory: used = 119.21 GB, percent = 6.4% [2024-08-21 07:28:30,277] [INFO] [utils.py:781:see_memory_usage] After creating fp32 partitions [2024-08-21 07:28:30,278] [INFO] [utils.py:782:see_memory_usage] MA 0.0 GB Max_MA 0.0 GB CA 0.62 GB Max_CA 1 GB [2024-08-21 07:28:30,278] [INFO] [utils.py:789:see_memory_usage] CPU Virtual Memory: used = 148.59 GB, percent = 7.9% [2024-08-21 07:28:30,440] [INFO] [utils.py:781:see_memory_usage] Before initializing optimizer states [2024-08-21 07:28:30,441] [INFO] [utils.py:782:see_memory_usage] MA 0.0 GB Max_MA 0.0 GB CA 0.62 GB Max_CA 1 GB [2024-08-21 07:28:30,441] [INFO] [utils.py:789:see_memory_usage] CPU Virtual Memory: used = 154.17 GB, percent = 8.2% [2024-08-21 07:28:37,166] [INFO] [utils.py:781:see_memory_usage] After initializing optimizer states [2024-08-21 07:28:37,166] [INFO] [utils.py:782:see_memory_usage] MA 0.0 GB Max_MA 0.0 GB CA 0.62 GB Max_CA 1 GB [2024-08-21 07:28:37,166] [INFO] [utils.py:789:see_memory_usage] CPU Virtual Memory: used = 213.84 GB, percent = 11.4% [2024-08-21 07:28:37,167] [INFO] [stage3.py:485:_setup_for_real_optimizer] optimizer state initialized [2024-08-21 07:28:40,475] [INFO] [utils.py:781:see_memory_usage] After initializing ZeRO optimizer [2024-08-21 07:28:40,476] [INFO] [utils.py:782:see_memory_usage] MA 0.05 GB Max_MA 0.66 GB CA 0.92 GB Max_CA 1 GB [2024-08-21 07:28:40,476] [INFO] [utils.py:789:see_memory_usage] CPU Virtual Memory: used = 246.61 GB, percent = 13.2% [2024-08-21 07:28:40,476] [INFO] [logging.py:96:log_dist] [Rank 0] DeepSpeed Final Optimizer = DeepSpeedZeroOptimizer_Stage3 [2024-08-21 07:28:40,476] [INFO] [logging.py:96:log_dist] [Rank 0] DeepSpeed using configured LR scheduler = None [2024-08-21 07:28:40,476] [INFO] [logging.py:96:log_dist] [Rank 0] DeepSpeed LR Scheduler = None [2024-08-21 07:28:40,476] [INFO] [logging.py:96:log_dist] [Rank 0] step=0, skipped=0, lr=[0.0], mom=[(0.9, 0.999)] [2024-08-21 07:28:40,477] [INFO] [config.py:997:print] DeepSpeedEngine configuration: [2024-08-21 07:28:40,477] [INFO] [config.py:1001:print] activation_checkpointing_config { "partition_activations": false, "contiguous_memory_optimization": false, "cpu_checkpointing": false, "number_checkpoints": null, "synchronize_checkpoint_boundary": false, "profile": false } [2024-08-21 07:28:40,477] [INFO] [config.py:1001:print] aio_config ................... {'block_size': 1048576, 'queue_depth': 8, 'thread_count': 1, 'single_submit': False, 'overlap_events': True} [2024-08-21 07:28:40,477] [INFO] [config.py:1001:print] amp_enabled .................. False [2024-08-21 07:28:40,478] [INFO] [config.py:1001:print] amp_params ................... False [2024-08-21 07:28:40,478] [INFO] [config.py:1001:print] autotuning_config ............ { "enabled": false, "start_step": null, "end_step": null, "metric_path": null, "arg_mappings": null, "metric": "throughput", "model_info": null, "results_dir": "autotuning_results", "exps_dir": "autotuning_exps", "overwrite": true, "fast": true, "start_profile_step": 3, "end_profile_step": 5, "tuner_type": "gridsearch", "tuner_early_stopping": 5, "tuner_num_trials": 50, "model_info_path": null, "mp_size": 1, "max_train_batch_size": null, "min_train_batch_size": 1, "max_train_micro_batch_size_per_gpu": 1.024000e+03, "min_train_micro_batch_size_per_gpu": 1, "num_tuning_micro_batch_sizes": 3 } [2024-08-21 07:28:40,478] [INFO] [config.py:1001:print] bfloat16_enabled ............. True [2024-08-21 07:28:40,478] [INFO] [config.py:1001:print] bfloat16_immediate_grad_update False [2024-08-21 07:28:40,478] [INFO] [config.py:1001:print] checkpoint_parallel_write_pipeline False [2024-08-21 07:28:40,478] [INFO] [config.py:1001:print] checkpoint_tag_validation_enabled True [2024-08-21 07:28:40,478] [INFO] [config.py:1001:print] checkpoint_tag_validation_fail False [2024-08-21 07:28:40,478] [INFO] [config.py:1001:print] comms_config ................. <deepspeed.comm.config.DeepSpeedCommsConfig object at 0x7fee81ab5c40> [2024-08-21 07:28:40,478] [INFO] [config.py:1001:print] communication_data_type ...... None [2024-08-21 07:28:40,478] [INFO] [config.py:1001: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}} [2024-08-21 07:28:40,478] [INFO] [config.py:1001:print] curriculum_enabled_legacy .... False [2024-08-21 07:28:40,478] [INFO] [config.py:1001:print] curriculum_params_legacy ..... False [2024-08-21 07:28:40,478] [INFO] [config.py:1001: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}}}} [2024-08-21 07:28:40,478] [INFO] [config.py:1001:print] data_efficiency_enabled ...... False [2024-08-21 07:28:40,478] [INFO] [config.py:1001:print] dataloader_drop_last ......... False [2024-08-21 07:28:40,478] [INFO] [config.py:1001:print] disable_allgather ............ False [2024-08-21 07:28:40,478] [INFO] [config.py:1001:print] dump_state ................... False [2024-08-21 07:28:40,478] [INFO] [config.py:1001:print] dynamic_loss_scale_args ...... None [2024-08-21 07:28:40,478] [INFO] [config.py:1001:print] eigenvalue_enabled ........... False [2024-08-21 07:28:40,478] [INFO] [config.py:1001:print] eigenvalue_gas_boundary_resolution 1 [2024-08-21 07:28:40,478] [INFO] [config.py:1001:print] eigenvalue_layer_name ........ bert.encoder.layer [2024-08-21 07:28:40,478] [INFO] [config.py:1001:print] eigenvalue_layer_num ......... 0 [2024-08-21 07:28:40,478] [INFO] [config.py:1001:print] eigenvalue_max_iter .......... 100 [2024-08-21 07:28:40,478] [INFO] [config.py:1001:print] eigenvalue_stability ......... 1e-06 [2024-08-21 07:28:40,478] [INFO] [config.py:1001:print] eigenvalue_tol ............... 0.01 [2024-08-21 07:28:40,478] [INFO] [config.py:1001:print] eigenvalue_verbose ........... False [2024-08-21 07:28:40,478] [INFO] [config.py:1001:print] elasticity_enabled ........... False [2024-08-21 07:28:40,478] [INFO] [config.py:1001:print] flops_profiler_config ........ { "enabled": false, "recompute_fwd_factor": 0.0, "profile_step": 1, "module_depth": -1, "top_modules": 1, "detailed": true, "output_file": null } [2024-08-21 07:28:40,478] [INFO] [config.py:1001:print] fp16_auto_cast ............... None [2024-08-21 07:28:40,478] [INFO] [config.py:1001:print] fp16_enabled ................. False [2024-08-21 07:28:40,478] [INFO] [config.py:1001:print] fp16_master_weights_and_gradients False [2024-08-21 07:28:40,478] [INFO] [config.py:1001:print] global_rank .................. 0 [2024-08-21 07:28:40,478] [INFO] [config.py:1001:print] grad_accum_dtype ............. None [2024-08-21 07:28:40,478] [INFO] [config.py:1001:print] gradient_accumulation_steps .. 1 [2024-08-21 07:28:40,478] [INFO] [config.py:1001:print] gradient_clipping ............ 1.0 [2024-08-21 07:28:40,478] [INFO] [config.py:1001:print] gradient_predivide_factor .... 1.0 [2024-08-21 07:28:40,478] [INFO] [config.py:1001:print] graph_harvesting ............. False [2024-08-21 07:28:40,478] [INFO] [config.py:1001:print] hybrid_engine ................ enabled=False max_out_tokens=512 inference_tp_size=1 release_inference_cache=False pin_parameters=True tp_gather_partition_size=8 [2024-08-21 07:28:40,478] [INFO] [config.py:1001:print] initial_dynamic_scale ........ 1 [2024-08-21 07:28:40,478] [INFO] [config.py:1001:print] load_universal_checkpoint .... False [2024-08-21 07:28:40,478] [INFO] [config.py:1001:print] loss_scale ................... 1.0 [2024-08-21 07:28:40,478] [INFO] [config.py:1001:print] memory_breakdown ............. False [2024-08-21 07:28:40,478] [INFO] [config.py:1001:print] mics_hierarchial_params_gather False [2024-08-21 07:28:40,478] [INFO] [config.py:1001:print] mics_shard_size .............. -1 [2024-08-21 07:28:40,478] [INFO] [config.py:1001:print] monitor_config ............... tensorboard=TensorBoardConfig(enabled=False, output_path='', job_name='DeepSpeedJobName') comet=CometConfig(enabled=False, samples_log_interval=100, project=None, workspace=None, api_key=None, experiment_name=None, experiment_key=None, online=None, mode=None) wandb=WandbConfig(enabled=False, group=None, team=None, project='deepspeed') csv_monitor=CSVConfig(enabled=False, output_path='', job_name='DeepSpeedJobName') enabled=False [2024-08-21 07:28:40,478] [INFO] [config.py:1001:print] nebula_config ................ { "enabled": false, "persistent_storage_path": null, "persistent_time_interval": 100, "num_of_version_in_retention": 2, "enable_nebula_load": true, "load_path": null } [2024-08-21 07:28:40,478] [INFO] [config.py:1001:print] optimizer_legacy_fusion ...... False [2024-08-21 07:28:40,478] [INFO] [config.py:1001:print] optimizer_name ............... None [2024-08-21 07:28:40,478] [INFO] [config.py:1001:print] optimizer_params ............. None [2024-08-21 07:28:40,478] [INFO] [config.py:1001:print] pipeline ..................... {'stages': 'auto', 'partition': 'best', 'seed_layers': False, 'activation_checkpoint_interval': 0, 'pipe_partitioned': True, 'grad_partitioned': True} [2024-08-21 07:28:40,478] [INFO] [config.py:1001:print] pld_enabled .................. False [2024-08-21 07:28:40,478] [INFO] [config.py:1001:print] pld_params ................... False [2024-08-21 07:28:40,478] [INFO] [config.py:1001:print] prescale_gradients ........... False [2024-08-21 07:28:40,478] [INFO] [config.py:1001:print] scheduler_name ............... None [2024-08-21 07:28:40,479] [INFO] [config.py:1001:print] scheduler_params ............. None [2024-08-21 07:28:40,479] [INFO] [config.py:1001:print] seq_parallel_communication_data_type torch.float32 [2024-08-21 07:28:40,479] [INFO] [config.py:1001:print] sparse_attention ............. None [2024-08-21 07:28:40,479] [INFO] [config.py:1001:print] sparse_gradients_enabled ..... False [2024-08-21 07:28:40,479] [INFO] [config.py:1001:print] steps_per_print .............. inf [2024-08-21 07:28:40,479] [INFO] [config.py:1001:print] timers_config ................ enabled=True synchronized=True [2024-08-21 07:28:40,479] [INFO] [config.py:1001:print] train_batch_size ............. 128 [2024-08-21 07:28:40,479] [INFO] [config.py:1001:print] train_micro_batch_size_per_gpu 16 [2024-08-21 07:28:40,479] [INFO] [config.py:1001:print] use_data_before_expert_parallel_ False [2024-08-21 07:28:40,479] [INFO] [config.py:1001:print] use_node_local_storage ....... False [2024-08-21 07:28:40,479] [INFO] [config.py:1001:print] wall_clock_breakdown ......... False [2024-08-21 07:28:40,479] [INFO] [config.py:1001:print] weight_quantization_config ... None [2024-08-21 07:28:40,479] [INFO] [config.py:1001:print] world_size ................... 8 [2024-08-21 07:28:40,479] [INFO] [config.py:1001:print] zero_allow_untested_optimizer True [2024-08-21 07:28:40,479] [INFO] [config.py:1001:print] zero_config .................. stage=3 contiguous_gradients=True reduce_scatter=True reduce_bucket_size=26214400 use_multi_rank_bucket_allreduce=True allgather_partitions=True allgather_bucket_size=500,000,000 overlap_comm=True load_from_fp32_weights=True elastic_checkpoint=False offload_param=DeepSpeedZeroOffloadParamConfig(device='cpu', nvme_path=None, buffer_count=5, buffer_size=100,000,000, max_in_cpu=1,000,000,000, pin_memory=True) 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, ratio=1.0) sub_group_size=1000000000 cpu_offload_param=None cpu_offload_use_pin_memory=None cpu_offload=None prefetch_bucket_size=23592960 param_persistence_threshold=51200 model_persistence_threshold=sys.maxsize max_live_parameters=6000000000 max_reuse_distance=6000000000 gather_16bit_weights_on_model_save=False use_all_reduce_for_fetch_params=False stage3_gather_fp16_weights_on_model_save=False ignore_unused_parameters=True legacy_stage1=False round_robin_gradients=False zero_hpz_partition_size=1 zero_quantized_weights=False zero_quantized_nontrainable_weights=False zero_quantized_gradients=False mics_shard_size=-1 mics_hierarchical_params_gather=False memory_efficient_linear=True pipeline_loading_checkpoint=False override_module_apply=True [2024-08-21 07:28:40,479] [INFO] [config.py:1001:print] zero_enabled ................. True [2024-08-21 07:28:40,479] [INFO] [config.py:1001:print] zero_force_ds_cpu_optimizer .. True [2024-08-21 07:28:40,479] [INFO] [config.py:1001:print] zero_optimization_stage ...... 3 [2024-08-21 07:28:40,479] [INFO] [config.py:987:print_user_config] json = { "bf16": { "enabled": true }, "zero_optimization": { "stage": 3, "offload_optimizer": { "device": "cpu", "pin_memory": true }, "offload_param": { "device": "cpu", "pin_memory": true }, "overlap_comm": true, "contiguous_gradients": true, "sub_group_size": 1.000000e+09, "reduce_bucket_size": 2.621440e+07, "stage3_prefetch_bucket_size": 2.359296e+07, "stage3_param_persistence_threshold": 5.120000e+04, "stage3_max_live_parameters": 6.000000e+09, "stage3_max_reuse_distance": 6.000000e+09, "stage3_gather_16bit_weights_on_model_save": false }, "gradient_accumulation_steps": 1, "gradient_clipping": 1.0, "steps_per_print": inf, "train_batch_size": 128, "train_micro_batch_size_per_gpu": 16, "wall_clock_breakdown": false, "fp16": { "enabled": false }, "zero_allow_untested_optimizer": true } [93m [WARNING] [0m async_io requires the dev libaio .so object and headers but these were not found. [93m [WARNING] [0m async_io: please install the libaio-dev package with apt [93m [WARNING] [0m If libaio is already installed (perhaps from source), try setting the CFLAGS and LDFLAGS environment variables to where it can be found. |