Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SDK - Relative imports #156

Merged
merged 1 commit into from
Nov 10, 2018
Merged

SDK - Relative imports #156

merged 1 commit into from
Nov 10, 2018

Conversation

Ark-kun
Copy link
Contributor

@Ark-kun Ark-kun commented Nov 8, 2018

Made all SDK import relative so that they files always refer to the sibling files instead of the installed package. This makes debugging and development easier since you can be sure the correct files are used.


This change is Reviewable

Made all SDK import relative so that they files always refer to the sibling files instead of the installed package. This makes debugging and development easier since you can be sure the correct files are used.
@qimingj
Copy link
Contributor

qimingj commented Nov 10, 2018

/lgtm
/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: qimingj

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@Ark-kun
Copy link
Contributor Author

Ark-kun commented Nov 10, 2018

/test presubmit-e2e-test

@Ark-kun
Copy link
Contributor Author

Ark-kun commented Nov 10, 2018

/test build-image

@k8s-ci-robot k8s-ci-robot merged commit 199a962 into master Nov 10, 2018
IronPan added a commit that referenced this pull request Nov 11, 2018
@Ark-kun Ark-kun deleted the avolkov/SDK-relative-imports branch January 15, 2019 22:10
Linchin pushed a commit to Linchin/pipelines that referenced this pull request Apr 11, 2023
* Exclude all vendor directories from lint tests.

* Fix lint.
magdalenakuhn17 pushed a commit to magdalenakuhn17/pipelines that referenced this pull request Oct 22, 2023
* 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
HumairAK pushed a commit to red-hat-data-services/data-science-pipelines that referenced this pull request Mar 11, 2024
* rename main step name to main

* also update resourceop container name to main
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants