Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/pip/wandb-gte-0.13.2-and-lt-0.19
Browse files Browse the repository at this point in the history
  • Loading branch information
snarayan21 authored Sep 16, 2024
2 parents d5f0939 + 893f398 commit 29e6be1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion composer/utils/remote_uploader.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,10 @@ def upload_file(retry_index: int = 0):
# Good! It shouldn't exist.
pass
else:
raise FileExistsError(f'Object {remote_file_name} already exists, but overwrite was set to False.')
raise FileExistsError(
f'Object {remote_file_name} already exists, but overwrite was set to False. '
'Please set `save_overwrite` to `True` in Trainer to overwrite the existing file.',
)
log.info(f'Uploading file {local_file_path} to {remote_file_name}')
object_store.upload_object(
object_name=remote_file_name,
Expand Down

0 comments on commit 29e6be1

Please sign in to comment.