[2026-08-16 22:46:33,128] [DEBUG] [axolotl.utils.config.resolve_dtype:161] [PID:4018258] bf16 support detected, enabling for this configuration. [2026-08-16 22:46:33,142] [DEBUG] [axolotl.utils.config.log_gpu_memory_usage:127] [PID:4018258] baseline 0.000GB () [2026-08-16 22:46:33,143] [INFO] [axolotl.cli.config.load_cfg:336] [PID:4018258] config: { "activation_offloading": false, "adapter": "lora", "attn_decontaminates_packing": true, "attn_implementation": "flash_attention_2", "attn_needs_dtype_cast": true, "attn_supports_packing": true, "attn_uses_flash_lib": true, "axolotl_config_path": "Qwen3_8-27B_v2.yaml", "base_model": "/media/models/qwen38-27B", "base_model_config": "/media/models/qwen38-27B", "batch_size": 8, "bf16": true, "capabilities": { "bf16": true, "compute_capability": "sm_120", "fp8": true, "n_gpu": 1, "n_node": 1, "tf32": true }, "chat_template": "qwen3_5", "context_parallel_size": 1, "cut_cross_entropy": true, "dataloader_num_workers": 1, "dataloader_pin_memory": true, "dataloader_prefetch_factor": 256, "dataset_num_proc": 48, "dataset_prepared_path": "last_run_prepared", "datasets": [ { "chat_template": "tokenizer_default", "field_messages": "conversations", "message_property_mappings": { "content": "content", "role": "role" }, "path": "./data/benchmark_260812.jsonl", "trust_remote_code": false, "type": "chat_template" } ], "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.11.0" }, "eval_batch_size": 1, "eval_causal_lm_metrics": [ "sacrebleu", "comet", "ter", "chrf" ], "eval_max_new_tokens": 128, "eval_sample_packing": true, "eval_steps": 0.08333333333333333, "eval_table_size": 0, "evals_per_epoch": 3, "experimental_skip_move_to_device": 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": false }, "include_tkps": true, "is_multimodal": true, "layer_offloading": false, "learning_rate": 8e-06, "lisa_layers_attribute": "model.layers", "load_best_model_at_end": false, "load_in_4bit": false, "load_in_8bit": false, "local_rank": 0, "logging_steps": 5, "lora_alpha": 32, "lora_dropout": 0.0, "lora_mlp_kernel": false, "lora_model_dir": "/media/models/qwen38_SFT", "lora_o_kernel": false, "lora_qkv_kernel": false, "lora_r": 256, "lora_target_modules": [ "q_proj", "k_proj", "v_proj", "o_proj", "down_proj", "up_proj", "linear_attn.in_proj_qkv", "linear_attn.in_proj_z", "linear_attn.out_proj" ], "loraplus_lr_embedding": 1e-06, "lr_scheduler": "cosine", "mean_resizing_embeddings": false, "merge_method": "memory_efficient", "micro_batch_size": 1, "model_config_type": "qwen3_5", "model_config_type_text": "qwen3_5_text", "num_epochs": 4.0, "num_generation_samples": 3, "optimizer": "adamw_torch_fused", "otel_metrics_host": "localhost", "otel_metrics_port": 8000, "output_dir": "/media/models/qwen38_merged2", "pad_to_sequence_len": true, "peft_use_rslora": true, "plugins": [ "axolotl.integrations.cut_cross_entropy.CutCrossEntropyPlugin" ], "pretrain_multipack_attn": true, "processor_config": "/media/models/qwen38-27B", "profiler_steps_start": 0, "qgalore_cos_threshold": 0.4, "qgalore_gamma_proj": 2, "qgalore_proj_bits": 4, "qgalore_proj_group_size": 256, "qgalore_proj_quant": true, "qgalore_proj_type": "std", "qgalore_queue_size": 5, "qgalore_rank": 256, "qgalore_scale": 0.25, "qgalore_update_proj_gap": 200, "qlora_sharded_model_loading": false, "quantize_moe_experts": false, "ray_num_workers": 1, "relora_prune_method": "magnitude", "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.0625, "saves_per_epoch": 4, "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, "tf32": true, "tiled_mlp_use_original_mlp": true, "tokenizer_config": "/media/models/qwen38-27B", "tokenizer_save_jinja_files": true, "torch_compile": false, "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 }, "use_otel_metrics": false, "use_ray": false, "val_set_size": 0.01, "vllm": { "device": "auto", "dtype": "auto", "gpu_memory_utilization": 0.9, "host": "0.0.0.0", "port": 8000 }, "warmup_ratio": 0.07, "weight_decay": 0.0, "world_size": 1 } [2026-08-16 22:46:33,146] [INFO] [axolotl.integrations.base.register:410] [PID:4018258] Attempting to load plugin: axolotl.integrations.cut_cross_entropy.CutCrossEntropyPlugin [2026-08-16 22:46:33,146] [INFO] [axolotl.integrations.base.register:413] [PID:4018258] Plugin loaded successfully: axolotl.integrations.cut_cross_entropy.CutCrossEntropyPlugin [2026-08-16 22:46:33,205] [INFO] [axolotl.utils.schemas.validation.check_eval_packing:153] [PID:4018258] explicitly setting `eval_sample_packing` to match `sample_packing` [2026-08-16 22:46:33,205] [WARNING] [axolotl.utils.schemas.validation.check_sample_packing_without_attention:198] [PID:4018258] `sample_packing` without an attention backend does not handle cross-sample decontamination. Set `attn_implementation` to a packing-capable backend (e.g. flash_attention_2). [2026-08-16 22:46:33,249] [DEBUG] [axolotl.utils.config.resolve_dtype:161] [PID:4018258] bf16 support detected, enabling for this configuration. [2026-08-16 22:46:33,258] [DEBUG] [axolotl.utils.config.log_gpu_memory_usage:127] [PID:4018258] baseline 0.000GB () [2026-08-16 22:46:33,258] [INFO] [axolotl.cli.config.load_cfg:336] [PID:4018258] config: { "activation_offloading": false, "adapter": "lora", "attn_decontaminates_packing": false, "attn_needs_dtype_cast": false, "attn_supports_packing": false, "attn_uses_flash_lib": false, "axolotl_config_path": "Qwen3_8-27B_v2.yaml", "base_model": "/media/models/qwen38-27B", "base_model_config": "/media/models/qwen38-27B", "batch_size": 8, "bf16": true, "capabilities": { "bf16": true, "compute_capability": "sm_120", "fp8": true, "n_gpu": 1, "n_node": 1, "tf32": true }, "chat_template": "qwen3_5", "context_parallel_size": 1, "cut_cross_entropy": true, "dataloader_num_workers": 1, "dataloader_pin_memory": true, "dataloader_prefetch_factor": 256, "dataset_num_proc": 48, "dataset_prepared_path": "last_run_prepared", "datasets": [ { "chat_template": "tokenizer_default", "field_messages": "conversations", "message_property_mappings": { "content": "content", "role": "role" }, "path": "./data/benchmark_260812.jsonl", "trust_remote_code": false, "type": "chat_template" } ], "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.11.0" }, "eval_batch_size": 1, "eval_causal_lm_metrics": [ "sacrebleu", "comet", "ter", "chrf" ], "eval_max_new_tokens": 128, "eval_sample_packing": true, "eval_steps": 0.08333333333333333, "eval_table_size": 0, "evals_per_epoch": 3, "experimental_skip_move_to_device": 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": false }, "include_tkps": true, "is_multimodal": true, "layer_offloading": false, "learning_rate": 8e-06, "lisa_layers_attribute": "model.layers", "load_best_model_at_end": false, "load_in_4bit": false, "load_in_8bit": false, "local_rank": 0, "logging_steps": 5, "lora_alpha": 32, "lora_dropout": 0.0, "lora_mlp_kernel": false, "lora_model_dir": "/media/models/qwen38_SFT", "lora_o_kernel": false, "lora_qkv_kernel": false, "lora_r": 256, "lora_target_modules": [ "q_proj", "k_proj", "v_proj", "o_proj", "down_proj", "up_proj", "linear_attn.in_proj_qkv", "linear_attn.in_proj_z", "linear_attn.out_proj" ], "loraplus_lr_embedding": 1e-06, "lr_scheduler": "cosine", "mean_resizing_embeddings": false, "merge_lora": true, "merge_method": "memory_efficient", "micro_batch_size": 1, "model_config_type": "qwen3_5", "model_config_type_text": "qwen3_5_text", "num_epochs": 4.0, "num_generation_samples": 3, "optimizer": "adamw_torch_fused", "otel_metrics_host": "localhost", "otel_metrics_port": 8000, "output_dir": "/media/models/qwen38_merged2", "pad_to_sequence_len": true, "peft_use_rslora": true, "plugins": [ "axolotl.integrations.cut_cross_entropy.CutCrossEntropyPlugin" ], "pretrain_multipack_attn": true, "processor_config": "/media/models/qwen38-27B", "profiler_steps_start": 0, "qgalore_cos_threshold": 0.4, "qgalore_gamma_proj": 2, "qgalore_proj_bits": 4, "qgalore_proj_group_size": 256, "qgalore_proj_quant": true, "qgalore_proj_type": "std", "qgalore_queue_size": 5, "qgalore_rank": 256, "qgalore_scale": 0.25, "qgalore_update_proj_gap": 200, "qlora_sharded_model_loading": false, "quantize_moe_experts": false, "ray_num_workers": 1, "relora_prune_method": "magnitude", "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.0625, "saves_per_epoch": 4, "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, "tf32": true, "tiled_mlp_use_original_mlp": true, "tokenizer_config": "/media/models/qwen38-27B", "tokenizer_save_jinja_files": true, "torch_compile": false, "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 }, "use_otel_metrics": false, "use_ray": false, "val_set_size": 0.01, "vllm": { "device": "auto", "dtype": "auto", "gpu_memory_utilization": 0.9, "host": "0.0.0.0", "port": 8000 }, "warmup_ratio": 0.07, "weight_decay": 0.0, "world_size": 1 } [2026-08-16 22:46:33,930] [DEBUG] [axolotl.cli.utils.lora_merge._build_layer_type_map:133] [PID:4018258] Layer type map: 656 modules (49 conv layers) [2026-08-16 22:46:33,930] [DEBUG] [axolotl.cli.utils.lora_merge.merge_lora_sharded_efficient:1863] [PID:4018258] LoRA scale factor: 2.0 (rslora=True) [2026-08-16 22:46:33,930] [DEBUG] [axolotl.cli.utils.lora_merge.merge_lora_sharded_efficient:1879] [PID:4018258] Loading LoRA weights from /media/models/qwen38_SFT/adapter_model.safetensors [2026-08-16 22:46:33,944] [DEBUG] [axolotl.cli.utils.lora_merge.merge_lora_sharded_efficient:1885] [PID:4018258] Keeping LoRA weights on CPU; will move per-tensor during merge [2026-08-16 22:46:33,944] [DEBUG] [axolotl.cli.utils.lora_merge.merge_lora_sharded_efficient:1891] [PID:4018258] Found 18 model shards in /media/models/qwen38-27B [2026-08-16 22:46:33,944] [INFO] [axolotl.cli.utils.lora_merge.copy_non_model_files:544] [PID:4018258] Copying non-model files to output directory... [2026-08-16 22:46:33,945] [DEBUG] [axolotl.cli.utils.lora_merge.copy_non_model_files:565] [PID:4018258] Copying .gitattributes to output [2026-08-16 22:46:33,945] [DEBUG] [axolotl.cli.utils.lora_merge.copy_non_model_files:565] [PID:4018258] Copying chat_template.jinja to output [2026-08-16 22:46:33,945] [DEBUG] [axolotl.cli.utils.lora_merge.copy_non_model_files:565] [PID:4018258] Copying crc32.txt to output [2026-08-16 22:46:33,946] [DEBUG] [axolotl.cli.utils.lora_merge.copy_non_model_files:565] [PID:4018258] Copying config.json to output [2026-08-16 22:46:33,946] [DEBUG] [axolotl.cli.utils.lora_merge.copy_non_model_files:565] [PID:4018258] Copying README.md to output [2026-08-16 22:46:33,946] [DEBUG] [axolotl.cli.utils.lora_merge.copy_non_model_files:565] [PID:4018258] Copying video_preprocessor_config.json to output [2026-08-16 22:46:33,946] [DEBUG] [axolotl.cli.utils.lora_merge.copy_non_model_files:565] [PID:4018258] Copying tokenizer_config.json to output [2026-08-16 22:46:33,946] [DEBUG] [axolotl.cli.utils.lora_merge.copy_non_model_files:565] [PID:4018258] Copying preprocessor_config.json to output [2026-08-16 22:46:33,947] [DEBUG] [axolotl.cli.utils.lora_merge.copy_non_model_files:565] [PID:4018258] Copying merges.txt to output [2026-08-16 22:46:33,950] [DEBUG] [axolotl.cli.utils.lora_merge.copy_non_model_files:565] [PID:4018258] Copying LICENSE to output [2026-08-16 22:46:33,951] [DEBUG] [axolotl.cli.utils.lora_merge.copy_non_model_files:565] [PID:4018258] Copying tokenizer.json to output [2026-08-16 22:46:33,955] [DEBUG] [axolotl.cli.utils.lora_merge.copy_non_model_files:565] [PID:4018258] Copying vocab.json to output [2026-08-16 22:46:33,960] [DEBUG] [axolotl.cli.utils.lora_merge.copy_non_model_files:565] [PID:4018258] Copying generation_config.json to output Merging shards: 0%| | 0/18 [00:00