Skip to content

Commit

Permalink
Merge pull request #34 from modal-labs/richard/try-fix-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
gongy authored Feb 22, 2024
2 parents 73feaf8 + 897c461 commit 6a18b37
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ci/prep_for_ci.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,14 @@ def main(config: str, data: str):

if cfg["sample_packing"]:
train_set_size = 2048
num_epochs = 10
else:
train_set_size = 1024
num_epochs = 1
val_set_size = 64

cfg["val_set_size"] = val_set_size
cfg["num_epochs"] = 1
cfg["num_epochs"] = num_epochs
cfg.pop("eval_steps", None) # Evaluate once at the end of the epoch
with open(config, "w") as f:
yaml.dump(cfg, f)
Expand Down

0 comments on commit 6a18b37

Please sign in to comment.