Skip to content

Feat: Pull latest tei container for sentence similiarity models on HuggingFace hub#4686

Merged
liujiaorr merged 31 commits intoaws:masterfrom
samruds:master
May 17, 2024
Merged

Feat: Pull latest tei container for sentence similiarity models on HuggingFace hub#4686
liujiaorr merged 31 commits intoaws:masterfrom
samruds:master

Conversation

@samruds
Copy link
Copy Markdown
Collaborator

@samruds samruds commented May 15, 2024

Issue #, if available:

Description of changes:

Pull latest TEI container to deploy SentenceTransformers, and Sentence similarity type models from HuggingFace.

Add new TEI builder that deploys artifacts using TGI server.

This change introduces a TEI builder. Follow up change require to setup TEI server /invocations path for local mode testing

Testing done:

  1. Add UT

Merge Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your pull request.

General

  • I have read the CONTRIBUTING doc
  • I certify that the changes I am introducing will be backward compatible, and I have discussed concerns about this, if any, with the Python SDK team
  • I used the commit message format described in CONTRIBUTING
  • I have passed the region in to all S3 and STS clients that I've initialized as part of this change.
  • I have updated any necessary documentation, including READMEs and API docs (if appropriate)

Tests

  • I have added tests that prove my fix is effective or that my feature works (if appropriate)
  • I have added unit and/or integration tests as appropriate to ensure backward compatibility of the changes
  • I have checked that my tests are not configured for a specific region or account (if appropriate)
  • I have used unique_name_from_base to create resource names in integ tests (if appropriate)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@samruds samruds changed the title Update: Pull latest tei container for sentence similiarity models on … Update: Pull latest tei container for sentence similiarity models on on HuggingFace hub" May 15, 2024
@samruds samruds changed the title Update: Pull latest tei container for sentence similiarity models on on HuggingFace hub" Update: Pull latest tei container for sentence similiarity models on on HuggingFace hub May 15, 2024
@samruds samruds marked this pull request as ready for review May 15, 2024 22:31
@samruds samruds requested a review from a team as a code owner May 15, 2024 22:31
@samruds samruds requested review from ptkab and removed request for a team May 15, 2024 22:31
@samruds samruds requested review from makungaj1 and qiyunz and removed request for ptkab May 15, 2024 22:32
@samruds samruds changed the title Update: Pull latest tei container for sentence similiarity models on on HuggingFace hub Update: Pull latest tei container for sentence similiarity models on HuggingFace hub May 15, 2024
Comment thread src/sagemaker/serve/builder/transformers_builder.py Outdated
Comment thread src/sagemaker/serve/builder/tei_builder.py
@samruds samruds changed the title Update: Pull latest tei container for sentence similiarity models on HuggingFace hub Feat: Pull latest tei container for sentence similiarity models on HuggingFace hub May 17, 2024
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.

6 participants