Skip to main content

Deploy SentenceTransformers embedding models to a ray cluster

Project description

ray-embedding

A Python library for deploying SentenceTransformers models to a ray cluster. This tool encapsulates inference logic that uses SentenceTransformers to load any compatible embedding model from the Hugging Face hub and compute embeddings for input text.

This library is meant to be used with the embedding-models Ray cluster.

Refer to this Ray Serve deployment config to see how this library is used.

Supports the following backends

  • pytorch-gpu
  • pytorch-cpu

Planned:

  • onnx-gpu
  • onnx-cpu
  • openvino-cpu
  • fastembed-onnx-cpu

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ray_embedding-0.13.18.tar.gz (8.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ray_embedding-0.13.18-py3-none-any.whl (10.4 kB view details)

Uploaded Python 3

File details

Details for the file ray_embedding-0.13.18.tar.gz.

File metadata

  • Download URL: ray_embedding-0.13.18.tar.gz
  • Upload date:
  • Size: 8.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for ray_embedding-0.13.18.tar.gz
Algorithm Hash digest
SHA256 dcf20c29e706a6d2b0f05225d1e02d0750729ba0642359c91526235a9b865c43
MD5 b629712e02d8adf334259882eabb5a37
BLAKE2b-256 c4b06ddced9ee0ac6101031194994c8dffa95ff19fa82866e4132bcf9b993ced

See more details on using hashes here.

File details

Details for the file ray_embedding-0.13.18-py3-none-any.whl.

File metadata

File hashes

Hashes for ray_embedding-0.13.18-py3-none-any.whl
Algorithm Hash digest
SHA256 7cd7ed20c242f9f2d13d7a121dda75bbf429888fd5708356b29f828ef112dc0a
MD5 fd70f5c74442e8b27fdd82d18887cc79
BLAKE2b-256 59911978b0277801c40fba9a4b05433363e63876b6e5514018473f00098b85a9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page