[2026-08-20 06:19:39,319] [DEBUG] [axolotl.utils.config.log_gpu_memory_usage:127] [PID:12398] baseline 0.000GB () [2026-08-20 06:19:39,321] [INFO] [axolotl.cli.config.load_cfg:336] [PID:12398] 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": "/tmp/medscript_resolved_sft_summariser.yaml", "base_model": "Qwen/Qwen3-8B", "base_model_config": "Qwen/Qwen3-8B", "batch_size": 32, "bf16": true, "capabilities": { "bf16": true, "compute_capability": "sm_90", "fp8": true, "n_gpu": 1, "n_node": 1, "tf32": true }, "chat_template": "qwen3", "context_parallel_size": 1, "dataloader_num_workers": 1, "dataloader_pin_memory": true, "dataloader_prefetch_factor": 256, "dataset_num_proc": 32, "dataset_prepared_path": "./prepared/sft_summariser", "datasets": [ { "chat_template": "qwen3", "field_messages": "messages", "message_property_mappings": { "content": "content", "role": "role" }, "path": "paulvision/medscript-sft-summariser", "roles_to_train": [ "assistant" ], "split": "train", "trust_remote_code": false, "type": "chat_template" } ], "ddp": false, "device": "cuda:0", "dion_rank_fraction": 1.0, "dion_rank_multiple_of": 1, "eaft_alpha": 1.0, "eaft_k": 20, "env_capabilities": { "torch_version": "2.12.1" }, "eval_batch_size": 16, "eval_causal_lm_metrics": [ "sacrebleu", "comet", "ter", "chrf" ], "eval_max_new_tokens": 128, "eval_sample_packing": false, "eval_steps": 100, "eval_table_size": 0, "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": 2, "gradient_checkpointing": true, "gradient_checkpointing_kwargs": { "use_reentrant": false }, "hub_model_id": "paulvision/medscript-dora-summariser", "hub_strategy": "every_save", "include_tkps": true, "is_falcon_derived_model": false, "is_llama_derived_model": false, "is_mistral_derived_model": false, "layer_offloading": false, "learning_rate": 0.0002, "liger_fused_linear_cross_entropy": true, "liger_glu_activation": true, "liger_rms_norm": true, "liger_rope": true, "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": 32, "lora_dropout": 0.0, "lora_embedding_kernel": true, "lora_mlp_kernel": true, "lora_o_kernel": true, "lora_qkv_kernel": true, "lora_r": 16, "lora_target_modules": [ "q_proj", "k_proj", "v_proj", "o_proj", "gate_proj", "up_proj", "down_proj" ], "loraplus_lr_embedding": 1e-06, "loraplus_lr_ratio": 16.0, "lr_scheduler": "cosine", "max_grad_norm": 1.0, "mean_resizing_embeddings": false, "merge_method": "memory_efficient", "metric_for_best_model": "eval_loss", "micro_batch_size": 16, "model_config_type": "qwen3", "num_epochs": 1.0, "num_generation_samples": 3, "optimizer": "adamw_torch_fused", "otel_metrics_host": "localhost", "otel_metrics_port": 8000, "output_dir": "./checkpoints/sft/summariser", "pad_to_sequence_len": true, "peft_use_dora": true, "plugins": [ "axolotl.integrations.liger.LigerPlugin" ], "pretrain_multipack_attn": true, "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", "remove_unused_columns": false, "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": 100, "save_total_limit": 3, "seed": 42, "sequence_len": 1024, "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": [ { "chat_template": "qwen3", "field_messages": "messages", "message_property_mappings": { "content": "content", "role": "role" }, "path": "paulvision/medscript-sft-summariser", "roles_to_train": [ "assistant" ], "split": "validation", "trust_remote_code": false, "type": "chat_template" } ], "tf32": true, "tiled_mlp_use_original_mlp": true, "tokenizer_config": "Qwen/Qwen3-8B", "tokenizer_save_jinja_files": true, "tokenizer_type": "AutoTokenizer", "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 }, "type_of_model": "AutoModelForCausalLM", "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_name": "sft-summariser", "wandb_project": "medscript-ai", "warmup_ratio": 0.05, "weight_decay": 0.01, "world_size": 1 } [2026-08-20 06:19:42,794] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:311] [PID:12398] EOS: 151645 / <|im_end|> [2026-08-20 06:19:42,794] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:312] [PID:12398] BOS: None / None [2026-08-20 06:19:42,794] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:313] [PID:12398] PAD: 151643 / <|endoftext|> [2026-08-20 06:19:42,794] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:314] [PID:12398] UNK: None / None [2026-08-20 06:19:42,798] [INFO] [axolotl.utils.data.shared.load_preprocessed_dataset:538] [PID:12398] Loading prepared dataset from disk at prepared/sft_summariser/4bc84629d7c7f9e6b4865fc965488ade... [2026-08-20 06:19:42,836] [INFO] [axolotl.utils.data.shared.load_preprocessed_dataset:538] [PID:12398] Loading prepared dataset from disk at prepared/sft_summariser/eda3291548fafd95816192ffb44d2fa8... [2026-08-20 06:19:42,849] [DEBUG] [axolotl.utils.trainer.calculate_total_num_steps:418] [PID:12398] total_num_tokens: 10_667_157 [2026-08-20 06:19:42,870] [DEBUG] [axolotl.utils.trainer.calculate_total_num_steps:440] [PID:12398] total_supervised_tokens: 1_979_829 [2026-08-20 06:19:45,110] [DEBUG] [axolotl.utils.samplers.multipack.__len__:462] [PID:12398] generate_batches time: 0.9590189456939697 [2026-08-20 06:19:46,068] [DEBUG] [axolotl.utils.samplers.multipack.__len__:462] [PID:12398] generate_batches time: 0.9582459926605225 [2026-08-20 06:19:47,029] [DEBUG] [axolotl.utils.samplers.multipack.__len__:462] [PID:12398] generate_batches time: 0.9602870941162109 [2026-08-20 06:19:48,122] [DEBUG] [axolotl.utils.samplers.multipack.__len__:462] [PID:12398] generate_batches time: 1.0921857357025146 [2026-08-20 06:19:48,171] [INFO] [axolotl.utils.samplers.multipack.calc_min_len:438] [PID:12398] gather_len_batches: [656] [2026-08-20 06:19:48,171] [DEBUG] [axolotl.utils.trainer.calculate_total_num_steps:497] [PID:12398] data_loader_len: 328 [2026-08-20 06:19:48,172] [INFO] [axolotl.utils.trainer.calc_sample_packing_eff_est:506] [PID:12398] sample_packing_eff_est across ranks: [0.9924871863388434] [2026-08-20 06:19:48,172] [DEBUG] [axolotl.utils.trainer.calculate_total_num_steps:518] [PID:12398] sample_packing_eff_est: 1.0 [2026-08-20 06:19:48,172] [DEBUG] [axolotl.utils.trainer.calculate_total_num_steps:523] [PID:12398] total_num_steps: 328 [2026-08-20 06:19:48,173] [INFO] [axolotl.utils.data.sft._prepare_standard_dataset:121] [PID:12398] Maximum number of steps set at 328 [2026-08-20 06:19:48,227] [DEBUG] [axolotl.train.setup_model_and_tokenizer:70] [PID:12398] loading tokenizer... Qwen/Qwen3-8B [2026-08-20 06:19:49,236] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:311] [PID:12398] EOS: 151645 / <|im_end|> [2026-08-20 06:19:49,237] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:312] [PID:12398] BOS: None / None [2026-08-20 06:19:49,237] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:313] [PID:12398] PAD: 151643 / <|endoftext|> [2026-08-20 06:19:49,237] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:314] [PID:12398] UNK: None / None [2026-08-20 06:19:49,237] [DEBUG] [axolotl.train.setup_model_and_tokenizer:81] [PID:12398] Loading model [2026-08-20 06:19:49,367] [DEBUG] [axolotl.monkeypatch.torchao_optim.patch_torchao_optim_state_8bit:75] [PID:12398] Patched OptimState8bit for torch.compile compatibility [2026-08-20 06:19:49,367] [DEBUG] [axolotl.monkeypatch.torchao_optim.patch_torchao_optim_state_8bit:122] [PID:12398] Patched OptimState4bit for torch.compile compatibility [2026-08-20 06:19:49,367] [DEBUG] [axolotl.monkeypatch.torchao_optim.patch_torchao_optim_state_8bit:154] [PID:12398] Patched OptimStateFp8 for torch.compile compatibility [2026-08-20 06:19:49,379] [DEBUG] [axolotl.monkeypatch.transformers.trainer_loss_calc.patch_evaluation_loop:94] [PID:12398] Patched Trainer.evaluation_loop with nanmean loss calculation [2026-08-20 06:19:49,381] [DEBUG] [axolotl.monkeypatch.transformers.trainer_loss_calc.patch_maybe_log_save_evaluate:148] [PID:12398] Patched Trainer._maybe_log_save_evaluate with nanmean loss calculation [2026-08-20 06:19:49,426] [INFO] [axolotl.monkeypatch.attention.flash_attn_4.patch_flash_attn_4:52] [PID:12398] Flash Attention 4 is available for your GPU and offers faster training speeds. To enable: pip install flash-attn-4 [2026-08-20 06:19:50,796] [INFO] [axolotl.monkeypatch.lora_kernels.patch_self_attn_lora:339] [PID:12398] Patched attention class with LoRA optims: Qwen3Attention [2026-08-20 06:19:50,797] [INFO] [axolotl.loaders.patch_manager._apply_multipack_patches:812] [PID:12398] Applying multipack dataloader patch for sample packing... [2026-08-20 06:19:51,326] [INFO] [axolotl.integrations.liger.plugin.pre_model_load:145] [PID:12398] Applying LIGER to qwen3 with kwargs: {'rope': True, 'cross_entropy': None, 'fused_linear_cross_entropy': True, 'rms_norm': True, 'swiglu': True} Loading weights: 0%| | 0/399 [00:00