-
Notifications
You must be signed in to change notification settings - Fork 145
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[updater] update models 110 to 130 (#1218)
* WIP * WIP * WIP * update * update * move sandbox.py to common utils; add invoker_cmd_sandbox_version to ymir controller * update * add sandbox state: SANDBOX_STATE_UNKNOWN * WIP: test cases for invoker_cmd_sandbox_version.py * add RequestType.SANDBOX_VERSION * fix invoker_cmd_sandbox_version test case * controller: fix flake8 and mypy errors * update * update * update * update * remove unused imports * update * fix ymir 1.1.0 mir_command files * update * update * update * WIP * get mir_command_pb2 from git * update * update * add env version check * unchange main.py for ymir_app * update * update * app, ctl and cmd use YMIR_VERSION from mir/version.py * using YMIR_VERSION from mir.version * update * remove SandboxInfo * update * update * UpdateErrorCode -> UpdaterErrorCode * WIP * update test case for controller sandbox version invoker * update * update * update * update * update * update * update * update * update * revert deps.py * update * update * update * labels.py: add validator for ymir_version * remove update_errors * remove some unused error codes * update doc * update * labels.py: change validator update start.py: remove UpdateError * remove EXPECTED_YMIR_VERSION * update * update * update * split sandbox.py into sandbox_util.py and sandbox_updater.py * update * update * update * SANDBOX_VERSION -> CMD_VERSION_GET * update * update * update * update ignore files; add some logging to sandbox_util * update * WIP * fix dependency of step updater 110 to 130 * update mirpb for 130 * add mso110 as reader * WIP: step updater * WIP * move some functions from mir_storage to mir_storage_ops * update * update * WIP * 110 -> 130 update dev done * add user labels updater * remove git config file mode false from dockerfile backend (moved into git.config) * add step updater doc; add class_names when training finished * add class_names when training finished * update * revert changes * revert changes to mir storage ops in ymir-cmd * remove unused code * update * add update sub command to ymir.sh * update * update * update * rename variables * update * add update_proto_py in step updater 110->130 * ignore all pyi files in ymir updater * remove pyi files * update ignore * WIP: updating models * add a smaller pydantic module; WIP: model update * WIP * stop service before update * update model structure * update * update * update * update * add ymir version to model package * update * update * update * update * update * update * in ymir-info.yaml: ymir_version -> package_version * set backup dir to sandbox/ymir-models-bk and sandbox/sandbox-bk * update * update * update * update * in ModelStorage: package_version is a required field * check model structure before update * update * update Co-authored-by: ymir <ymir@intellif.com>
- Loading branch information
Showing
14 changed files
with
182 additions
and
42 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
fasteners==0.16.3 | ||
protobuf==3.18.1 | ||
pyyaml==5.4.1 | ||
pydantic==1.9.0 | ||
|
||
--no-binary=pydantic |
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.