Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions examples/cloud/modal.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,5 @@ timeout: 86400
# Preprocess specific configurations
memory_preprocess: 32
timeout_preprocess: 14400

# save_first_step: true # uncomment this to validate checkpoint saving works with your config
3 changes: 2 additions & 1 deletion examples/cohere/command-r-7b-qlora.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ wandb_watch:
wandb_name:
wandb_log_model:


gradient_accumulation_steps: 4
micro_batch_size: 1
num_epochs: 4
Expand All @@ -56,3 +55,5 @@ evals_per_epoch:
saves_per_epoch: 1
weight_decay: 0.0
special_tokens:

# save_first_step: true # uncomment this to validate checkpoint saving works with your config
2 changes: 2 additions & 0 deletions examples/deepcogito/cogito-v1-preview-llama-3B-lora.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,5 @@ evals_per_epoch: 1
saves_per_epoch: 1
weight_decay: 0.0
special_tokens:

# save_first_step: true # uncomment this to validate checkpoint saving works with your config
2 changes: 2 additions & 0 deletions examples/deepcogito/cogito-v1-preview-qwen-14B-lora.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,5 @@ evals_per_epoch: 1
saves_per_epoch: 1
weight_decay: 0.0
special_tokens:

# save_first_step: true # uncomment this to validate checkpoint saving works with your config
2 changes: 2 additions & 0 deletions examples/deepseek-v2/fft-fsdp-16b.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,5 @@ fsdp_config:
fsdp_transformer_layer_cls_to_wrap: DeepseekV2DecoderLayer
fsdp_state_dict_type: FULL_STATE_DICT
fsdp_sharding_strategy: FULL_SHARD

# save_first_step: true # uncomment this to validate checkpoint saving works with your config
2 changes: 2 additions & 0 deletions examples/deepseek-v2/qlora-fsdp-2_5.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,5 @@ fsdp_config:
fsdp_transformer_layer_cls_to_wrap: DeepseekV2DecoderLayer
fsdp_state_dict_type: FULL_STATE_DICT
fsdp_sharding_strategy: FULL_SHARD

# save_first_step: true # uncomment this to validate checkpoint saving works with your config
2 changes: 2 additions & 0 deletions examples/devstral/devstral-small-qlora.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,5 @@ saves_per_epoch: 1

weight_decay: 0.0
special_tokens:

# save_first_step: true # uncomment this to validate checkpoint saving works with your config
2 changes: 2 additions & 0 deletions examples/falcon-h1/falcon-h1-1b-deep-qlora.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,5 @@ evals_per_epoch:
saves_per_epoch: 1
weight_decay: 0.0
special_tokens:

# save_first_step: true # uncomment this to validate checkpoint saving works with your config
3 changes: 2 additions & 1 deletion examples/falcon-h1/falcon-h1-1b-qlora.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ wandb_watch:
wandb_name:
wandb_log_model:


gradient_accumulation_steps: 4
micro_batch_size: 1
num_epochs: 4
Expand All @@ -69,3 +68,5 @@ evals_per_epoch:
saves_per_epoch: 1
weight_decay: 0.0
special_tokens:

# save_first_step: true # uncomment this to validate checkpoint saving works with your config
2 changes: 2 additions & 0 deletions examples/falcon-h1/falcon-h1-34b-qlora.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,5 @@ evals_per_epoch:
saves_per_epoch: 1
weight_decay: 0.0
special_tokens:

# save_first_step: true # uncomment this to validate checkpoint saving works with your config
2 changes: 2 additions & 0 deletions examples/falcon-h1/falcon-h1-3b-qlora.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,5 @@ evals_per_epoch: 1
saves_per_epoch: 1
weight_decay: 0.0
special_tokens:

# save_first_step: true # uncomment this to validate checkpoint saving works with your config
2 changes: 2 additions & 0 deletions examples/falcon-h1/falcon-h1-500m-qlora.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,5 @@ evals_per_epoch:
saves_per_epoch: 1
weight_decay: 0.0
special_tokens:

# save_first_step: true # uncomment this to validate checkpoint saving works with your config
2 changes: 2 additions & 0 deletions examples/falcon-h1/falcon-h1-7b-qlora.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,5 @@ evals_per_epoch: 1
saves_per_epoch: 1
weight_decay: 0.0
special_tokens:

# save_first_step: true # uncomment this to validate checkpoint saving works with your config
2 changes: 2 additions & 0 deletions examples/gemma2/qlora.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,5 @@ evals_per_epoch:
saves_per_epoch: 1
weight_decay: 0.0
special_tokens:

# save_first_step: true # uncomment this to validate checkpoint saving works with your config
2 changes: 2 additions & 0 deletions examples/gemma2/reward-model.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,5 @@ evals_per_epoch:
saves_per_epoch: 1
weight_decay: 0.0
special_tokens:

# save_first_step: true # uncomment this to validate checkpoint saving works with your config
2 changes: 2 additions & 0 deletions examples/gemma3/gemma-3-1b-qlora.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,5 @@ evals_per_epoch:
saves_per_epoch: 1
weight_decay: 0.0
special_tokens:

# save_first_step: true # uncomment this to validate checkpoint saving works with your config
2 changes: 2 additions & 0 deletions examples/gemma3/gemma-3-4b-qlora.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,5 @@ warmup_ratio: 0.1
evals_per_epoch: 1
saves_per_epoch: 1
weight_decay: 0.0

# save_first_step: true # uncomment this to validate checkpoint saving works with your config
2 changes: 2 additions & 0 deletions examples/gemma3/gemma-3-4b-vision-qlora.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,5 @@ warmup_ratio: 0.1
evals_per_epoch: 1
saves_per_epoch: 1
weight_decay: 0.0

# save_first_step: true # uncomment this to validate checkpoint saving works with your config
2 changes: 2 additions & 0 deletions examples/glm4/qlora-32b.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,5 @@ evals_per_epoch: 1
saves_per_epoch: 1
weight_decay: 0.0
special_tokens:

# save_first_step: true # uncomment this to validate checkpoint saving works with your config
2 changes: 2 additions & 0 deletions examples/jamba/qlora.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,5 @@ evals_per_epoch:
saves_per_epoch: 1
weight_decay: 0.0
special_tokens:

# save_first_step: true # uncomment this to validate checkpoint saving works with your config
2 changes: 2 additions & 0 deletions examples/jamba/qlora_deepspeed.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,5 @@ saves_per_epoch: 1
deepspeed: deepspeed_configs/zero2.json
weight_decay: 0.0
special_tokens:

# save_first_step: true # uncomment this to validate checkpoint saving works with your config
2 changes: 2 additions & 0 deletions examples/jamba/qlora_fsdp_large.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,5 @@ fsdp_config:
fsdp_transformer_layer_cls_to_wrap: JambaAttentionDecoderLayer,JambaMambaDecoderLayer
fsdp_state_dict_type: FULL_STATE_DICT
fsdp_sharding_strategy: FULL_SHARD

# save_first_step: true # uncomment this to validate checkpoint saving works with your config
2 changes: 2 additions & 0 deletions examples/lfm2/lfm2-350m-fft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,5 @@ evals_per_epoch: 2
saves_per_epoch: 1

weight_decay: 0.0

# save_first_step: true # uncomment this to validate checkpoint saving works with your config
2 changes: 2 additions & 0 deletions examples/llama-2/fft_optimized.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,5 @@ saves_per_epoch: 1
deepspeed: #deepspeed_configs/zero2.json # multi-gpu only
weight_decay: 0.1
special_tokens:

# save_first_step: true # uncomment this to validate checkpoint saving works with your config
2 changes: 2 additions & 0 deletions examples/llama-2/gptq-lora.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,5 @@ special_tokens:
bos_token: "<s>"
eos_token: "</s>"
unk_token: "<unk>"

# save_first_step: true # uncomment this to validate checkpoint saving works with your config
2 changes: 2 additions & 0 deletions examples/llama-2/lisa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,5 @@ special_tokens:
bos_token: "<s>"
eos_token: "</s>"
unk_token: "<unk>"

# save_first_step: true # uncomment this to validate checkpoint saving works with your config
2 changes: 2 additions & 0 deletions examples/llama-2/loftq.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,5 @@ evals_per_epoch: 4
saves_per_epoch: 1
weight_decay: 0.0
special_tokens:

# save_first_step: true # uncomment this to validate checkpoint saving works with your config
2 changes: 2 additions & 0 deletions examples/llama-2/lora.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,5 @@ evals_per_epoch: 4
saves_per_epoch: 1
weight_decay: 0.0
special_tokens:

# save_first_step: true # uncomment this to validate checkpoint saving works with your config
2 changes: 2 additions & 0 deletions examples/llama-2/qlora-fsdp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,5 @@ fsdp_config:
fsdp_transformer_layer_cls_to_wrap: LlamaDecoderLayer
fsdp_state_dict_type: FULL_STATE_DICT
special_tokens:

# save_first_step: true # uncomment this to validate checkpoint saving works with your config
2 changes: 2 additions & 0 deletions examples/llama-2/qlora.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,5 @@ evals_per_epoch: 4
saves_per_epoch: 1
weight_decay: 0.0
special_tokens:

# save_first_step: true # uncomment this to validate checkpoint saving works with your config
2 changes: 2 additions & 0 deletions examples/llama-2/relora.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,5 @@ special_tokens:
bos_token: "<s>"
eos_token: "</s>"
unk_token: "<unk>"

# save_first_step: true # uncomment this to validate checkpoint saving works with your config
2 changes: 2 additions & 0 deletions examples/llama-3-vision/lora-11b.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,5 @@ warmup_ratio: 0.1
evals_per_epoch: 1
saves_per_epoch: 1
weight_decay: 0.0

# save_first_step: true # uncomment this to validate checkpoint saving works with your config
2 changes: 2 additions & 0 deletions examples/llama-3/3b-qat-fsdp2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,5 @@ fsdp_config:

special_tokens:
pad_token: <|end_of_text|>

# save_first_step: true # uncomment this to validate checkpoint saving works with your config
2 changes: 2 additions & 0 deletions examples/llama-3/fft-8b-liger-fsdp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,5 @@ fsdp_config:
special_tokens:
pad_token: <|finetune_right_pad_id|>
eos_token: <|eot_id|>

# save_first_step: true # uncomment this to validate checkpoint saving works with your config
2 changes: 2 additions & 0 deletions examples/llama-3/fft-8b.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,5 @@ saves_per_epoch: 1
weight_decay: 0.0
special_tokens:
pad_token: <|end_of_text|>

# save_first_step: true # uncomment this to validate checkpoint saving works with your config
2 changes: 2 additions & 0 deletions examples/llama-3/instruct-dpo-lora-8b.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,5 @@ warmup_steps: 10
evals_per_epoch: 4
saves_per_epoch: 1
weight_decay: 0.0

# save_first_step: true # uncomment this to validate checkpoint saving works with your config
2 changes: 2 additions & 0 deletions examples/llama-3/instruct-lora-8b.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,5 @@ saves_per_epoch: 1
weight_decay: 0.0
special_tokens:
pad_token: <|end_of_text|>

# save_first_step: true # uncomment this to validate checkpoint saving works with your config
2 changes: 2 additions & 0 deletions examples/llama-3/lora-1b-deduplicate-dpo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,3 +83,5 @@ warmup_steps: 10
evals_per_epoch: 4
saves_per_epoch: 1
weight_decay: 0.0

# save_first_step: true # uncomment this to validate checkpoint saving works with your config
2 changes: 2 additions & 0 deletions examples/llama-3/lora-1b-deduplicate-sft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,5 @@ saves_per_epoch: 1
weight_decay: 0.0
special_tokens:
pad_token: <|end_of_text|>

# save_first_step: true # uncomment this to validate checkpoint saving works with your config
2 changes: 2 additions & 0 deletions examples/llama-3/lora-1b-kernels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,5 @@ saves_per_epoch: 1
weight_decay: 0.0
special_tokens:
pad_token: "<|end_of_text|>"

# save_first_step: true # uncomment this to validate checkpoint saving works with your config
2 changes: 2 additions & 0 deletions examples/llama-3/lora-1b-ray.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,5 @@ special_tokens:

use_ray: true
ray_num_workers: 4

# save_first_step: true # uncomment this to validate checkpoint saving works with your config
2 changes: 2 additions & 0 deletions examples/llama-3/lora-1b-sample-packing-sequentially.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,5 @@ saves_per_epoch: 1
weight_decay: 0.0
special_tokens:
pad_token: <|end_of_text|>

# save_first_step: true # uncomment this to validate checkpoint saving works with your config
2 changes: 2 additions & 0 deletions examples/llama-3/lora-1b.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,5 @@ saves_per_epoch: 1
weight_decay: 0.0
special_tokens:
pad_token: "<|end_of_text|>"

# save_first_step: true # uncomment this to validate checkpoint saving works with your config
2 changes: 2 additions & 0 deletions examples/llama-3/lora-8b.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,5 @@ saves_per_epoch: 1
weight_decay: 0.0
special_tokens:
pad_token: <|end_of_text|>

# save_first_step: true # uncomment this to validate checkpoint saving works with your config
2 changes: 2 additions & 0 deletions examples/llama-3/qlora-1b-kto.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,5 @@ saves_per_epoch: 1
weight_decay: 0.0
special_tokens:
pad_token: "<|end_of_text|>"

# save_first_step: true # uncomment this to validate checkpoint saving works with your config
2 changes: 2 additions & 0 deletions examples/llama-3/qlora-1b.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,5 @@ saves_per_epoch: 1
weight_decay: 0.0
special_tokens:
pad_token: "<|end_of_text|>"

# save_first_step: true # uncomment this to validate checkpoint saving works with your config
2 changes: 2 additions & 0 deletions examples/llama-3/qlora-fsdp-405b.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,5 @@ fsdp_config:
fsdp_sharding_strategy: FULL_SHARD
special_tokens:
pad_token: <|finetune_right_pad_id|>

# save_first_step: true # uncomment this to validate checkpoint saving works with your config
2 changes: 2 additions & 0 deletions examples/llama-3/qlora-fsdp-70b.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,5 @@ fsdp_config:
fsdp_sharding_strategy: FULL_SHARD
special_tokens:
pad_token: <|end_of_text|>

# save_first_step: true # uncomment this to validate checkpoint saving works with your config
2 changes: 2 additions & 0 deletions examples/llama-3/qlora.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,5 @@ saves_per_epoch: 1
weight_decay: 0.0
special_tokens:
pad_token: "<|end_of_text|>"

# save_first_step: true # uncomment this to validate checkpoint saving works with your config
2 changes: 2 additions & 0 deletions examples/llama-3/sparse-finetuning.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,5 @@ llmcompressor:
]
start: 0
save_compressed: true

# save_first_step: true # uncomment this to validate checkpoint saving works with your config
2 changes: 2 additions & 0 deletions examples/llama-4/do-no-use-fa2/maverick-qlora-fsdp1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,3 +86,5 @@ fsdp_config:
special_tokens:
pad_token: <|finetune_right_pad_id|>
eos_token: <|eot|>

# save_first_step: true # uncomment this to validate checkpoint saving works with your config
2 changes: 2 additions & 0 deletions examples/llama-4/do-no-use-fa2/scout-qlora-fsdp1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,3 +90,5 @@ fsdp_config:
special_tokens:
pad_token: <|finetune_right_pad_id|>
eos_token: <|eot|>

# save_first_step: true # uncomment this to validate checkpoint saving works with your config
2 changes: 2 additions & 0 deletions examples/llama-4/do-no-use-fa2/scout-qlora-single-h100.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,3 +83,5 @@ weight_decay: 0.0
special_tokens:
pad_token: <|finetune_right_pad_id|>
eos_token: <|eot|>

# save_first_step: true # uncomment this to validate checkpoint saving works with your config
2 changes: 2 additions & 0 deletions examples/llama-4/do-no-use-fa2/scout-vision-qlora-fsdp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,3 +86,5 @@ fsdp_config:
special_tokens:
pad_token: <|finetune_right_pad_id|>
eos_token: <|eot|>

# save_first_step: true # uncomment this to validate checkpoint saving works with your config
2 changes: 2 additions & 0 deletions examples/llama-4/scout-qlora-flexattn-fsdp2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,3 +84,5 @@ fsdp_config:
special_tokens:
pad_token: <|finetune_right_pad_id|>
eos_token: <|eot|>

# save_first_step: true # uncomment this to validate checkpoint saving works with your config
2 changes: 2 additions & 0 deletions examples/llama-4/scout-qlora-single-h100-flex.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,3 +82,5 @@ weight_decay: 0.0
special_tokens:
pad_token: <|finetune_right_pad_id|>
eos_token: <|eot|>

# save_first_step: true # uncomment this to validate checkpoint saving works with your config
2 changes: 2 additions & 0 deletions examples/llama-4/scout-vision-qlora-fsdp2-flex.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,3 +87,5 @@ fsdp_config:
special_tokens:
pad_token: <|finetune_right_pad_id|>
eos_token: <|eot|>

# save_first_step: true # uncomment this to validate checkpoint saving works with your config
2 changes: 2 additions & 0 deletions examples/llava/lora-7b.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,5 @@ warmup_ratio: 0.1
evals_per_epoch: 1
saves_per_epoch: 1
weight_decay: 0.0

# save_first_step: true # uncomment this to validate checkpoint saving works with your config
2 changes: 2 additions & 0 deletions examples/magistral/magistral-small-fsdp-qlora.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,5 @@ fsdp_config:
fsdp_state_dict_type: FULL_STATE_DICT
fsdp_transformer_layer_cls_to_wrap: MistralDecoderLayer
fsdp_activation_checkpointing: true

# save_first_step: true # uncomment this to validate checkpoint saving works with your config
2 changes: 2 additions & 0 deletions examples/magistral/magistral-small-qlora.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,5 @@ flash_attention: true
warmup_ratio: 0.1
evals_per_epoch: 1
saves_per_epoch: 1

# save_first_step: true # uncomment this to validate checkpoint saving works with your config
2 changes: 2 additions & 0 deletions examples/mamba/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,5 @@ weight_decay: 0.0
special_tokens:
tokens:
save_safetensors: False

# save_first_step: true # uncomment this to validate checkpoint saving works with your config
2 changes: 2 additions & 0 deletions examples/mistral/bigstral-ds-zero3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,5 @@ special_tokens:
eos_token: "<|im_end|>"
tokens:
- "<|im_start|>"

# save_first_step: true # uncomment this to validate checkpoint saving works with your config
2 changes: 2 additions & 0 deletions examples/mistral/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,5 @@ evals_per_epoch: 4
saves_per_epoch: 1
weight_decay: 0.0
special_tokens:

# save_first_step: true # uncomment this to validate checkpoint saving works with your config
2 changes: 2 additions & 0 deletions examples/mistral/lora-mps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,5 @@ evals_per_epoch: 4
saves_per_epoch: 1
weight_decay: 0.0
special_tokens:

# save_first_step: true # uncomment this to validate checkpoint saving works with your config
Loading
Loading