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

Uploaded Python 3

File details

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

File metadata

  • Download URL: ray_embedding-0.13.15.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.15.tar.gz
Algorithm Hash digest
SHA256 3263300c90b8f065fb51bcdd7f16f81ecbf67f4bb80cee69ca1e1b67d90cca82
MD5 019ddecc547ea2efef1bc84de4f5b268
BLAKE2b-256 87db47920dd2b8da74b734bd026368c3867c779b1f3ae43d20413a9f43bbfe6e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ray_embedding-0.13.15-py3-none-any.whl
Algorithm Hash digest
SHA256 a0b06c0acc3a336e34df712e77219df99762c39d09d798a62befe1f6d301fe61
MD5 e1b755c6a6183905fc9ddee820f722c6
BLAKE2b-256 8fa0f058df9558f6caf6178e40671b6543cab6d3d24691d01258f6f3caf66dac

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