Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
Signed-off-by: Thara Palanivel <[email protected]>
  • Loading branch information
tharapalanivel committed Apr 8, 2024
1 parent 9384d56 commit f5fb678
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/build/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,8 @@ def test_process_accelerate_launch_custom_config_file(patch_path_exists):
assert args.config_file == dummy_config_path
assert args.num_processes is None

# When user passes custom fsdp config file and also `num_processes` as a param, use custom config and
# overwrite num_processes from config with param
# When user passes custom fsdp config file and also `num_processes` as a param,
# use custom config and overwrite num_processes from config with param
temp_job_config = {"accelerate_launch_args": {"config_file": dummy_config_path}}
args = process_accelerate_launch_args(temp_job_config)
assert args.config_file == dummy_config_path

0 comments on commit f5fb678

Please sign in to comment.