Skip to content
This repository has been archived by the owner on Nov 22, 2022. It is now read-only.

Commit

Permalink
Missing 'f' from f-string (#1229)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #1229

F-string was missing `f`.

Reviewed By: arbabu123

Differential Revision: D19377335

fbshipit-source-id: b779ae73ae370ca9e3be2eafd87a70c3e20b798f
  • Loading branch information
jeanm authored and facebook-github-bot committed Jan 15, 2020
1 parent 8dfd39e commit 7d38355
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytext/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def train_model_distributed(config, metric_channels: Optional[List[Channel]]):
or config.distributed_world_size <= torch.cuda.device_count()
), (
f"Only {torch.cuda.device_count()} GPUs are available, "
"{config.distributed_world_size} GPUs were requested"
f"{config.distributed_world_size} GPUs were requested"
)

print(f"\n=== Starting training, World size is {config.distributed_world_size}")
Expand Down

0 comments on commit 7d38355

Please sign in to comment.