[2025-10-12 18:39:39,671] [DEBUG] [axolotl.utils.config.resolve_dtype:66] [PID:22885] bf16 support detected, enabling for this configuration. [2025-10-12 18:39:39,673] [DEBUG] [axolotl.utils.config.log_gpu_memory_usage:127] [PID:22885] baseline 0.000GB () [2025-10-12 18:39:39,673] [INFO] [axolotl.cli.config.load_cfg:248] [PID:22885] config: { "activation_offloading": false, "adapter": "qlora", "axolotl_config_path": "follow-up.yaml", "base_model": "./merged-stage-1", "base_model_config": "./merged-stage-1", "batch_size": 8, "bf16": true, "capabilities": { "bf16": true, "compute_capability": "sm_86", "fp8": false, "n_gpu": 2, "n_node": 1 }, "chat_template": "chatml", "context_parallel_size": 1, "cut_cross_entropy": true, "dataloader_num_workers": 2, "dataloader_pin_memory": true, "dataloader_prefetch_factor": 256, "dataset_prepared_path": "last_run_prepared", "dataset_processes": 24, "datasets": [ { "chat_template": "tokenizer_default", "field_messages": "conversations", "message_property_mappings": { "content": "value", "role": "from" }, "path": "grimulkan/LimaRP-augmented", "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, "env_capabilities": { "torch_version": "2.7.1" }, "eval_batch_size": 1, "eval_causal_lm_metrics": [ "sacrebleu", "comet", "ter", "chrf" ], "eval_max_new_tokens": 128, "eval_steps": 0.1, "eval_table_size": 0, "evals_per_epoch": 10, "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, "limit_all_gathers": true, "offload_params": true, "sharding_strategy": "FULL_SHARD", "state_dict_type": "FULL_STATE_DICT", "sync_module_states": true, "transformer_layer_cls_to_wrap": "MistralDecoderLayer", "use_orig_params": false }, "gc_steps": 10, "gradient_accumulation_steps": 4, "gradient_checkpointing": false, "group_by_length": false, "hub_model_id": "ToastyPigeon/muse-marvin-stage2-lora", "hub_strategy": "every_save", "include_tkps": true, "is_mistral_derived_model": true, "learning_rate": 5e-06, "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": true, "load_in_8bit": false, "local_rank": 0, "logging_steps": 1, "lora_alpha": 32, "lora_dropout": 0.1, "lora_r": 32, "lora_target_modules": [ "down_proj", "o_proj" ], "loraplus_lr_embedding": 1e-06, "lr_scheduler": "cosine", "max_grad_norm": 1.0, "mean_resizing_embeddings": false, "micro_batch_size": 1, "model_config_type": "mistral", "num_epochs": 1.0, "optimizer": "adamw_torch_fused", "output_dir": "ckpts-stage-2", "pad_to_sequence_len": false, "peft_use_rslora": false, "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": false, "sample_packing_bin_size": 200, "sample_packing_group_size": 100000, "save_only_model": false, "save_safetensors": true, "save_total_limit": 1, "saves_per_epoch": 1, "seed": 69, "sequence_len": 16384, "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": "./merged-stage-1", "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_ray": false, "use_wandb": true, "val_set_size": 0.025, "vllm": { "device": "auto", "dtype": "auto", "gpu_memory_utilization": 0.9, "host": "0.0.0.0", "port": 8000 }, "wandb_name": "r32-qlora-stage2", "wandb_project": "MuseMarvin", "warmup_ratio": 0.025, "weight_decay": 0.01, "world_size": 2 } [2025-10-12 18:39:40,262] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:278] [PID:22885] EOS: 131072 / <|im_end|> [2025-10-12 18:39:40,262] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:279] [PID:22885] BOS: 1 / [2025-10-12 18:39:40,262] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:280] [PID:22885] PAD: 10 / [2025-10-12 18:39:40,262] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:281] [PID:22885] UNK: 0 / [2025-10-12 18:40:18,295] [INFO] [axolotl.utils.data.shared.load_preprocessed_dataset:470] [PID:22885] Loading prepared dataset from disk at last_run_prepared/7d6aa8bf66144ecfdac49b6cca8af304... [2025-10-12 18:40:18,307] [DEBUG] [axolotl.utils.trainer.calculate_total_num_steps:404] [PID:22885] total_num_tokens: 3_181_431 [2025-10-12 18:40:18,320] [DEBUG] [axolotl.utils.trainer.calculate_total_num_steps:422] [PID:22885] `total_supervised_tokens: 1_427_425` [2025-10-12 18:40:18,320] [DEBUG] [axolotl.utils.trainer.calculate_total_num_steps:520] [PID:22885] total_num_steps: 93 [2025-10-12 18:40:18,320] [INFO] [axolotl.utils.data.sft._prepare_standard_dataset:121] [PID:22885] Maximum number of steps set at 93 [2025-10-12 18:40:18,339] [DEBUG] [axolotl.train.setup_model_and_tokenizer:70] [PID:22885] Loading tokenizer... ./merged-stage-1 [2025-10-12 18:40:18,743] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:278] [PID:22885] EOS: 131072 / <|im_end|> [2025-10-12 18:40:18,743] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:279] [PID:22885] BOS: 1 / [2025-10-12 18:40:18,743] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:280] [PID:22885] PAD: 10 / [2025-10-12 18:40:18,743] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:281] [PID:22885] UNK: 0 / [2025-10-12 18:40:18,743] [DEBUG] [axolotl.train.setup_model_and_tokenizer:79] [PID:22885] Loading model [2025-10-12 18:40:18,750] [DEBUG] [axolotl.monkeypatch.transformers.trainer_loss_calc.patch_evaluation_loop:87] [PID:22885] Patched Trainer.evaluation_loop with nanmean loss calculation [2025-10-12 18:40:18,751] [DEBUG] [axolotl.monkeypatch.transformers.trainer_loss_calc.patch_maybe_log_save_evaluate:138] [PID:22885] Patched Trainer._maybe_log_save_evaluate with nanmean loss calculation [2025-10-12 18:40:18,764] [INFO] [axolotl.integrations.liger.plugin.pre_model_load:71] [PID:22885] Applying LIGER to mistral with kwargs: {'rope': True, 'cross_entropy': None, 'fused_linear_cross_entropy': None, 'rms_norm': True, 'swiglu': True} [2025-10-12 18:40:18,869] [INFO] [axolotl.integrations.cut_cross_entropy.pre_model_load:94] [PID:22885] Applying Cut Cross Entropy to model type: mistral Loading checkpoint shards: 0%| | 0/5 [00:00