Skip to content

Commit bc222d4

Browse files
committed
fix black
Signed-off-by: Jack Luar <[email protected]>
1 parent 4f213ee commit bc222d4

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

tools/AutoTuner/src/autotuner/distributed.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1081,7 +1081,7 @@ def sweep():
10811081
local_dir=LOCAL_DIR,
10821082
resume=args.resume,
10831083
stop={"training_iteration": args.iterations},
1084-
resources_per_trial={"cpu": os.cpu_count()/args.jobs},
1084+
resources_per_trial={"cpu": os.cpu_count() / args.jobs},
10851085
log_to_file=["trail-out.log", "trail-err.log"],
10861086
trial_name_creator=lambda x: f"variant-{x.trainable_name}-{x.trial_id}-ray",
10871087
trial_dirname_creator=lambda x: f"variant-{x.trainable_name}-{x.trial_id}-ray",

tools/AutoTuner/test/resume_check.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ def setUp(self):
5858
for c in options
5959
]
6060

61-
6261
def test_tune_resume(self):
6362
# Goal is to first run the first config (without resume) and then run the second config (with resume)
6463
# and check if the run is able to complete.

0 commit comments

Comments
 (0)