Skip to content

Commit

Permalink
precommit
Browse files Browse the repository at this point in the history
  • Loading branch information
KuuCi committed Apr 24, 2024
1 parent 85fa2df commit 6cecaec
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion llmfoundry/utils/config_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,8 @@ def _process_data_source(source_dataset_path: Optional[str],
remote_path = dataset['remote']
backend, _, _ = parse_uri(remote_path)
if backend:
remote_path = os.path.join(remote_path, f"{cfg_split}/") if cfg_split else remote_path
remote_path = os.path.join(
remote_path, f'{cfg_split}/') if cfg_split else remote_path
data_paths.append((backend, remote_path, true_split))
else:
data_paths.append(('local', remote_path, true_split))
Expand Down

0 comments on commit 6cecaec

Please sign in to comment.