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.12.1.tar.gz (5.5 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.12.1-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ray_embedding-0.12.1.tar.gz
  • Upload date:
  • Size: 5.5 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.12.1.tar.gz
Algorithm Hash digest
SHA256 698122aea2cb75b8b491692377953ed395846f4f6e3aa6909622b9445c676e5d
MD5 fbcf5cdbf6cbf01b12fcc8744e4cc022
BLAKE2b-256 358c9866eeb3aac36b4a725ac655fc217bdbfef85259b4951e17af841379267f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ray_embedding-0.12.1-py3-none-any.whl
  • Upload date:
  • Size: 6.7 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.12.1-py3-none-any.whl
Algorithm Hash digest
SHA256 eacb53cee5ca86dc85a347ebf12f6aa8593b76c4877d25ed6503174692740f63
MD5 0cd9cdb7dada8480d939752f199216b6
BLAKE2b-256 8c183b8f7e16afdd0c6e2c707ee6715edeffb8c635dd00dc4c4c1bae25bd48c1

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