diff --git "a/checkpoints/math_operations/lora_sft_primitive_atomic_50k_t20260305/debug.log" "b/checkpoints/math_operations/lora_sft_primitive_atomic_50k_t20260305/debug.log" new file mode 100644--- /dev/null +++ "b/checkpoints/math_operations/lora_sft_primitive_atomic_50k_t20260305/debug.log" @@ -0,0 +1,1298 @@ +[2026-03-05 03:31:17,987] [DEBUG] [axolotl.utils.config.resolve_dtype:66] [PID:1482537] bf16 support detected, enabling for this configuration. +[2026-03-05 03:31:17,991] [DEBUG] [axolotl.utils.config.log_gpu_memory_usage:127] [PID:1482537] baseline 0.000GB () +[2026-03-05 03:31:17,992] [INFO] [axolotl.cli.config.load_cfg:259] [PID:1482537] config: +{ + "activation_offloading": false, + "adapter": "lora", + "axolotl_config_path": "/home/jiaruil5/math_rl/mix_teachers/mix_teachers/train/math_operations_sft/configs/lora_primitive_atomic_50k.yaml", + "base_model": "/home/jiaruil5/math_rl/mix_teachers/r3lit_rl/models/Qwen/Qwen3-4B-Instruct-2507", + "base_model_config": "/home/jiaruil5/math_rl/mix_teachers/r3lit_rl/models/Qwen/Qwen3-4B-Instruct-2507", + "batch_size": 8, + "bf16": true, + "capabilities": { + "bf16": true, + "compute_capability": "sm_86", + "fp8": false, + "n_gpu": 1, + "n_node": 1 + }, + "chat_template": "chatml", + "context_parallel_size": 1, + "dataloader_num_workers": 1, + "dataloader_pin_memory": true, + "dataloader_prefetch_factor": 256, + "dataset_num_proc": 64, + "datasets": [ + { + "message_property_mappings": { + "content": "content", + "role": "role" + }, + "path": "/home/jiaruil5/math_rl/mix_teachers/r3lit_rl/mix_teachers/data/math_operations/primitive_atomic_balanced_sft_50k/balanced_train_alpaca.jsonl", + "trust_remote_code": false, + "type": "alpaca" + } + ], + "ddp": false, + "device": "cuda:0", + "device_map": "auto", + "dion_rank_fraction": 1.0, + "dion_rank_multiple_of": 1, + "eaft_alpha": 1.0, + "eaft_k": 20, + "env_capabilities": { + "torch_version": "2.8.0" + }, + "eval_batch_size": 2, + "eval_causal_lm_metrics": [ + "sacrebleu", + "comet", + "ter", + "chrf" + ], + "eval_max_new_tokens": 128, + "eval_sample_packing": true, + "eval_steps": 0.1, + "eval_table_size": 0, + "evals_per_epoch": 2, + "experimental_skip_move_to_device": true, + "flash_attention": true, + "fp16": false, + "gradient_accumulation_steps": 4, + "gradient_checkpointing": true, + "gradient_checkpointing_kwargs": { + "use_reentrant": false + }, + "include_tkps": true, + "learning_rate": 0.0002, + "lisa_layers_attribute": "model.layers", + "load_best_model_at_end": true, + "load_in_4bit": false, + "load_in_8bit": false, + "local_rank": 0, + "logging_steps": 10, + "lora_alpha": 64, + "lora_dropout": 0.05, + "lora_r": 32, + "lora_target_linear": true, + "loraplus_lr_embedding": 1e-06, + "lr_scheduler": "cosine", + "mean_resizing_embeddings": false, + "micro_batch_size": 2, + "model_config_type": "qwen3", + "num_epochs": 5.0, + "optimizer": "adamw_torch_fused", + "otel_metrics_host": "localhost", + "otel_metrics_port": 8000, + "output_dir": "/home/jiaruil5/math_rl/mix_teachers/r3lit_rl/mix_teachers/checkpoints/math_operations/primitive_atomic_balanced_sft_50k_t20260305", + "pad_to_sequence_len": true, + "pretrain_multipack_attn": true, + "profiler_steps_start": 0, + "qlora_sharded_model_loading": false, + "ray_num_workers": 1, + "resources_per_worker": { + "GPU": 1 + }, + "sample_packing": true, + "sample_packing_bin_size": 200, + "sample_packing_group_size": 100000, + "save_only_model": false, + "save_safetensors": true, + "save_steps": 0.2, + "save_total_limit": 3, + "saves_per_epoch": 1, + "sequence_len": 2048, + "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": [ + { + "message_property_mappings": { + "content": "content", + "role": "role" + }, + "path": "/home/jiaruil5/math_rl/mix_teachers/r3lit_rl/mix_teachers/data/math_operations/primitive_atomic_balanced_sft_50k/balanced_val_alpaca.jsonl", + "trust_remote_code": false, + "type": "alpaca" + } + ], + "tf32": true, + "tiled_mlp_use_original_mlp": true, + "tokenizer_config": "/home/jiaruil5/math_rl/mix_teachers/r3lit_rl/models/Qwen/Qwen3-4B-Instruct-2507", + "tokenizer_save_jinja_files": true, + "torch_dtype": "torch.bfloat16", + "train_on_inputs": false, + "trl": { + "log_completions": false, + "mask_truncated_completions": false, + "ref_model_mixup_alpha": 0.9, + "ref_model_sync_steps": 64, + "scale_rewards": true, + "sync_ref_model": false, + "use_vllm": false, + "vllm_server_host": "0.0.0.0", + "vllm_server_port": 8000 + }, + "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_log_model": "false", + "wandb_name": "qwen3-4b-primitive-atomic-balanced-lora-sft-50k-t20260305", + "wandb_project": "math_operations_sft", + "warmup_ratio": 0.1, + "weight_decay": 0.01, + "world_size": 1 +} +[2026-03-05 03:31:19,300] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:285] [PID:1482537] EOS: 151645 / <|im_end|> +[2026-03-05 03:31:19,300] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:286] [PID:1482537] BOS: None / None +[2026-03-05 03:31:19,300] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:287] [PID:1482537] PAD: 151643 / <|endoftext|> +[2026-03-05 03:31:19,300] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:288] [PID:1482537] UNK: None / None +[2026-03-05 03:31:46,122] [INFO] [axolotl.utils.data.shared.load_preprocessed_dataset:481] [PID:1482537] Unable to find prepared dataset in last_run_prepared/c5b2dcf69e91df42a1bb115dcc61090d +[2026-03-05 03:31:46,122] [INFO] [axolotl.utils.data.sft._load_raw_datasets:320] [PID:1482537] Loading raw datasets... +[2026-03-05 03:31:46,123] [WARNING] [axolotl.utils.data.sft._load_raw_datasets:322] [PID:1482537] Processing datasets during training can lead to VRAM instability. Please pre-process your dataset using `axolotl preprocess path/to/config.yml`. +[2026-03-05 03:31:46,283] [INFO] [axolotl.utils.data.wrappers.get_dataset_wrapper:87] [PID:1482537] Loading dataset: /home/jiaruil5/math_rl/mix_teachers/r3lit_rl/mix_teachers/data/math_operations/primitive_atomic_balanced_sft_50k/balanced_train_alpaca.jsonl with base_type: alpaca and prompt_style: None +[2026-03-05 03:31:48,196] [INFO] [axolotl.utils.data.utils.handle_long_seq_in_dataset:224] [PID:1482537] min_input_len: 257 +[2026-03-05 03:31:48,197] [INFO] [axolotl.utils.data.utils.handle_long_seq_in_dataset:226] [PID:1482537] max_input_len: 371 + Dropping Long Sequences (>2048) (num_proc=64): 0%| | 0/50000 [00:002048) (num_proc=64): 2%|▏ | 782/50000 [00:01<01:59, 413.49 examples/s] Dropping Long Sequences (>2048) (num_proc=64): 5%|▍ | 2346/50000 [00:02<00:33, 1435.97 examples/s] Dropping Long Sequences (>2048) (num_proc=64): 11%|█ | 5474/50000 [00:02<00:11, 3987.72 examples/s] Dropping Long Sequences (>2048) (num_proc=64): 14%|█▍ | 7038/50000 [00:02<00:08, 5015.87 examples/s] Dropping Long Sequences (>2048) (num_proc=64): 17%|█▋ | 8602/50000 [00:02<00:06, 6116.95 examples/s] Dropping Long Sequences (>2048) (num_proc=64): 25%|██▌ | 12510/50000 [00:02<00:03, 9773.68 examples/s] Dropping Long Sequences (>2048) (num_proc=64): 31%|███▏ | 15634/50000 [00:02<00:02, 12960.72 examples/s] Dropping Long Sequences (>2048) (num_proc=64): 36%|███▌ | 17977/50000 [00:02<00:02, 12661.00 examples/s] Dropping Long Sequences (>2048) (num_proc=64): 50%|█████ | 25008/50000 [00:03<00:01, 22659.90 examples/s] Dropping Long Sequences (>2048) (num_proc=64): 61%|██████ | 30475/50000 [00:03<00:00, 28999.45 examples/s] Dropping Long Sequences (>2048) (num_proc=64): 100%|██████████| 50000/50000 [00:03<00:00, 66194.93 examples/s] Dropping Long Sequences (>2048) (num_proc=64): 100%|██████████| 50000/50000 [00:03<00:00, 13363.85 examples/s] + Drop Samples with Zero Trainable Tokens (num_proc=64): 0%| | 0/50000 [00:002048) (num_proc=64): 0%| | 0/200 [00:002048) (num_proc=64): 2%|▏ | 4/200 [00:01<01:11, 2.74 examples/s] Dropping Long Sequences (>2048) (num_proc=64): 19%|█▉ | 38/200 [00:01<00:05, 31.66 examples/s] Dropping Long Sequences (>2048) (num_proc=64): 37%|███▋ | 74/200 [00:01<00:01, 66.57 examples/s] Dropping Long Sequences (>2048) (num_proc=64): 74%|███████▍ | 149/200 [00:01<00:00, 157.42 examples/s] Dropping Long Sequences (>2048) (num_proc=64): 100%|██████████| 200/200 [00:02<00:00, 86.36 examples/s] + Drop Samples with Zero Trainable Tokens (num_proc=64): 0%| | 0/200 [00:00 +[2026-03-05 03:32:21,039] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:286] [PID:1482537] BOS: None / None +[2026-03-05 03:32:21,039] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:287] [PID:1482537] PAD: 151643 / <|endoftext|> +[2026-03-05 03:32:21,039] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:288] [PID:1482537] UNK: None / None +[2026-03-05 03:32:21,039] [DEBUG] [axolotl.train.setup_model_and_tokenizer:82] [PID:1482537] Loading model +[2026-03-05 03:32:21,051] [DEBUG] [axolotl.monkeypatch.transformers.trainer_loss_calc.patch_evaluation_loop:87] [PID:1482537] Patched Trainer.evaluation_loop with nanmean loss calculation +[2026-03-05 03:32:21,052] [DEBUG] [axolotl.monkeypatch.transformers.trainer_loss_calc.patch_maybe_log_save_evaluate:138] [PID:1482537] Patched Trainer._maybe_log_save_evaluate with nanmean loss calculation +[2026-03-05 03:32:21,054] [INFO] [axolotl.loaders.patch_manager._apply_multipack_patches:346] [PID:1482537] Applying multipack dataloader patch for sample packing... + Fetching 22 files: 0%| | 0/22 [00:00