Skip to content

Commit

Permalink
chore: fix e2e test Hf trainer searcher lengths (#9683)
Browse files Browse the repository at this point in the history
  • Loading branch information
azhou-determined authored Jul 19, 2024
1 parent c70dd8c commit 086de84
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion e2e_tests/tests/nightly/test_pytorch2.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ def test_pytorch2_hf_language_modeling_distributed() -> None:
config = conf.load_config(conf.hf_trainer_examples_path(f"{test_dir}/distributed.yaml"))
config = conf.set_pt2_image(config)
config = conf.set_slots_per_trial(config, 4)
config["searcher"]["max_length"]["batches"] = 50

# Our hardware GPUs have only 16gb memory, lower memory use with smaller batches.
config = conf.set_entrypoint(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ entrypoint: >-
--dataset_config_name wikitext-2-raw-v1
--do_train
--do_eval
--num_train_epochs 5
--max_steps 100
--logging_strategy steps
--logging_steps 10
--output_dir /tmp/test-clm
Expand Down
2 changes: 1 addition & 1 deletion harness/.flake8
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Note: This should be kept in sync with the .flake8 file in the root of the repo.
[flake8]
jobs = 8
jobs = 4
max-line-length = 100
exclude =
.git,
Expand Down

0 comments on commit 086de84

Please sign in to comment.