diff --git "a/checkpoints/math_operations/lora_sft_primitive_atomic_50k/debug.log" "b/checkpoints/math_operations/lora_sft_primitive_atomic_50k/debug.log" new file mode 100644--- /dev/null +++ "b/checkpoints/math_operations/lora_sft_primitive_atomic_50k/debug.log" @@ -0,0 +1,1047 @@ +[2026-02-25 23:18:39,663] [DEBUG] [axolotl.utils.config.resolve_dtype:66] [PID:2758243] bf16 support detected, enabling for this configuration. +[2026-02-25 23:18:39,668] [DEBUG] [axolotl.utils.config.log_gpu_memory_usage:127] [PID:2758243] baseline 0.000GB () +[2026-02-25 23:18:39,669] [INFO] [axolotl.cli.config.load_cfg:259] [PID:2758243] config: +{ + "activation_offloading": false, + "adapter": "lora", + "axolotl_config_path": "/home/jiaruil5/math_rl/mix_teachers/mix_teachers/train/math_operations_sft/configs/primitive_atomic_balanced_sft_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": 16, + "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": false, + "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", + "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, + "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", + "wandb_project": "math_operations_sft", + "warmup_ratio": 0.1, + "weight_decay": 0.01, + "world_size": 1 +} +[2026-02-25 23:18:39,671] [WARNING] [axolotl.cli.checks.check_user_token:46] [PID:2758243] Error verifying HuggingFace token. Remember to log in using `hf auth login` and get your access token from https://huggingface.co/settings/tokens if you want to use gated models or datasets. +[2026-02-25 23:18:41,188] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:285] [PID:2758243] EOS: 151645 / <|im_end|> +[2026-02-25 23:18:41,188] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:286] [PID:2758243] BOS: None / None +[2026-02-25 23:18:41,188] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:287] [PID:2758243] PAD: 151643 / <|endoftext|> +[2026-02-25 23:18:41,188] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:288] [PID:2758243] UNK: None / None +[2026-02-25 23:18:41,190] [INFO] [axolotl.utils.data.shared.load_preprocessed_dataset:481] [PID:2758243] Unable to find prepared dataset in last_run_prepared/c5b2dcf69e91df42a1bb115dcc61090d +[2026-02-25 23:18:41,190] [INFO] [axolotl.utils.data.sft._load_raw_datasets:320] [PID:2758243] Loading raw datasets... +[2026-02-25 23:18:41,190] [WARNING] [axolotl.utils.data.sft._load_raw_datasets:322] [PID:2758243] Processing datasets during training can lead to VRAM instability. Please pre-process your dataset using `axolotl preprocess path/to/config.yml`. +[2026-02-25 23:18:41,383] [INFO] [axolotl.utils.data.wrappers.get_dataset_wrapper:87] [PID:2758243] 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 + Tokenizing Prompts (num_proc=16): 0%| | 0/50000 [00:002048) (num_proc=16): 0%| | 0/50000 [00:002048) (num_proc=16): 2%|▏ | 1000/50000 [00:00<00:26, 1819.65 examples/s] Dropping Long Sequences (>2048) (num_proc=16): 8%|▊ | 4000/50000 [00:00<00:06, 7026.62 examples/s] Dropping Long Sequences (>2048) (num_proc=16): 20%|██ | 10000/50000 [00:00<00:02, 18302.64 examples/s] Dropping Long Sequences (>2048) (num_proc=16): 28%|██▊ | 14000/50000 [00:00<00:01, 23301.27 examples/s] Dropping Long Sequences (>2048) (num_proc=16): 44%|████▍ | 22125/50000 [00:01<00:00, 35886.88 examples/s] Dropping Long Sequences (>2048) (num_proc=16): 55%|█████▍ | 27250/50000 [00:01<00:00, 38894.57 examples/s] Dropping Long Sequences (>2048) (num_proc=16): 65%|██████▍ | 32375/50000 [00:01<00:00, 36820.72 examples/s] Dropping Long Sequences (>2048) (num_proc=16): 80%|███████▉ | 39750/50000 [00:01<00:00, 45863.62 examples/s] Dropping Long Sequences (>2048) (num_proc=16): 94%|█████████▍| 47250/50000 [00:01<00:00, 53308.36 examples/s] Dropping Long Sequences (>2048) (num_proc=16): 100%|██████████| 50000/50000 [00:01<00:00, 28809.78 examples/s] + Drop Samples with Zero Trainable Tokens (num_proc=16): 0%| | 0/50000 [00:002048) (num_proc=16): 0%| | 0/200 [00:002048) (num_proc=16): 6%|▋ | 13/200 [00:00<00:05, 37.12 examples/s] Dropping Long Sequences (>2048) (num_proc=16): 100%|██████████| 200/200 [00:00<00:00, 352.25 examples/s] + Drop Samples with Zero Trainable Tokens (num_proc=16): 0%| | 0/200 [00:00 +[2026-02-25 23:20:25,221] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:286] [PID:2758243] BOS: None / None +[2026-02-25 23:20:25,221] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:287] [PID:2758243] PAD: 151643 / <|endoftext|> +[2026-02-25 23:20:25,221] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:288] [PID:2758243] UNK: None / None +[2026-02-25 23:20:25,221] [DEBUG] [axolotl.train.setup_model_and_tokenizer:82] [PID:2758243] Loading model +[2026-02-25 23:20:25,235] [DEBUG] [axolotl.monkeypatch.transformers.trainer_loss_calc.patch_evaluation_loop:87] [PID:2758243] Patched Trainer.evaluation_loop with nanmean loss calculation +[2026-02-25 23:20:25,237] [DEBUG] [axolotl.monkeypatch.transformers.trainer_loss_calc.patch_maybe_log_save_evaluate:138] [PID:2758243] Patched Trainer._maybe_log_save_evaluate with nanmean loss calculation +[2026-02-25 23:20:25,239] [INFO] [axolotl.loaders.patch_manager._apply_multipack_patches:346] [PID:2758243] Applying multipack dataloader patch for sample packing... + Fetching 22 files: 0%| | 0/22 [00:00