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

Commit 7d38355

Browse files
jeanmfacebook-github-bot
authored andcommitted
Missing 'f' from f-string (#1229)
Summary: Pull Request resolved: #1229 F-string was missing `f`. Reviewed By: arbabu123 Differential Revision: D19377335 fbshipit-source-id: b779ae73ae370ca9e3be2eafd87a70c3e20b798f
1 parent 8dfd39e commit 7d38355

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pytext/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def train_model_distributed(config, metric_channels: Optional[List[Channel]]):
6060
or config.distributed_world_size <= torch.cuda.device_count()
6161
), (
6262
f"Only {torch.cuda.device_count()} GPUs are available, "
63-
"{config.distributed_world_size} GPUs were requested"
63+
f"{config.distributed_world_size} GPUs were requested"
6464
)
6565

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

0 commit comments

Comments
 (0)