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.16.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.16-py3-none-any.whl (10.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ray_embedding-0.13.16.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.16.tar.gz
Algorithm Hash digest
SHA256 ad7bc3e9b2c111c33a53320da811a17d5cda5f57ee629a918e8bb767217137be
MD5 e31bd58b7221e9cff93f73bc197f6fea
BLAKE2b-256 868a8e284b0d28b51ce4010b6e8982db9a756752392c48963f9ddc6cf323902c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ray_embedding-0.13.16-py3-none-any.whl
Algorithm Hash digest
SHA256 c9587c358521102eb108441369b316b9c883e4efec6f5eeb55f9ae7958ea1c65
MD5 600a7d82e76e1301cbe1f32ac7b6f2e8
BLAKE2b-256 09832bea5799e29ed92125f81f6e7995c6b42bb9312d3830e9155e79a2df171b

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