-
Notifications
You must be signed in to change notification settings - Fork 1.8k
support hybrid training service v2.0 config #3251
Conversation
nni/tools/nnictl/launcher.py
Outdated
print_error(e) | ||
exit(1) | ||
except Exception: | ||
print_warning('Validation with V1 schema failed. Trying to convert from V2 format...') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When use V2 yaml file, there always be a warning here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, this is a content that I merge from yuge's pr. I think it is okay for now
@@ -7,6 +7,8 @@ trainingServicePlatform: hybrid | |||
searchSpacePath: search_space.json | |||
#choice: true, false | |||
useAnnotation: false | |||
nniManagerIp: 10.150.144.59 | |||
versionCheck: false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove ip and version check
nni/experiment/experiment.py
Outdated
@@ -171,6 +171,7 @@ def run(self, port: int = 8080, debug: bool = False) -> bool: | |||
while True: | |||
time.sleep(10) | |||
status = self.get_status() | |||
print('zqlllll: ', status) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's this line used for?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sorry, forgot to remove it...
No description provided.