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

[Backport 2.9] Add integration tests for the remote inference feature #1109

Merged
merged 1 commit into from
Jul 13, 2023

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport 3e56ad5 from #1073

@opensearch-trigger-bot opensearch-trigger-bot bot temporarily deployed to ml-commons-cicd-env July 13, 2023 00:24 Inactive
@opensearch-trigger-bot opensearch-trigger-bot bot temporarily deployed to ml-commons-cicd-env July 13, 2023 00:24 Inactive
@codecov
Copy link

codecov bot commented Jul 13, 2023

Codecov Report

Merging #1109 (a14c4ca) into 2.9 (5705643) will decrease coverage by 0.06%.
The diff coverage is n/a.

❗ Current head a14c4ca differs from pull request most recent head 93c076d. Consider uploading reports for the commit 93c076d to get more accurate results

@@             Coverage Diff              @@
##                2.9    #1109      +/-   ##
============================================
- Coverage     78.99%   78.94%   -0.06%     
+ Complexity     2121     2118       -3     
============================================
  Files           167      167              
  Lines          8633     8633              
  Branches        869      869              
============================================
- Hits           6820     6815       -5     
- Misses         1419     1425       +6     
+ Partials        394      393       -1     
Flag Coverage Δ
ml-commons 78.94% <ø> (-0.06%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

see 2 files with indirect coverage changes

@opensearch-trigger-bot opensearch-trigger-bot bot temporarily deployed to ml-commons-cicd-env July 13, 2023 00:52 Inactive
@opensearch-trigger-bot opensearch-trigger-bot bot temporarily deployed to ml-commons-cicd-env July 13, 2023 00:52 Inactive
@opensearch-trigger-bot opensearch-trigger-bot bot temporarily deployed to ml-commons-cicd-env July 13, 2023 00:52 Inactive
@opensearch-trigger-bot opensearch-trigger-bot bot temporarily deployed to ml-commons-cicd-env July 13, 2023 00:52 Inactive
* Add remote inference integration tests for OpenAI and Cohere

Signed-off-by: Ryan Bogan <[email protected]>

* Change edits model test

Signed-off-by: Ryan Bogan <[email protected]>

* Change loop number in edits test

Signed-off-by: Ryan Bogan <[email protected]>

* Change edits model test again

Signed-off-by: Ryan Bogan <[email protected]>

* Fix spotless

Signed-off-by: Ryan Bogan <[email protected]>

* Refactoring

Signed-off-by: Ryan Bogan <[email protected]>

* Fix typo

Signed-off-by: Ryan Bogan <[email protected]>

* Remove env vars

Signed-off-by: Peter Zhu <[email protected]>

* Removing unnecessary comments

Signed-off-by: Ryan Bogan <[email protected]>

* Rebase with 2.x and remove set up for master key

Signed-off-by: Ryan Bogan <[email protected]>

* Remove print line

Signed-off-by: Ryan Bogan <[email protected]>

* Add throttling check

Signed-off-by: Ryan Bogan <[email protected]>

* Minor change for assert statement

Signed-off-by: Ryan Bogan <[email protected]>

* Test changes

Signed-off-by: Ryan Bogan <[email protected]>

* Uncomment delete connector test

Signed-off-by: Ryan Bogan <[email protected]>

---------

Signed-off-by: Ryan Bogan <[email protected]>
Signed-off-by: Peter Zhu <[email protected]>
Co-authored-by: Peter Zhu <[email protected]>
(cherry picked from commit 3e56ad5)
Signed-off-by: Yaliang Wu <[email protected]>
@ylwu-amzn ylwu-amzn force-pushed the backport/backport-1073-to-2.9 branch from a14c4ca to 93c076d Compare July 13, 2023 01:03
@ylwu-amzn ylwu-amzn temporarily deployed to ml-commons-cicd-env July 13, 2023 01:03 — with GitHub Actions Inactive
@ylwu-amzn ylwu-amzn temporarily deployed to ml-commons-cicd-env July 13, 2023 01:03 — with GitHub Actions Inactive
@ylwu-amzn ylwu-amzn temporarily deployed to ml-commons-cicd-env July 13, 2023 01:03 — with GitHub Actions Inactive
@ylwu-amzn ylwu-amzn temporarily deployed to ml-commons-cicd-env July 13, 2023 01:03 — with GitHub Actions Inactive
@ylwu-amzn ylwu-amzn merged commit 78c5110 into 2.9 Jul 13, 2023
@github-actions github-actions bot deleted the backport/backport-1073-to-2.9 branch July 13, 2023 01:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants