Skip to content

Commit

Permalink
Formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgiosSmyrnis committed May 18, 2024
1 parent 1c741c7 commit a6086b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion open_lm/file_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ def download_data_to_local(shard_strings_per_source, temp_dir, only_rename=False
if not shard_string.startswith("pipe:aws s3 cp "):
local_shard_strings_per_source.append(shard_string)
continue

shard_string = shard_string[len("pipe:aws s3 cp ") : -len(" -")]

shards = list(braceexpand(shard_string))
Expand Down
2 changes: 1 addition & 1 deletion open_lm/params.py
Original file line number Diff line number Diff line change
Expand Up @@ -796,7 +796,7 @@ def parse_args(args):
parser.add_argument(
"--local-dir-shared-across-nodes",
action="store_true",
help="Whether the --temp-local-data-dir argument refers to a path seen by all nodes or by each node separately."
help="Whether the --temp-local-data-dir argument refers to a path seen by all nodes or by each node separately.",
)

add_model_args(parser)
Expand Down

0 comments on commit a6086b3

Please sign in to comment.