Views
No views yet
0.13.0.dev01base_model: Qwen/Qwen2.5-72B
2# Alpaca finetuning configuration for Qwen2.5-72B
3# hub_model_id: username/custom_model_name
4
5load_in_8bit: false
6load_in_4bit: false
7strict: false
8
9plugins:
10 - axolotl.integrations.liger.LigerPlugin
11
12liger_rope: true
13liger_rms_norm: true
14liger_glu_activation: true
15liger_layer_norm: true
16liger_fused_linear_cross_entropy: true
17dataset_prepared_path: /home/ubuntu/cluster-axolotl/alpaca_prepared_qwen72b
18seed: 42
19chat_template: qwen_25
20datasets:
21 - path: tatsu-lab/alpaca
22 type: alpaca
23
24output_dir: ./outputs/qat_out_qwen72b/
25
26sequence_len: 8096
27sample_packing: true
28flash_attention: true
29
30qat:
31 activation_dtype: nvfp4
32 weight_dtype: nvfp4
33 group_size: 16 # only group_size of 16 is supported with nvfp4
34
35wandb_project: qat_b200
36wandb_entity:
37wandb_watch:
38wandb_name:
39wandb_log_model:
40
41gradient_accumulation_steps: 1
42micro_batch_size: 16
43
44num_epochs: 1
45optimizer: adamw_torch_fused
46lr_scheduler: cosine
47learning_rate: 2e-6
48
49bf16: true
50tf32: true
51
52resume_from_checkpoint:
53logging_steps: 1
54save_strategy: "no"
55
56# evals_per_epoch: 1
57# saves_per_epoch: 1
58
59warmup_ratio: 0.1
60weight_decay: 0.0
61fsdp_version: 2
62
63fsdp_config:
64 offload_params: false
65 cpu_ram_efficient_loading: true
66 auto_wrap_policy: TRANSFORMER_BASED_WRAP
67 transformer_layer_cls_to_wrap: Qwen2DecoderLayer
68 state_dict_type: FULL_STATE_DICT
69 sharding_strategy: FULL_SHARD
70 reshard_after_forward: true
71 activation_checkpointing: true
72
73special_tokens:
74
75# save_first_step: true # uncomment this to validate checkpoint saving works with your config
76