[2025-10-21 03:06:23,605] [DEBUG] [axolotl.utils.config.log_gpu_memory_usage:127] [PID:687] baseline 0.000GB (+0.000GB allocated, +0.002GB reserved) [2025-10-21 03:06:23,606] [INFO] [axolotl.cli.config.load_cfg:248] [PID:687] config: { "activation_offloading": false, "adapter": "qlora", "axolotl_config_path": "config.yaml", "base_model": "Qwen/Qwen3-1.7B-Base", "base_model_config": "Qwen/Qwen3-1.7B-Base", "batch_size": 16, "bf16": false, "capabilities": { "bf16": true, "compute_capability": "sm_75", "fp8": false, "n_gpu": 2, "n_node": 1 }, "chat_template": "qwen3", "context_parallel_size": 1, "cut_cross_entropy": true, "dataloader_num_workers": 2, "dataloader_pin_memory": true, "dataloader_prefetch_factor": 8, "dataset_num_proc": 4, "dataset_prepared_path": "last_run_prepared", "datasets": [ { "chat_template": "tokenizer_default", "message_property_mappings": { "content": "content", "role": "role" }, "path": "Tung177/km-vi-translation", "roles_to_train": [ "assistant" ], "split": "train", "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, "embeddings_skip_upcast": true, "env_capabilities": { "torch_version": "2.6.0" }, "eval_batch_size": 8, "eval_causal_lm_metrics": [ "sacrebleu", "comet", "ter", "chrf" ], "eval_max_new_tokens": 128, "eval_sample_packing": true, "eval_table_size": 0, "experimental_skip_move_to_device": true, "flash_attention": false, "fp16": true, "gradient_accumulation_steps": 1, "gradient_checkpointing": true, "gradient_checkpointing_kwargs": { "use_reentrant": false }, "include_tkps": true, "learning_rate": 0.00018, "liger_fused_linear_cross_entropy": true, "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.0, "lora_mlp_kernel": true, "lora_o_kernel": true, "lora_qkv_kernel": true, "lora_r": 32, "lora_target_linear": true, "loraplus_lr_embedding": 1e-06, "lr_scheduler": "cosine_with_min_lr", "lr_scheduler_kwargs": { "min_lr_rate": 0.1 }, "max_grad_norm": 1.0, "mean_resizing_embeddings": false, "micro_batch_size": 8, "model_config_type": "qwen3", "num_epochs": 1.0, "optimizer": "adamw_8bit", "output_dir": "/kaggle/working/outputs/qwen-sft-mt-kmvi", "pad_to_sequence_len": true, "plugins": [ "axolotl.integrations.cut_cross_entropy.CutCrossEntropyPlugin", "axolotl.integrations.liger.LigerPlugin" ], "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_total_limit": 2, "saves_per_epoch": 1, "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": "Qwen/Qwen3-1.7B-Base", "tokenizer_save_jinja_files": true, "torch_dtype": "torch.float16", "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.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-1.7B-mt-kmvi-v0.2", "wandb_project": "MT-V1", "warmup_ratio": 0.03, "weight_decay": 0.01, "world_size": 2, "xformers_attention": true } [2025-10-21 03:06:24,328] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:278] [PID:687] EOS: 151643 / <|endoftext|> [2025-10-21 03:06:24,328] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:279] [PID:687] BOS: None / None [2025-10-21 03:06:24,328] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:280] [PID:687] PAD: 151643 / <|endoftext|> [2025-10-21 03:06:24,328] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:281] [PID:687] UNK: None / None [2025-10-21 03:06:24,329] [INFO] [axolotl.utils.data.shared.load_preprocessed_dataset:470] [PID:687] Loading prepared dataset from disk at last_run_prepared/85b14c2eb729e995064f439e6a0d9ea3... [2025-10-21 03:06:25,136] [DEBUG] [axolotl.utils.trainer.calculate_total_num_steps:406] [PID:687] total_num_tokens: 80_388_735 [2025-10-21 03:06:30,179] [DEBUG] [axolotl.utils.trainer.calculate_total_num_steps:424] [PID:687] `total_supervised_tokens: 13_464_940` [2025-10-21 03:06:37,446] [DEBUG] [axolotl.utils.samplers.multipack.pack_parallel:177] [PID:687] Using single process for pack_parallel, running sequentially. [2025-10-21 03:06:39,947] [DEBUG] [axolotl.utils.samplers.multipack.pack_parallel:177] [PID:687] Using single process for pack_parallel, running sequentially. [2025-10-21 03:06:41,103] [DEBUG] [axolotl.utils.samplers.multipack.__len__:462] [PID:687] generate_batches time: 1.2863664627075195 [2025-10-21 03:06:41,232] [DEBUG] [axolotl.utils.samplers.multipack.pack_parallel:177] [PID:687] Using single process for pack_parallel, running sequentially. [2025-10-21 03:06:42,396] [DEBUG] [axolotl.utils.samplers.multipack.__len__:462] [PID:687] generate_batches time: 1.285015344619751 [2025-10-21 03:06:42,529] [DEBUG] [axolotl.utils.samplers.multipack.pack_parallel:177] [PID:687] Using single process for pack_parallel, running sequentially. [2025-10-21 03:06:43,686] [DEBUG] [axolotl.utils.samplers.multipack.__len__:462] [PID:687] generate_batches time: 1.2829370498657227 [2025-10-21 03:06:43,815] [DEBUG] [axolotl.utils.samplers.multipack.pack_parallel:177] [PID:687] Using single process for pack_parallel, running sequentially. [2025-10-21 03:06:44,982] [DEBUG] [axolotl.utils.samplers.multipack.__len__:462] [PID:687] generate_batches time: 1.288405179977417 [2025-10-21 03:06:45,908] [INFO] [axolotl.utils.samplers.multipack.calc_min_len:438] [PID:687] gather_len_batches: [2460, 2460] [2025-10-21 03:06:45,931] [DEBUG] [axolotl.utils.trainer.calculate_total_num_steps:483] [PID:687] data_loader_len: 1230 [2025-10-21 03:06:45,954] [INFO] [axolotl.utils.trainer.calc_sample_packing_eff_est:499] [PID:687] sample_packing_eff_est across ranks: [0.9968081712722778, 0.9968081712722778] [2025-10-21 03:06:45,955] [DEBUG] [axolotl.utils.trainer.calculate_total_num_steps:511] [PID:687] sample_packing_eff_est: 1.0 [2025-10-21 03:06:45,955] [DEBUG] [axolotl.utils.trainer.calculate_total_num_steps:522] [PID:687] total_num_steps: 1230 [2025-10-21 03:06:45,963] [INFO] [axolotl.utils.data.sft._prepare_standard_dataset:121] [PID:687] Maximum number of steps set at 1230 [2025-10-21 03:06:46,005] [DEBUG] [axolotl.train.setup_model_and_tokenizer:65] [PID:687] Loading tokenizer... Qwen/Qwen3-1.7B-Base [2025-10-21 03:06:46,620] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:278] [PID:687] EOS: 151643 / <|endoftext|> [2025-10-21 03:06:46,620] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:279] [PID:687] BOS: None / None [2025-10-21 03:06:46,620] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:280] [PID:687] PAD: 151643 / <|endoftext|> [2025-10-21 03:06:46,620] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:281] [PID:687] UNK: None / None [2025-10-21 03:06:46,620] [DEBUG] [axolotl.train.setup_model_and_tokenizer:74] [PID:687] Loading model [2025-10-21 03:06:46,948] [DEBUG] [axolotl.monkeypatch.transformers.trainer_loss_calc.patch_evaluation_loop:87] [PID:687] Patched Trainer.evaluation_loop with nanmean loss calculation [2025-10-21 03:06:46,949] [DEBUG] [axolotl.monkeypatch.transformers.trainer_loss_calc.patch_maybe_log_save_evaluate:138] [PID:687] Patched Trainer._maybe_log_save_evaluate with nanmean loss calculation [2025-10-21 03:06:47,057] [INFO] [axolotl.monkeypatch.peft.utils.patch_peft_prep_code:74] [PID:687] patching prepare_model_for_kbit_training to allow for overrides [2025-10-21 03:06:47,058] [INFO] [axolotl.loaders.patch_manager._apply_multipack_patches:301] [PID:687] Applying multipack dataloader patch for sample packing... [2025-10-21 03:06:47,161] [INFO] [axolotl.monkeypatch.lora_kernels.patch_self_attn_lora:237] [PID:687] Patched attention class with LoRA optims: Qwen3Attention [2025-10-21 03:06:48,540] [INFO] [axolotl.integrations.cut_cross_entropy.pre_model_load:94] [PID:687] Applying Cut Cross Entropy to model type: qwen3 [2025-10-21 03:06:48,563] [INFO] [axolotl.integrations.liger.plugin.pre_model_load:71] [PID:687] Applying LIGER to qwen3 with kwargs: {'rope': True, 'cross_entropy': None, 'fused_linear_cross_entropy': True, 'rms_norm': True, 'swiglu': True} [2025-10-21 03:07:15,601] [INFO] [axolotl.loaders.model._prepare_model_for_quantization:851] [PID:687] converting PEFT model w/ prepare_model_for_kbit_training [2025-10-21 03:07:15,606] [INFO] [axolotl.loaders.model._configure_embedding_dtypes:345] [PID:687] Converting modules to torch.float16 [2025-10-21 03:07:15,610] [DEBUG] [axolotl.loaders.model.log_gpu_memory_usage:127] [PID:687] Memory usage after model load 1.314GB (+1.314GB allocated, +1.328GB reserved) [2025-10-21 03:07:15,610] [INFO] [axolotl.loaders.adapter.load_lora:80] [PID:687] found linear modules: ['down_proj', 'gate_proj', 'k_proj', 'o_proj', 'q_proj', 'up_proj', 'v_proj'] trainable params: 34,865,152 || all params: 1,755,440,128 || trainable%: 1.9861 [2025-10-21 03:07:16,347] [DEBUG] [axolotl.loaders.model.log_gpu_memory_usage:127] [PID:687] after adapters 1.402GB (+1.402GB allocated, +1.457GB reserved) [2025-10-21 03:07:33,541] [INFO] [axolotl.train.save_initial_configs:398] [PID:687] Pre-saving adapter config to /kaggle/working/outputs/qwen-sft-mt-kmvi... [2025-10-21 03:07:33,542] [INFO] [axolotl.train.save_initial_configs:402] [PID:687] Pre-saving tokenizer to /kaggle/working/outputs/qwen-sft-mt-kmvi... [2025-10-21 03:07:33,741] [INFO] [axolotl.train.save_initial_configs:407] [PID:687] Pre-saving model config to /kaggle/working/outputs/qwen-sft-mt-kmvi... [2025-10-21 03:07:33,744] [INFO] [axolotl.train.execute_training:196] [PID:687] Starting trainer... [2025-10-21 03:08:24,057] [DEBUG] [axolotl.utils.samplers.multipack.__len__:462] [PID:687] generate_batches time: 1.52178955078125 [2025-10-21 03:08:25,663] [DEBUG] [axolotl.utils.samplers.multipack.__len__:462] [PID:687] generate_batches time: 1.5997445583343506 [2025-10-21 03:08:27,235] [DEBUG] [axolotl.utils.samplers.multipack.__len__:462] [PID:687] generate_batches time: 1.5644276142120361 [2025-10-21 03:08:28,612] [DEBUG] [axolotl.utils.samplers.multipack.__len__:462] [PID:687] generate_batches time: 1.3716719150543213 [2025-10-21 03:08:28,614] [INFO] [axolotl.utils.samplers.multipack.calc_min_len:438] [PID:687] gather_len_batches: [2827, 2827] wandb: Currently logged in as: hasontung to https://api.wandb.ai. Use `wandb login --relogin` to force relogin wandb: Tracking run with wandb version 0.21.0 wandb: Run data is saved locally in /kaggle/working/axolotl/wandb/run-20251021_030829-zoptfzaf wandb: Run `wandb offline` to turn off syncing. wandb: Syncing run qwen3-1.7B-mt-kmvi-v0.2 wandb: ⭐️ View project at https://wandb.ai/hasontung/MT-V1 wandb: 🚀 View run at https://wandb.ai/hasontung/MT-V1/runs/zoptfzaf wandb: WARNING Saving files without folders. If you want to preserve subdirectories pass base_path to wandb.save, i.e. wandb.save("/mnt/folder/file.h5", base_path="/mnt") [2025-10-21 03:08:31,397] [INFO] [axolotl.utils.callbacks.on_train_begin:757] [PID:687] The Axolotl config has been saved to the WandB run under files. 0%| | 0/1230 [00:00