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.11.7.tar.gz (4.8 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.11.7-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ray_embedding-0.11.7.tar.gz
  • Upload date:
  • Size: 4.8 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.11.7.tar.gz
Algorithm Hash digest
SHA256 ea9264eb3fd543ce9342be554f2030b3961f6c7159296be6afd2c64757faeb8c
MD5 5c11df44c3c760b1beb0eecbddd6e5c3
BLAKE2b-256 6726d4c252ed4ec243a4afbe69ebf4f8bc3632a2924a67f38440a57edc21799f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ray_embedding-0.11.7-py3-none-any.whl
  • Upload date:
  • Size: 6.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for ray_embedding-0.11.7-py3-none-any.whl
Algorithm Hash digest
SHA256 5d25290a952967ed8da4ca9ea4332f37114bc59316eb4f98d8818919afc22b6e
MD5 4153bf01066aed466d57d2b90d6d7902
BLAKE2b-256 634c7d82916cb6e5add5aeaaecbbaa37b7eb7edd796fcc6a9961817765ab6219

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