Skip to content

Commit

Permalink
chore: reduce max_steps
Browse files Browse the repository at this point in the history
  • Loading branch information
NanoCode012 committed Oct 30, 2024
1 parent 345ee54 commit 2d7a2fe
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
18 changes: 9 additions & 9 deletions tests/e2e/multigpu/test_llama.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def test_lora_ddp(self, temp_dir):
},
],
"num_epochs": 1,
"max_steps": 100,
"max_steps": 15,
"micro_batch_size": 4,
"gradient_accumulation_steps": 4,
"output_dir": temp_dir,
Expand Down Expand Up @@ -116,7 +116,7 @@ def test_lora_ddp_packed(self, temp_dir):
},
],
"num_epochs": 1,
"max_steps": 50,
"max_steps": 15,
"micro_batch_size": 4,
"gradient_accumulation_steps": 4,
"output_dir": temp_dir,
Expand Down Expand Up @@ -187,7 +187,7 @@ def test_dpo_lora_ddp(self, temp_dir):
},
],
"num_epochs": 1,
"max_steps": 10,
"max_steps": 15,
"micro_batch_size": 4,
"gradient_accumulation_steps": 4,
"output_dir": temp_dir,
Expand Down Expand Up @@ -255,7 +255,7 @@ def test_dpo_qlora_ddp(self, temp_dir):
},
],
"num_epochs": 1,
"max_steps": 10,
"max_steps": 15,
"micro_batch_size": 4,
"gradient_accumulation_steps": 4,
"output_dir": temp_dir,
Expand Down Expand Up @@ -305,7 +305,7 @@ def test_fsdp(self, temp_dir):
},
],
"num_epochs": 1,
"max_steps": 100,
"max_steps": 15,
"micro_batch_size": 4,
"gradient_accumulation_steps": 4,
"output_dir": temp_dir,
Expand Down Expand Up @@ -371,7 +371,7 @@ def test_fsdp_packed(self, temp_dir):
},
],
"num_epochs": 1,
"max_steps": 100,
"max_steps": 15,
"micro_batch_size": 4,
"gradient_accumulation_steps": 4,
"output_dir": temp_dir,
Expand Down Expand Up @@ -447,7 +447,7 @@ def test_fsdp_qlora_prequant_packed(self, temp_dir):
},
],
"num_epochs": 1,
"max_steps": 100,
"max_steps": 15,
"micro_batch_size": 4,
"gradient_accumulation_steps": 4,
"output_dir": temp_dir,
Expand Down Expand Up @@ -513,7 +513,7 @@ def test_ds_zero3_packed(self, temp_dir):
},
],
"num_epochs": 1,
"max_steps": 100,
"max_steps": 15,
"micro_batch_size": 4,
"gradient_accumulation_steps": 4,
"output_dir": temp_dir,
Expand Down Expand Up @@ -572,7 +572,7 @@ def test_ds_zero3_qlora_packed(self, temp_dir):
},
],
"num_epochs": 1,
"max_steps": 100,
"max_steps": 15,
"micro_batch_size": 4,
"gradient_accumulation_steps": 4,
"output_dir": temp_dir,
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/multigpu/test_qwen2.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def test_qlora_fsdp_dpo(self, temp_dir):
},
],
"num_epochs": 1,
"max_steps": 100,
"max_steps": 15,
"warmup_steps": 20,
"micro_batch_size": 4,
"gradient_accumulation_steps": 2,
Expand Down

0 comments on commit 2d7a2fe

Please sign in to comment.