mirror of
https://github.com/twitter/the-algorithm-ml.git
synced 2025-01-08 22:20:40 +01:00
Fix: formating
This commit is contained in:
parent
78c3235eee
commit
bc9dc568c5
@ -42,8 +42,8 @@ def get_global_loss_detached(local_loss, reduction="mean"):
|
||||
"""
|
||||
if reduction != "mean":
|
||||
logging.warn(
|
||||
f"The reduction used in this function should be the same as the one used by "
|
||||
f"the DDP model. By default DDP uses mean, So ensure that DDP is appropriately"
|
||||
f"The reduction used in this function should be the same as the one used by"
|
||||
f"the DDP model. By default DDP uses mean, so ensure that DDP is appropriately"
|
||||
f"modified for reduction {reduction}."
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user