"...git@developer.sourcefind.cn:chenpangpang/diffusers.git" did not exist on "3ad4207d1fb639af3a86d3fe5fc60406d1d7e9fe"
Unverified Commit 2ce91578 authored by SparkSnail's avatar SparkSnail Committed by GitHub
Browse files

Merge pull request #134 from Microsoft/master

Support trialkeeper pipe outputStream flush (#782)
parents 281f3dc9 17f9075a
...@@ -80,7 +80,7 @@ def send_metric(string): ...@@ -80,7 +80,7 @@ def send_metric(string):
if _nni_platform != 'local': if _nni_platform != 'local':
data = (string).encode('utf8') data = (string).encode('utf8')
assert len(data) < 1000000, 'Metric too long' assert len(data) < 1000000, 'Metric too long'
print('NNISDK_ME%s' % (data)) print('NNISDK_ME%s' % (data), flush=True)
else: else:
data = (string + '\n').encode('utf8') data = (string + '\n').encode('utf8')
assert len(data) < 1000000, 'Metric too long' assert len(data) < 1000000, 'Metric too long'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment