"vscode:/vscode.git/clone" did not exist on "d798c9b8c6a20bffef4fb9632fc3cb6b60daf6a3"
Unverified Commit d76d379b authored by chicm-ms's avatar chicm-ms Committed by GitHub
Browse files

Fix broken pipe (#675)

* Pull code (#22)

* Support distributed job for frameworkcontroller (#612)

support distributed job for frameworkcontroller

* Multiphase doc (#519)

* multiPhase doc

* updates

* updates

* Add time parser for 'nnictl update duration' (#632)

Current nnictl update duration only support seconds unit, add a parser for this command to support {s, m, h, d}

* fix experiment state bug (#629)

* update top README.md (#622)

* Update README.md

* update (#634)

* Integration tests refactoring (#625)

* Integration test refactoring (#21) (#616)

* Integration test refactoring (#21)

* Refactoring integration tests

* test metrics

* update azure pipeline

* updates

* updates

* updates

* updates

* updates

* updates

* updates

* updates

* updates

* updates

* updates

* updates

* updates

* updates

* updates

* updates

* updates

* updates

* updates

* updates

* update trigger

* Integration test refactoring (#618)

* updates

* updates

* update pipeline (#619)

* update pipeline

* updates

* updates

* updates

* updates

* updates

* test pipeline (#623)

* test pipeline

* updates

* updates

* updates

* Update integration test (#624)

* Update integration test

* updates

* updates

* updates

* updates

* updates

* updates

* Revert "Pull code (#22)"

This reverts commit 62fc165ad7b2ba724eead3b99f010aa34491e2c7.

* Fix broken pipe error

* updates

* updates
parent 9d3d926b
...@@ -33,7 +33,7 @@ jobs: ...@@ -33,7 +33,7 @@ jobs:
displayName: 'Built-in tuners / assessors tests' displayName: 'Built-in tuners / assessors tests'
- script: | - script: |
cd test cd test
PATH=$HOME/.local/bin:$PATH python3 config_test.py --ts local PATH=$HOME/.local/bin:$PATH python3 config_test.py --ts local --local_gpu
displayName: 'Examples and advanced features tests on local machine' displayName: 'Examples and advanced features tests on local machine'
- script: | - script: |
cd test cd test
......
...@@ -44,13 +44,10 @@ _time_format = '%Y-%m-%d %H:%M:%S' ...@@ -44,13 +44,10 @@ _time_format = '%Y-%m-%d %H:%M:%S'
class _LoggerFileWrapper(TextIOBase): class _LoggerFileWrapper(TextIOBase):
def __init__(self, logger_file): def __init__(self, logger_file):
self.file = logger_file self.file = logger_file
self.orig_stdout = sys.stdout
def write(self, s): def write(self, s):
if s != '\n': if s != '\n':
time = datetime.now().strftime(_time_format) time = datetime.now().strftime(_time_format)
self.orig_stdout.write(s + '\n')
self.orig_stdout.flush()
self.file.write('[{}] PRINT '.format(time) + s + '\n') self.file.write('[{}] PRINT '.format(time) + s + '\n')
self.file.flush() self.file.flush()
return len(s) return len(s)
......
authorName: nni authorName: nni
experimentName: default_test experimentName: default_test
maxExecDuration: 15m maxExecDuration: 15m
maxTrialNum: 4 maxTrialNum: 2
trialConcurrency: 2 trialConcurrency: 2
searchSpacePath: ./cifar10_search_space.json searchSpacePath: ./cifar10_search_space.json
......
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