forked from kubeflow/pipelines
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add model initializer (kubeflow#156)
* add download injector * add download injector * merge deployment mutators * add framework method to control mapping from source to local * move annotations to constants * move default mount path to constants * adding missing import for constants in frameworks * fix tests to account for mapping * mess around with paths * actually make the downloader an init contianer * add pvc:// support * make parts of pvc path explicit in test * rename dockerfile * provisioner makefile * use logging * refactor as predictor-initializer * rename to model initailizer * udpate message when user container not found * use only one annotation * linting * rename injector to model initializer * actually call renamed function * more renames * move uri validation to validating webhook * rename to mutator * make slice of mutators * use container from gcr.io * add get model source uri to tensorrt spec * fix merge error * fix tests to account for annotation * use constant in tests * rename mount location * fix typo * fix linter errors * fix annotation name.. the old one failed with this error: message: 'Revision creation failed with message: Revision.serving.knative.dev "tensorrt-simple-string-default-qp5q2" is invalid: metadata.annotations: Invalid value: "serving.kubeflow.org/internal/model-initializer/sourceURI": a qualified name must consist of alphanumeric characters, ''-'', ''_'' or ''.'', and must start and end with an alphanumeric character (e.g. ''MyName'', or ''my.name'', or ''123-abc'', regex used for validation is ''([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]'') with an optional DNS subdomain prefix and ''/'' (e.g. ''example.com/MyName'').' * fix annotation name in reconciler tests * add method to pytorch * attempt to make constants nicer * use ref for user contaner and add failure test * add comments to clarify usage * revert bad change
- Loading branch information
1 parent
7d7f108
commit 1d9b9fa
Showing
23 changed files
with
717 additions
and
112 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
Oops, something went wrong.