docs: add space to docs (#26067)

* docs: add space to docs

* docs: remove reduntant space
This commit is contained in:
Phuc Van Phan
2023-09-12 04:03:26 +07:00
committed by GitHub
parent ce2e7ef3d9
commit 5af2c62696
26 changed files with 26 additions and 26 deletions

View File

@@ -511,7 +511,7 @@ def main():
if isinstance(checkpointing_steps, int):
if completed_steps % checkpointing_steps == 0:
output_dir = f"step_{completed_steps }"
output_dir = f"step_{completed_steps}"
if args.output_dir is not None:
output_dir = os.path.join(args.output_dir, output_dir)
accelerator.save_state(output_dir)