We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7d5a26 commit 7614b02Copy full SHA for 7614b02
baselines/common/mpi_adam_optimizer.py
@@ -65,7 +65,7 @@ def check_synced(localval, comm=None):
65
vals = comm.gather(localval)
66
if comm.rank == 0:
67
assert all(val==vals[0] for val in vals[1:]),\
68
- f'MpiAdamOptimizer detected that different workers have different weights: {vals}'
+ 'MpiAdamOptimizer detected that different workers have different weights: {}'.format(vals)
69
70
@with_mpi(timeout=5)
71
def test_nonfreeze():
0 commit comments