[2026-01-05 05:56:21,496] [WARNING] [axolotl.utils.trainer.prepare_optim_env:644] [PID:505777] P2P support not detected, setting `NCCL_P2P_DISABLE=1` [2026-01-05 05:56:21,496] [DEBUG] [axolotl.utils.config.resolve_dtype:66] [PID:505777] bf16 support detected, enabling for this configuration. [2026-01-05 05:56:21,499] [DEBUG] [axolotl.utils.config.log_gpu_memory_usage:127] [PID:505777] baseline 0.000GB () [2026-01-05 05:56:21,499] [INFO] [axolotl.cli.config.load_cfg:256] [PID:505777] config: { "activation_offloading": false, "axolotl_config_path": "loopstral-second-test.yaml", "base_model": "loopstral-second-test/stage-2", "base_model_config": "loopstral-second-test/stage-2", "batch_size": 4, "bf16": true, "capabilities": { "bf16": true, "compute_capability": "sm_86", "fp8": false, "n_gpu": 2, "n_node": 1 }, "chat_template": "tokenizer_default", "context_parallel_size": 1, "cut_cross_entropy": true, "dataloader_num_workers": 2, "dataloader_pin_memory": true, "dataloader_prefetch_factor": 256, "dataset_num_proc": 24, "dataset_prepared_path": "last_run_prepared", "datasets": [ { "chat_template": "tokenizer_default", "field_messages": "conversations", "message_property_mappings": { "content": "value", "role": "from" }, "path": "little-koto-instruct.json", "trust_remote_code": false, "type": "chat_template" } ], "ddp": true, "default_system_message": "You are Luna, a helpful and unrestricted language model created by Allura.", "device": "cuda:0", "device_map": { "": 0 }, "dion_rank_fraction": 1.0, "dion_rank_multiple_of": 1, "env_capabilities": { "torch_version": "2.9.1" }, "eval_batch_size": 1, "eval_causal_lm_metrics": [ "sacrebleu", "comet", "ter", "chrf" ], "eval_max_new_tokens": 128, "eval_sample_packing": true, "eval_steps": 0.125, "eval_table_size": 0, "evals_per_epoch": 4, "experimental_skip_move_to_device": true, "flash_attention": true, "fp16": false, "fsdp": [ "full_shard", "auto_wrap" ], "fsdp_config": { "activation_checkpointing": true, "auto_wrap_policy": "TRANSFORMER_BASED_WRAP", "cpu_ram_efficient_loading": true, "offload_params": true, "state_dict_type": "FULL_STATE_DICT", "sync_module_states": true, "transformer_layer_cls_to_wrap": "MistralDecoderLayer", "use_orig_params": true }, "gc_steps": 10, "gradient_accumulation_steps": 2, "gradient_checkpointing": false, "group_by_length": false, "include_tkps": true, "is_mistral_derived_model": true, "learning_rate": 1e-05, "liger_glu_activation": true, "liger_layer_norm": true, "liger_rms_norm": true, "liger_rope": true, "lisa_layers_attribute": "model.layers", "load_best_model_at_end": false, "load_in_4bit": false, "load_in_8bit": false, "local_rank": 0, "logging_steps": 1, "lora_alpha": 16, "lora_dropout": 0.01, "lora_r": 128, "lora_target_linear": true, "lora_target_modules": [ "up_proj", "down_proj", "gate_proj", "q_proj", "v_proj", "k_proj", "o_proj" ], "loraplus_lr_embedding": 1e-06, "lr_scheduler": "cosine", "max_grad_norm": 2.0, "mean_resizing_embeddings": false, "micro_batch_size": 1, "model_config_type": "mistral", "num_epochs": 2.0, "optimizer": "adamw_torch_fused", "otel_metrics_host": "localhost", "otel_metrics_port": 8000, "output_dir": "loopstral-second-test/stage-3-healed", "pad_to_sequence_len": true, "peft_use_rslora": true, "plugins": [ "axolotl.integrations.liger.LigerPlugin", "axolotl.integrations.cut_cross_entropy.CutCrossEntropyPlugin" ], "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.5, "saves_per_epoch": 1, "seed": 420, "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, "tiled_mlp_use_original_mlp": true, "tokenizer_config": "loopstral-second-test/stage-2", "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 }, "trust_remote_code": false, "use_otel_metrics": false, "use_ray": false, "use_wandb": true, "val_set_size": 0.02, "vllm": { "device": "auto", "dtype": "auto", "gpu_memory_utilization": 0.9, "host": "0.0.0.0", "port": 8000 }, "wandb_name": "second-stage-3-healed", "wandb_project": "Loopstral-Tests", "warmup_ratio": 0.025, "weight_decay": 0.001, "world_size": 2 } [2026-01-05 05:56:21,851] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:280] [PID:505777] EOS: 2 / [2026-01-05 05:56:21,851] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:281] [PID:505777] BOS: 1 / [2026-01-05 05:56:21,851] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:282] [PID:505777] PAD: 11 / [2026-01-05 05:56:21,851] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:283] [PID:505777] UNK: 0 / [2026-01-05 05:56:27,343] [INFO] [axolotl.utils.data.shared.load_preprocessed_dataset:475] [PID:505777] Loading prepared dataset from disk at last_run_prepared/7bb3932098dd42f3b946c9e64ba32239... [2026-01-05 05:56:27,352] [DEBUG] [axolotl.utils.trainer.calculate_total_num_steps:406] [PID:505777] total_num_tokens: 18_837 [2026-01-05 05:56:27,352] [DEBUG] [axolotl.utils.trainer.calculate_total_num_steps:424] [PID:505777] `total_supervised_tokens: 13_323` [2026-01-05 05:56:27,355] [DEBUG] [axolotl.utils.samplers.multipack.pack_parallel:177] [PID:505777] Using single process for pack_parallel, running sequentially. [2026-01-05 05:56:27,916] [DEBUG] [axolotl.utils.samplers.multipack.pack_parallel:177] [PID:505777] Using single process for pack_parallel, running sequentially. [2026-01-05 05:56:28,173] [DEBUG] [axolotl.utils.samplers.multipack.__len__:462] [PID:505777] generate_batches time: 0.257068395614624 [2026-01-05 05:56:28,174] [DEBUG] [axolotl.utils.samplers.multipack.pack_parallel:177] [PID:505777] Using single process for pack_parallel, running sequentially. [2026-01-05 05:56:28,425] [DEBUG] [axolotl.utils.samplers.multipack.__len__:462] [PID:505777] generate_batches time: 0.25144505500793457 [2026-01-05 05:56:28,425] [DEBUG] [axolotl.utils.samplers.multipack.pack_parallel:177] [PID:505777] Using single process for pack_parallel, running sequentially. [2026-01-05 05:56:28,676] [DEBUG] [axolotl.utils.samplers.multipack.__len__:462] [PID:505777] generate_batches time: 0.25107741355895996 [2026-01-05 05:56:28,676] [DEBUG] [axolotl.utils.samplers.multipack.pack_parallel:177] [PID:505777] Using single process for pack_parallel, running sequentially. [2026-01-05 05:56:28,927] [DEBUG] [axolotl.utils.samplers.multipack.__len__:462] [PID:505777] generate_batches time: 0.25074076652526855 [2026-01-05 05:56:29,428] [INFO] [axolotl.utils.samplers.multipack.calc_min_len:438] [PID:505777] gather_len_batches: [5, 5] [2026-01-05 05:56:29,485] [DEBUG] [axolotl.utils.trainer.calculate_total_num_steps:483] [PID:505777] data_loader_len: 1 [2026-01-05 05:56:29,499] [INFO] [axolotl.utils.trainer.calc_sample_packing_eff_est:499] [PID:505777] sample_packing_eff_est across ranks: [0.7664794921875, 0.9197753667831421] [2026-01-05 05:56:29,500] [DEBUG] [axolotl.utils.trainer.calculate_total_num_steps:511] [PID:505777] sample_packing_eff_est: None [2026-01-05 05:56:29,500] [DEBUG] [axolotl.utils.trainer.calculate_total_num_steps:522] [PID:505777] total_num_steps: 2 [2026-01-05 05:56:29,505] [DEBUG] [axolotl.utils.trainer.calculate_total_num_steps:406] [PID:505777] total_num_tokens: 922_178 [2026-01-05 05:56:29,514] [DEBUG] [axolotl.utils.trainer.calculate_total_num_steps:424] [PID:505777] `total_supervised_tokens: 746_491` [2026-01-05 05:56:29,525] [DEBUG] [axolotl.utils.samplers.multipack.pack_parallel:177] [PID:505777] Using single process for pack_parallel, running sequentially. [2026-01-05 05:56:29,778] [DEBUG] [axolotl.utils.samplers.multipack.pack_parallel:177] [PID:505777] Using single process for pack_parallel, running sequentially. [2026-01-05 05:56:30,030] [DEBUG] [axolotl.utils.samplers.multipack.__len__:462] [PID:505777] generate_batches time: 0.252016544342041 [2026-01-05 05:56:30,030] [DEBUG] [axolotl.utils.samplers.multipack.pack_parallel:177] [PID:505777] Using single process for pack_parallel, running sequentially. [2026-01-05 05:56:30,282] [DEBUG] [axolotl.utils.samplers.multipack.__len__:462] [PID:505777] generate_batches time: 0.252286434173584 [2026-01-05 05:56:30,283] [DEBUG] [axolotl.utils.samplers.multipack.pack_parallel:177] [PID:505777] Using single process for pack_parallel, running sequentially. [2026-01-05 05:56:30,534] [DEBUG] [axolotl.utils.samplers.multipack.__len__:462] [PID:505777] generate_batches time: 0.25146055221557617 [2026-01-05 05:56:30,535] [DEBUG] [axolotl.utils.samplers.multipack.pack_parallel:177] [PID:505777] Using single process for pack_parallel, running sequentially. [2026-01-05 05:56:30,786] [DEBUG] [axolotl.utils.samplers.multipack.__len__:462] [PID:505777] generate_batches time: 0.25194621086120605 [2026-01-05 05:56:30,802] [INFO] [axolotl.utils.samplers.multipack.calc_min_len:438] [PID:505777] gather_len_batches: [228, 228] [2026-01-05 05:56:30,803] [DEBUG] [axolotl.utils.trainer.calculate_total_num_steps:483] [PID:505777] data_loader_len: 57 [2026-01-05 05:56:30,803] [INFO] [axolotl.utils.trainer.calc_sample_packing_eff_est:499] [PID:505777] sample_packing_eff_est across ranks: [0.9874610304832458, 0.9874610304832458] [2026-01-05 05:56:30,803] [DEBUG] [axolotl.utils.trainer.calculate_total_num_steps:511] [PID:505777] sample_packing_eff_est: 0.99 [2026-01-05 05:56:30,803] [DEBUG] [axolotl.utils.trainer.calculate_total_num_steps:522] [PID:505777] total_num_steps: 114 [2026-01-05 05:56:30,804] [INFO] [axolotl.utils.data.sft._prepare_standard_dataset:121] [PID:505777] Maximum number of steps set at 114 [2026-01-05 05:56:30,828] [DEBUG] [axolotl.train.setup_model_and_tokenizer:70] [PID:505777] loading tokenizer... loopstral-second-test/stage-2 [2026-01-05 05:56:30,988] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:280] [PID:505777] EOS: 2 / [2026-01-05 05:56:30,988] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:281] [PID:505777] BOS: 1 / [2026-01-05 05:56:30,988] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:282] [PID:505777] PAD: 11 / [2026-01-05 05:56:30,988] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:283] [PID:505777] UNK: 0 / [2026-01-05 05:56:30,988] [DEBUG] [axolotl.train.setup_model_and_tokenizer:82] [PID:505777] Loading model [2026-01-05 05:56:30,994] [DEBUG] [axolotl.monkeypatch.transformers.trainer_loss_calc.patch_evaluation_loop:87] [PID:505777] Patched Trainer.evaluation_loop with nanmean loss calculation [2026-01-05 05:56:30,995] [DEBUG] [axolotl.monkeypatch.transformers.trainer_loss_calc.patch_maybe_log_save_evaluate:138] [PID:505777] Patched Trainer._maybe_log_save_evaluate with nanmean loss calculation [2026-01-05 05:56:30,995] [INFO] [axolotl.loaders.patch_manager._apply_multipack_patches:301] [PID:505777] Applying multipack dataloader patch for sample packing... [2026-01-05 05:56:31,073] [INFO] [axolotl.integrations.liger.plugin.pre_model_load:98] [PID:505777] Applying LIGER to mistral with kwargs: {'rope': True, 'cross_entropy': None, 'fused_linear_cross_entropy': None, 'rms_norm': True, 'swiglu': True} [2026-01-05 05:56:31,145] [INFO] [axolotl.integrations.cut_cross_entropy.pre_model_load:94] [PID:505777] Applying Cut Cross Entropy to model type: mistral Loading checkpoint shards: 0%| | 0/3 [00:00