Skip to content

Commit

Permalink
remove f strings for python back compatibility (openai#906)
Browse files Browse the repository at this point in the history
  • Loading branch information
sritee authored and pzhokhov committed May 31, 2019
1 parent f7d5a26 commit 7614b02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion baselines/common/mpi_adam_optimizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def check_synced(localval, comm=None):
vals = comm.gather(localval)
if comm.rank == 0:
assert all(val==vals[0] for val in vals[1:]),\
f'MpiAdamOptimizer detected that different workers have different weights: {vals}'
'MpiAdamOptimizer detected that different workers have different weights: {}'.format(vals)

@with_mpi(timeout=5)
def test_nonfreeze():
Expand Down

0 comments on commit 7614b02

Please sign in to comment.