[2025-11-06 16:11:41,516] [DEBUG] [axolotl.utils.config.log_gpu_memory_usage:127] [PID:837642] baseline 0.000GB () [2025-11-06 16:11:41,516] [INFO] [axolotl.cli.config.load_cfg:248] [PID:837642] config: { "activation_offloading": false, "axolotl_config_path": "3b-qat-nvfp4.yaml", "base_model": "meta-llama/Llama-3.2-3B", "base_model_config": "meta-llama/Llama-3.2-3B", "batch_size": 64, "bf16": true, "capabilities": { "bf16": true, "compute_capability": "sm_90", "fp8": false, "n_gpu": 1, "n_node": 1 }, "context_parallel_size": 1, "cosine_constant_lr_ratio": 0.0, "cosine_min_lr_ratio": 1.0, "dataloader_num_workers": 1, "dataloader_pin_memory": true, "dataloader_prefetch_factor": 256, "dataset_prepared_path": "./outputs/dataset_prepared", "dataset_processes": 128, "datasets": [ { "message_property_mappings": { "content": "content", "role": "role" }, "path": "yahma/alpaca-cleaned", "split": "train[:95%]", "trust_remote_code": false, "type": "alpaca" } ], "ddp": false, "device": "cuda:0", "dion_rank_fraction": 1.0, "dion_rank_multiple_of": 1, "env_capabilities": { "torch_version": "2.8.0" }, "eval_batch_size": 64, "eval_causal_lm_metrics": [ "sacrebleu", "comet", "ter", "chrf" ], "eval_max_new_tokens": 128, "eval_table_size": 0, "evals_per_epoch": 1, "experimental_skip_move_to_device": true, "flash_attention": true, "fp16": false, "gradient_accumulation_steps": 1, "gradient_checkpointing": true, "gradient_checkpointing_kwargs": { "use_reentrant": true }, "hub_model_id": "AlexHung29629/3b-qat-nvfp4", "include_tkps": true, "is_llama_derived_model": true, "learning_rate": 2e-05, "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": false, "load_in_8bit": false, "local_rank": 0, "logging_steps": 1, "lora_dropout": 0.0, "loraplus_lr_embedding": 1e-06, "lr_scheduler": "cosine", "mean_resizing_embeddings": false, "micro_batch_size": 64, "model_config_type": "llama", "num_epochs": 1.0, "optimizer": "adamw_torch_fused", "output_dir": "./outputs/qat_out/", "plugins": [ "axolotl.integrations.liger.LigerPlugin" ], "pretrain_multipack_attn": true, "profiler_steps_start": 0, "qat": { "activation_dtype": "TorchAOQuantDType.nvfp4", "group_size": 16, "quantize_embedding": false, "weight_dtype": "TorchAOQuantDType.nvfp4" }, "qlora_sharded_model_loading": false, "ray_num_workers": 1, "resources_per_worker": { "GPU": 1 }, "sample_packing_bin_size": 200, "sample_packing_group_size": 100000, "save_first_step": true, "save_only_model": true, "save_safetensors": true, "saves_per_epoch": 1, "sequence_len": 8192, "shuffle_before_merging_datasets": false, "shuffle_merged_datasets": true, "skip_prepare_dataset": false, "special_tokens": { "pad_token": "<|finetune_right_pad_id|>" }, "streaming_multipack_buffer_size": 10000, "strict": false, "tensor_parallel_size": 1, "tiled_mlp_use_original_mlp": true, "tokenizer_config": "meta-llama/Llama-3.2-3B", "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, "val_set_size": 0.0, "vllm": { "device": "auto", "dtype": "auto", "gpu_memory_utilization": 0.9, "host": "0.0.0.0", "port": 8000 }, "warmup_ratio": 0.1, "weight_decay": 0.0, "world_size": 1 } [2025-11-06 16:11:46,489] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:278] [PID:837642] EOS: 128001 / <|end_of_text|> [2025-11-06 16:11:46,489] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:279] [PID:837642] BOS: 128000 / <|begin_of_text|> [2025-11-06 16:11:46,489] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:280] [PID:837642] PAD: 128004 / <|finetune_right_pad_id|> [2025-11-06 16:11:46,489] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:281] [PID:837642] UNK: None / None [2025-11-06 16:11:46,489] [INFO] [axolotl.loaders.tokenizer.load_tokenizer:295] [PID:837642] No Chat template selected. Consider adding a chat template for easier inference. [2025-11-06 16:11:46,492] [INFO] [axolotl.utils.data.shared.load_preprocessed_dataset:476] [PID:837642] Unable to find prepared dataset in outputs/dataset_prepared/9bc662aed65b76546b2d635b3957a343 [2025-11-06 16:11:46,492] [INFO] [axolotl.utils.data.sft._load_raw_datasets:320] [PID:837642] Loading raw datasets... [2025-11-06 16:11:46,492] [WARNING] [axolotl.utils.data.sft._load_raw_datasets:322] [PID:837642] Processing datasets during training can lead to VRAM instability. Please pre-process your dataset using `axolotl preprocess path/to/config.yml`. Generating train split: 0%| | 0/51760 [00:008192) (num_proc=128): 0%| | 0/49172 [00:008192) (num_proc=128): 1%| | 385/49172 [00:00<01:43, 471.65 examples/s] Dropping Long Sequences (>8192) (num_proc=128): 5%|▌ | 2695/49172 [00:00<00:12, 3750.47 examples/s] Dropping Long Sequences (>8192) (num_proc=128): 13%|█▎ | 6545/49172 [00:01<00:04, 9405.16 examples/s] Dropping Long Sequences (>8192) (num_proc=128): 19%|█▉ | 9236/49172 [00:01<00:03, 12478.76 examples/s] Dropping Long Sequences (>8192) (num_proc=128): 25%|██▌ | 12308/49172 [00:01<00:02, 15931.93 examples/s] Dropping Long Sequences (>8192) (num_proc=128): 30%|███ | 14996/49172 [00:01<00:01, 17930.73 examples/s] Dropping Long Sequences (>8192) (num_proc=128): 37%|███▋ | 18068/49172 [00:01<00:01, 20677.88 examples/s] Dropping Long Sequences (>8192) (num_proc=128): 44%|████▍ | 21524/49172 [00:01<00:01, 23483.32 examples/s] Dropping Long Sequences (>8192) (num_proc=128): 50%|█████ | 24596/49172 [00:01<00:01, 23335.07 examples/s] Dropping Long Sequences (>8192) (num_proc=128): 60%|██████ | 29588/49172 [00:01<00:00, 29166.32 examples/s] Dropping Long Sequences (>8192) (num_proc=128): 69%|██████▉ | 33812/49172 [00:01<00:00, 31889.27 examples/s] Dropping Long Sequences (>8192) (num_proc=128): 76%|███████▌ | 37268/49172 [00:02<00:00, 32125.51 examples/s] Dropping Long Sequences (>8192) (num_proc=128): 83%|████████▎ | 40724/49172 [00:02<00:00, 31182.70 examples/s] Dropping Long Sequences (>8192) (num_proc=128): 93%|█████████▎| 45716/49172 [00:02<00:00, 33653.89 examples/s] Dropping Long Sequences (>8192) (num_proc=128): 100%|██████████| 49172/49172 [00:02<00:00, 18442.91 examples/s] Saving the dataset (0/128 shards): 0%| | 0/49172 [00:00 [2025-11-06 16:12:35,271] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:279] [PID:837642] BOS: 128000 / <|begin_of_text|> [2025-11-06 16:12:35,271] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:280] [PID:837642] PAD: 128004 / <|finetune_right_pad_id|> [2025-11-06 16:12:35,271] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:281] [PID:837642] UNK: None / None [2025-11-06 16:12:35,271] [INFO] [axolotl.loaders.tokenizer.load_tokenizer:295] [PID:837642] No Chat template selected. Consider adding a chat template for easier inference. [2025-11-06 16:12:35,271] [DEBUG] [axolotl.train.setup_model_and_tokenizer:79] [PID:837642] Loading model [2025-11-06 16:12:35,502] [DEBUG] [axolotl.monkeypatch.transformers.trainer_loss_calc.patch_evaluation_loop:87] [PID:837642] Patched Trainer.evaluation_loop with nanmean loss calculation [2025-11-06 16:12:35,503] [DEBUG] [axolotl.monkeypatch.transformers.trainer_loss_calc.patch_maybe_log_save_evaluate:138] [PID:837642] Patched Trainer._maybe_log_save_evaluate with nanmean loss calculation [2025-11-06 16:12:35,531] [INFO] [axolotl.integrations.liger.plugin.pre_model_load:71] [PID:837642] Applying LIGER to llama with kwargs: {'rope': True, 'cross_entropy': None, 'fused_linear_cross_entropy': True, 'rms_norm': True, 'swiglu': True} Loading checkpoint shards: 0%| | 0/2 [00:00