Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Commit

Permalink
Merge pull request #134 from Microsoft/master
Browse files Browse the repository at this point in the history
Support trialkeeper pipe outputStream flush (#782)
  • Loading branch information
SparkSnail authored Feb 26, 2019
2 parents 281f3dc + 17f9075 commit 2ce9157
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sdk/pynni/nni/platform/local.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def send_metric(string):
if _nni_platform != 'local':
data = (string).encode('utf8')
assert len(data) < 1000000, 'Metric too long'
print('NNISDK_ME%s' % (data))
print('NNISDK_ME%s' % (data), flush=True)
else:
data = (string + '\n').encode('utf8')
assert len(data) < 1000000, 'Metric too long'
Expand Down

0 comments on commit 2ce9157

Please sign in to comment.