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

feat: Make matching engine API public #1192

Merged
merged 23 commits into from
May 9, 2022

Conversation

ivanmkc
Copy link
Contributor

@ivanmkc ivanmkc commented May 2, 2022

Followup to #995

Adds system tests for APIs that require VPC network.

TODO

  • Make matching engine API public
  • Reinstate integration tests
  • Reinstate unit tests
  • Inject network using the CI
  • Run system test with injected network

Dependent on https://github.com/googleapis/python-aiplatform/pull/1195/files

@product-auto-label product-auto-label bot added the size: l Pull request size is large. label May 2, 2022
@ivanmkc ivanmkc marked this pull request as draft May 2, 2022 22:08
@ivanmkc ivanmkc force-pushed the imkc--matching-engine-2 branch 2 times, most recently from 992fdde to 528a915 Compare May 2, 2022 22:19
@product-auto-label product-auto-label bot added size: m Pull request size is medium. and removed size: l Pull request size is large. labels May 2, 2022
@ivanmkc ivanmkc marked this pull request as ready for review May 4, 2022 18:10
@ivanmkc ivanmkc changed the title Make matching engine API public feat: Make matching engine API public May 4, 2022
@ivanmkc ivanmkc mentioned this pull request May 4, 2022
4 tasks
@product-auto-label product-auto-label bot added size: xl Pull request size is extra large. api: vertex-ai Issues related to the googleapis/python-aiplatform API. size: m Pull request size is medium. and removed size: m Pull request size is medium. size: xl Pull request size is extra large. labels May 4, 2022
@sararob sararob added the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label May 5, 2022
@ivanmkc ivanmkc requested a review from sasha-gitg May 5, 2022 21:51
@ivanmkc ivanmkc requested review from a team as code owners May 6, 2022 02:52
@@ -136,7 +136,10 @@ def tear_down_resources(self, shared_state: Dict[str, Any]):
# Bring all Endpoints to the front of the list
# Ensures Models are undeployed first before we attempt deletion
shared_state["resources"].sort(
key=lambda r: 1 if isinstance(r, aiplatform.Endpoint) else 2
key=lambda r: 1
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had talked to Morgan before about some ideas to clean this up. This will get uglier as time passes.

== _TEST_MAX_REPLICA_COUNT_UPDATED
)

# TODO: Test `my_index_endpoint.match` request. This requires running this test in a VPC.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still don't know how to run the whole system test "inside" the VPC network.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Am asking around.

@sasha-gitg sasha-gitg removed the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label May 9, 2022
@ivanmkc ivanmkc merged commit 469db6b into googleapis:main May 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: vertex-ai Issues related to the googleapis/python-aiplatform API. size: m Pull request size is medium.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants