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

support hybrid training service v2.0 config #3251

Merged
merged 12 commits into from
Jan 6, 2021

Conversation

QuanluZhang
Copy link
Contributor

No description provided.

print_error(e)
exit(1)
except Exception:
print_warning('Validation with V1 schema failed. Trying to convert from V2 format...')
Copy link
Contributor

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?

Copy link
Contributor Author

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
Copy link
Contributor Author

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

@@ -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)
Copy link
Contributor

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?

Copy link
Contributor Author

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...

@liuzhe-lz liuzhe-lz merged commit b177bdc into microsoft:v2.0 Jan 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants