[2026-04-21 01:38:41,824] [DEBUG] [axolotl.utils.config.log_gpu_memory_usage:127] [PID:4094106] baseline 0.000GB () [2026-04-21 01:38:41,824] [INFO] [axolotl.cli.config.load_cfg:341] [PID:4094106] config: { "activation_offloading": false, "adapter": "lora", "axolotl_config_path": "./axolotl_configs/Qwen2.5-coder-7b-instruct/func_stage1_sec_stage2/lora-func_stage_1.yaml", "base_model": "Qwen/Qwen2.5-Coder-7B-Instruct", "base_model_config": "Qwen/Qwen2.5-Coder-7B-Instruct", "batch_size": 64, "bf16": true, "capabilities": { "bf16": true, "compute_capability": "sm_90", "fp8": true, "n_gpu": 2, "n_node": 1, "tf32": true }, "context_parallel_size": 1, "dataloader_num_workers": 2, "dataloader_pin_memory": true, "dataloader_prefetch_factor": 256, "dataset_num_proc": 112, "dataset_prepared_path": "/home/tkwang/scratch/SecSteer-v2/axolotl-datasets/lora/Qwen2.5-Coder-7B/func-stage1", "datasets": [ { "chat_template": "tokenizer_default", "message_property_mappings": { "content": "content", "role": "role" }, "path": "felixwangg/codenet-c-cpp-stage1", "split": "train", "trust_remote_code": false, "type": "chat_template" } ], "ddp": true, "device": "cuda:0", "device_map": { "": 0 }, "dion_rank_fraction": 1.0, "dion_rank_multiple_of": 1, "eaft_alpha": 1.0, "eaft_k": 20, "early_stopping_patience": 1000, "env_capabilities": { "torch_version": "2.11.0" }, "eval_batch_size": 4, "eval_causal_lm_metrics": [ "sacrebleu", "comet", "ter", "chrf" ], "eval_max_new_tokens": 128, "eval_sample_packing": false, "eval_steps": 10, "eval_table_size": 0, "experimental_skip_move_to_device": true, "flash_attention": true, "fp16": false, "generate_samples": false, "generation_do_sample": true, "generation_max_new_tokens": 50, "generation_prompt_ratio": 0.5, "generation_temperature": 0.7, "gradient_accumulation_steps": 8, "gradient_checkpointing": true, "gradient_checkpointing_kwargs": { "use_reentrant": true }, "include_tkps": true, "is_falcon_derived_model": false, "is_llama_derived_model": false, "is_mistral_derived_model": false, "layer_offloading": false, "learning_rate": 4e-05, "lisa_layers_attribute": "model.layers", "load_best_model_at_end": true, "load_in_4bit": false, "load_in_8bit": false, "local_rank": 0, "logging_steps": 1, "lora_alpha": 16, "lora_dropout": 0.05, "lora_embedding_kernel": true, "lora_mlp_kernel": true, "lora_o_kernel": true, "lora_qkv_kernel": true, "lora_r": 16, "lora_target_linear": true, "loraplus_lr_embedding": 1e-06, "lr_scheduler": "cosine", "mean_resizing_embeddings": false, "merge_lora": true, "merge_method": "memory_efficient", "micro_batch_size": 4, "model_config_type": "qwen2", "num_epochs": 2.0, "num_generation_samples": 3, "optimizer": "adamw_torch", "otel_metrics_host": "localhost", "otel_metrics_port": 8000, "output_dir": "/home/tkwang/scratch/SecSteer-v2/axolotl-outputs/lora/Qwen2.5-Coder-7B-func-stage1_ep2", "pad_to_sequence_len": true, "pretrain_multipack_attn": true, "profiler_steps_start": 0, "qlora_sharded_model_loading": false, "quantize_moe_experts": false, "ray_num_workers": 1, "resources_per_worker": { "GPU": 1 }, "sample_packing": false, "sample_packing_bin_size": 200, "sample_packing_group_size": 100000, "save_only_model": false, "save_safetensors": true, "save_steps": 10, "save_total_limit": 1000, "sequence_len": 4096, "shuffle_before_merging_datasets": false, "shuffle_merged_datasets": true, "skip_prepare_dataset": false, "streaming_multipack_buffer_size": 10000, "strict": false, "tensor_parallel_size": 1, "test_datasets": [ { "chat_template": "tokenizer_default", "message_property_mappings": { "content": "content", "role": "role" }, "path": "felixwangg/codenet-c-cpp-stage1", "split": "validation", "trust_remote_code": false, "type": "chat_template" } ], "tf32": false, "tiled_mlp_use_original_mlp": true, "tokenizer_config": "Qwen/Qwen2.5-Coder-7B-Instruct", "tokenizer_save_jinja_files": true, "tokenizer_type": "AutoTokenizer", "torch_dtype": "torch.bfloat16", "train_on_inputs": false, "trl": { "async_prefetch": false, "log_completions": false, "mask_truncated_completions": false, "ref_model_mixup_alpha": 0.9, "ref_model_sync_steps": 64, "replay_buffer_size": 0, "replay_recompute_logps": true, "reroll_max_groups": 1, "reroll_start_fraction": 1.0, "reward_num_workers": 1, "scale_rewards": true, "skip_zero_advantage_batches": true, "sync_ref_model": false, "use_data_producer": false, "use_vllm": false, "vllm_lora_sync": false, "vllm_server_host": "0.0.0.0", "vllm_server_port": 8000 }, "type_of_model": "Qwen2ForCausalLM", "use_otel_metrics": false, "use_ray": false, "use_wandb": true, "val_set_size": 0.0, "vllm": { "device": "auto", "dtype": "auto", "gpu_memory_utilization": 0.9, "host": "0.0.0.0", "port": 8000 }, "wandb_entity": "wtkuan", "wandb_log_model": "false", "wandb_name": "Qwen2.5-Coder-7B-func-stage1", "wandb_project": "sft-primevul-sweep-ctx-0", "wandb_watch": "false", "warmup_ratio": 0.1, "weight_decay": 0.02, "world_size": 2 } [2026-04-21 01:38:42,509] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:307] [PID:4094106] EOS: 151645 / <|im_end|> [2026-04-21 01:38:42,509] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:308] [PID:4094106] BOS: None / None [2026-04-21 01:38:42,509] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:309] [PID:4094106] PAD: 151643 / <|endoftext|> [2026-04-21 01:38:42,509] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:310] [PID:4094106] UNK: None / None [2026-04-21 01:38:42,639] [INFO] [axolotl.utils.data.shared.load_preprocessed_dataset:475] [PID:4094106] Loading prepared dataset from disk at /home/tkwang/scratch/SecSteer-v2/axolotl-datasets/lora/Qwen2.5-Coder-7B/func-stage1/96a3e20eec657a543cd77229b2f68312... [2026-04-21 01:38:42,652] [INFO] [axolotl.utils.data.shared.load_preprocessed_dataset:475] [PID:4094106] Loading prepared dataset from disk at /home/tkwang/scratch/SecSteer-v2/axolotl-datasets/lora/Qwen2.5-Coder-7B/func-stage1/2f9b6666b4ccc6f854316e096ff5dcca... [2026-04-21 01:38:42,785] [DEBUG] [axolotl.utils.trainer.calculate_total_num_steps:420] [PID:4094106] total_num_tokens: 1_094_060 [2026-04-21 01:38:42,892] [DEBUG] [axolotl.utils.trainer.calculate_total_num_steps:438] [PID:4094106] `total_supervised_tokens: 536_809` [2026-04-21 01:38:42,892] [DEBUG] [axolotl.utils.trainer.calculate_total_num_steps:521] [PID:4094106] total_num_steps: 29 [2026-04-21 01:38:42,892] [INFO] [axolotl.utils.data.sft._prepare_standard_dataset:121] [PID:4094106] Maximum number of steps set at 29 [2026-04-21 01:38:42,917] [DEBUG] [axolotl.train.setup_model_and_tokenizer:70] [PID:4094106] loading tokenizer... Qwen/Qwen2.5-Coder-7B-Instruct [2026-04-21 01:38:43,526] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:307] [PID:4094106] EOS: 151645 / <|im_end|> [2026-04-21 01:38:43,526] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:308] [PID:4094106] BOS: None / None [2026-04-21 01:38:43,526] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:309] [PID:4094106] PAD: 151643 / <|endoftext|> [2026-04-21 01:38:43,526] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:310] [PID:4094106] UNK: None / None [2026-04-21 01:38:43,526] [DEBUG] [axolotl.train.setup_model_and_tokenizer:81] [PID:4094106] Loading model [2026-04-21 01:38:43,594] [DEBUG] [axolotl.monkeypatch.torchao_optim.patch_torchao_optim_state_8bit:75] [PID:4094106] Patched OptimState8bit for torch.compile compatibility [2026-04-21 01:38:43,594] [DEBUG] [axolotl.monkeypatch.torchao_optim.patch_torchao_optim_state_8bit:122] [PID:4094106] Patched OptimState4bit for torch.compile compatibility [2026-04-21 01:38:43,594] [DEBUG] [axolotl.monkeypatch.torchao_optim.patch_torchao_optim_state_8bit:154] [PID:4094106] Patched OptimStateFp8 for torch.compile compatibility [2026-04-21 01:38:43,606] [DEBUG] [axolotl.monkeypatch.transformers.trainer_loss_calc.patch_evaluation_loop:94] [PID:4094106] Patched Trainer.evaluation_loop with nanmean loss calculation [2026-04-21 01:38:43,606] [DEBUG] [axolotl.monkeypatch.transformers.trainer_loss_calc.patch_maybe_log_save_evaluate:148] [PID:4094106] Patched Trainer._maybe_log_save_evaluate with nanmean loss calculation [2026-04-21 01:38:43,627] [INFO] [axolotl.monkeypatch.attention.flash_attn_4.patch_flash_attn_4:52] [PID:4094106] Flash Attention 4 is available for your GPU and offers faster training speeds. To enable: pip install flash-attn-4 [2026-04-21 01:38:43,629] [WARNING] [axolotl.loaders.patch_manager._apply_self_attention_lora_patch:436] [PID:4094106] Cannot patch self-attention - requires no dropout Downloading (incomplete total...): 0.00B [00:00, ?B/s] Fetching 22 files: 0%| | 0/22 [00:00