Skip to content

Commit 7614b02

Browse files
sriteepzhokhov
authored andcommitted
remove f strings for python back compatibility (#906)
1 parent f7d5a26 commit 7614b02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

baselines/common/mpi_adam_optimizer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def check_synced(localval, comm=None):
6565
vals = comm.gather(localval)
6666
if comm.rank == 0:
6767
assert all(val==vals[0] for val in vals[1:]),\
68-
f'MpiAdamOptimizer detected that different workers have different weights: {vals}'
68+
'MpiAdamOptimizer detected that different workers have different weights: {}'.format(vals)
6969

7070
@with_mpi(timeout=5)
7171
def test_nonfreeze():

0 commit comments

Comments
 (0)