zzz99's picture
Training in progress, epoch 1
ca0cb2e verified
2024-02-08 18:45:21,174 INFO MainThread:608 [wandb_setup.py:_flush():76] Current SDK version is 0.16.1
2024-02-08 18:45:21,174 INFO MainThread:608 [wandb_setup.py:_flush():76] Configure stats pid to 608
2024-02-08 18:45:21,174 INFO MainThread:608 [wandb_setup.py:_flush():76] Loading settings from /home/sagemaker-user/.config/wandb/settings
2024-02-08 18:45:21,174 INFO MainThread:608 [wandb_setup.py:_flush():76] Loading settings from /home/sagemaker-user/output-7b-26k-lora/wandb/settings
2024-02-08 18:45:21,174 INFO MainThread:608 [wandb_setup.py:_flush():76] Loading settings from environment variables: {}
2024-02-08 18:45:21,174 INFO MainThread:608 [wandb_setup.py:_flush():76] Applying setup settings: {'_disable_service': False}
2024-02-08 18:45:21,174 WARNING MainThread:608 [wandb_setup.py:_flush():76] Could not save program above cwd: /home/sagemaker-user/output-7b-26k-lora/../lora_finetuning_push_to_hub_save_local_latest.py
2024-02-08 18:45:21,174 INFO MainThread:608 [wandb_setup.py:_flush():76] Inferring run settings from compute environment: {'program_relpath': None, 'program_abspath': '/home/sagemaker-user/lora_finetuning_push_to_hub_save_local_latest.py', 'program': '/home/sagemaker-user/output-7b-26k-lora/../lora_finetuning_push_to_hub_save_local_latest.py'}
2024-02-08 18:45:21,174 INFO MainThread:608 [wandb_init.py:_log_setup():524] Logging user logs to /home/sagemaker-user/output-7b-26k-lora/wandb/run-20240208_184521-kk66dbgv/logs/debug.log
2024-02-08 18:45:21,174 INFO MainThread:608 [wandb_init.py:_log_setup():525] Logging internal logs to /home/sagemaker-user/output-7b-26k-lora/wandb/run-20240208_184521-kk66dbgv/logs/debug-internal.log
2024-02-08 18:45:21,174 INFO MainThread:608 [wandb_init.py:init():564] calling init triggers
2024-02-08 18:45:21,174 INFO MainThread:608 [wandb_init.py:init():571] wandb.init called with sweep_config: {}
config: {}
2024-02-08 18:45:21,174 INFO MainThread:608 [wandb_init.py:init():614] starting backend
2024-02-08 18:45:21,174 INFO MainThread:608 [wandb_init.py:init():618] setting up manager
2024-02-08 18:45:21,175 INFO MainThread:608 [backend.py:_multiprocessing_setup():105] multiprocessing start_methods=fork,spawn,forkserver, using: spawn
2024-02-08 18:45:21,176 INFO MainThread:608 [wandb_init.py:init():624] backend started and connected
2024-02-08 18:45:21,178 INFO MainThread:608 [wandb_init.py:init():716] updated telemetry
2024-02-08 18:45:21,178 INFO MainThread:608 [wandb_init.py:init():749] communicating run to backend with 90.0 second timeout
2024-02-08 18:45:21,490 INFO MainThread:608 [wandb_run.py:_on_init():2254] communicating current version
2024-02-08 18:45:21,530 INFO MainThread:608 [wandb_run.py:_on_init():2263] got version response upgrade_message: "wandb version 0.16.3 is available! To upgrade, please run:\n $ pip install wandb --upgrade"
2024-02-08 18:45:21,530 INFO MainThread:608 [wandb_init.py:init():800] starting run threads in backend
2024-02-08 18:45:35,900 INFO MainThread:608 [wandb_run.py:_console_start():2233] atexit reg
2024-02-08 18:45:35,900 INFO MainThread:608 [wandb_run.py:_redirect():2088] redirect: wrap_raw
2024-02-08 18:45:35,900 INFO MainThread:608 [wandb_run.py:_redirect():2153] Wrapping output streams.
2024-02-08 18:45:35,900 INFO MainThread:608 [wandb_run.py:_redirect():2178] Redirects installed.
2024-02-08 18:45:35,901 INFO MainThread:608 [wandb_init.py:init():841] run started, returning control to user process
2024-02-08 18:45:35,903 INFO MainThread:608 [wandb_run.py:_config_callback():1342] config_cb None None {'vocab_size': 102400, 'max_position_embeddings': 4096, 'hidden_size': 4096, 'intermediate_size': 11008, 'num_hidden_layers': 30, 'num_attention_heads': 32, 'num_key_value_heads': 32, 'hidden_act': 'silu', 'initializer_range': 0.02, 'rms_norm_eps': 1e-06, 'pretraining_tp': 1, 'use_cache': True, 'rope_scaling': None, 'return_dict': True, 'output_hidden_states': False, 'output_attentions': False, 'torchscript': False, 'torch_dtype': 'bfloat16', 'use_bfloat16': False, 'tf_legacy_loss': False, 'pruned_heads': {}, 'tie_word_embeddings': False, 'is_encoder_decoder': False, 'is_decoder': False, 'cross_attention_hidden_size': None, 'add_cross_attention': False, 'tie_encoder_decoder': False, 'max_length': 20, 'min_length': 0, 'do_sample': False, 'early_stopping': False, 'num_beams': 1, 'num_beam_groups': 1, 'diversity_penalty': 0.0, 'temperature': 1.0, 'top_k': 50, 'top_p': 1.0, 'typical_p': 1.0, 'repetition_penalty': 1.0, 'length_penalty': 1.0, 'no_repeat_ngram_size': 0, 'encoder_no_repeat_ngram_size': 0, 'bad_words_ids': None, 'num_return_sequences': 1, 'chunk_size_feed_forward': 0, 'output_scores': False, 'return_dict_in_generate': False, 'forced_bos_token_id': None, 'forced_eos_token_id': None, 'remove_invalid_values': False, 'exponential_decay_length_penalty': None, 'suppress_tokens': None, 'begin_suppress_tokens': None, 'architectures': ['LlamaForCausalLM'], 'finetuning_task': None, 'id2label': {0: 'LABEL_0', 1: 'LABEL_1'}, 'label2id': {'LABEL_0': 0, 'LABEL_1': 1}, 'tokenizer_class': None, 'prefix': None, 'bos_token_id': 100000, 'pad_token_id': 0, 'eos_token_id': 100015, 'sep_token_id': None, 'decoder_start_token_id': None, 'task_specific_params': None, 'problem_type': None, '_name_or_path': 'deepseek-ai/deepseek-coder-7b-instruct-v1.5', 'transformers_version': '4.31.0', 'attention_bias': False, 'model_type': 'llama', 'rope_theta': 10000.0, 'output_dir': 'output-7b-26k-lora', 'overwrite_output_dir': False, 'do_train': False, 'do_eval': False, 'do_predict': False, 'evaluation_strategy': 'no', 'prediction_loss_only': False, 'per_device_train_batch_size': 4, 'per_device_eval_batch_size': 1, 'per_gpu_train_batch_size': 'None', 'per_gpu_eval_batch_size': 'None', 'gradient_accumulation_steps': 16, 'eval_accumulation_steps': 'None', 'eval_delay': 0, 'learning_rate': 2e-05, 'weight_decay': 0.0, 'adam_beta1': 0.9, 'adam_beta2': 0.999, 'adam_epsilon': 1e-08, 'max_grad_norm': 1.0, 'num_train_epochs': 2, 'max_steps': -1, 'lr_scheduler_type': 'cosine', 'warmup_ratio': 0.0, 'warmup_steps': 10, 'log_level': 'passive', 'log_level_replica': 'warning', 'log_on_each_node': True, 'logging_dir': 'output-7b-26k-lora/runs/Feb08_18-45-12_default', 'logging_strategy': 'steps', 'logging_first_step': False, 'logging_steps': 1, 'logging_nan_inf_filter': True, 'save_strategy': 'epoch', 'save_steps': 100, 'save_total_limit': 100, 'save_safetensors': False, 'save_on_each_node': False, 'no_cuda': False, 'use_mps_device': False, 'seed': 42, 'data_seed': 'None', 'jit_mode_eval': False, 'use_ipex': False, 'bf16': True, 'fp16': False, 'fp16_opt_level': 'O1', 'half_precision_backend': 'auto', 'bf16_full_eval': False, 'fp16_full_eval': False, 'tf32': 'None', 'local_rank': 0, 'ddp_backend': 'None', 'tpu_num_cores': 'None', 'tpu_metrics_debug': False, 'debug': '[]', 'dataloader_drop_last': False, 'eval_steps': 'None', 'dataloader_num_workers': 4, 'past_index': -1, 'run_name': 'output-7b-26k-lora', 'disable_tqdm': False, 'remove_unused_columns': True, 'label_names': 'None', 'load_best_model_at_end': False, 'metric_for_best_model': 'None', 'greater_is_better': 'None', 'ignore_data_skip': False, 'sharded_ddp': '[]', 'fsdp': '[]', 'fsdp_min_num_params': 0, 'fsdp_config': "{'fsdp_min_num_params': 0, 'xla': False, 'xla_fsdp_grad_ckpt': False}", 'fsdp_transformer_layer_cls_to_wrap': 'None', 'deepspeed': 'None', 'label_smoothing_factor': 0.0, 'optim': 'adamw_torch', 'optim_args': 'None', 'adafactor': False, 'group_by_length': False, 'length_column_name': 'length', 'report_to': "['tensorboard', 'wandb']", 'ddp_find_unused_parameters': 'None', 'ddp_bucket_cap_mb': 'None', 'ddp_broadcast_buffers': 'None', 'dataloader_pin_memory': True, 'skip_memory_metrics': True, 'use_legacy_prediction_loop': False, 'push_to_hub': True, 'resume_from_checkpoint': 'None', 'hub_model_id': 'zzz99/output-7b-26k-lora', 'hub_strategy': 'every_save', 'hub_token': '<HUB_TOKEN>', 'hub_private_repo': False, 'gradient_checkpointing': True, 'include_inputs_for_metrics': False, 'fp16_backend': 'auto', 'push_to_hub_model_id': 'None', 'push_to_hub_organization': 'None', 'push_to_hub_token': '<PUSH_TO_HUB_TOKEN>', 'mp_parameters': '', 'auto_find_batch_size': False, 'full_determinism': False, 'torchdynamo': 'None', 'ray_scope': 'last', 'ddp_timeout': 1800, 'torch_compile': False, 'torch_compile_backend': 'None', 'torch_compile_mode': 'None', 'xpu_backend': 'None', 'cache_dir': 'None', 'model_max_length': 960, 'gradient_checkpointing_kwargs': "{'use_reentrant': False}", 'train_batch_size': 4, 'eval_batch_size': 1}
2024-02-08 18:45:42,280 WARNING MsgRouterThr:608 [router.py:message_loop():77] message_loop has been closed