-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor model class and runners to be more independent (#494)
* get model class from config * download checkpoints command * pass model to server class, change grpc flag name * download_checkpoints option in server * rename ModelUploader to ModelBuilder * create_model_instance function * include main for now to reduce diff * refactor upload model main to reduce diff * fix arg * fixes * fix formatting * make class_info section optional * edit unittest * edit tests to use model class * init model directly for unittest * update cmdline * fix runner inheritence and simplify test * update calls in grpc server * update names in test * fix test * fix test * formatting * fix name in test * fix use of modelclass in tests * move load_model into default construction * remove download_checkpoints arg * set uuid in test setup * write configs to tempfiles to keep tests independent * set compute cluster id in nodepool test * revert unrelated changes to test_compute_orchestration * add error message for updaing runner class * put back load_model as abstract method * remove init args for this pr * fix tests * copy all of 1/ dir
- Loading branch information
Showing
18 changed files
with
183 additions
and
272 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.