Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
nni
Commits
4a07f9ed
"src/git@developer.sourcefind.cn:gaoqiong/migraphx.git" did not exist on "e596eec2a4e539f0c49aab3f5cdbd18a3bb26bc9"
Unverified
Commit
4a07f9ed
authored
Mar 18, 2020
by
SparkSnail
Committed by
GitHub
Mar 18, 2020
Browse files
Fix trialkeeper flush (#2174)
parent
3c0ef842
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
tools/nni_trial_tool/log_utils.py
tools/nni_trial_tool/log_utils.py
+7
-0
No files found.
tools/nni_trial_tool/log_utils.py
View file @
4a07f9ed
...
...
@@ -85,6 +85,13 @@ class RemoteLogger(object):
'''
return
PipeLogReader
(
self
.
logger
,
self
.
log_collection
,
logging
.
INFO
)
def
flush
(
self
):
'''
Add flush in handler
'''
for
handler
in
self
.
logger
.
handlers
:
handler
.
flush
()
def
write
(
self
,
buf
):
'''
Write buffer data into logger/stdout
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment