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

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.2.tar.gz (8.0 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.2-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ray_embedding-0.13.2.tar.gz
  • Upload date:
  • Size: 8.0 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.2.tar.gz
Algorithm Hash digest
SHA256 fa5a1067651786e38812d8514ebcb436bc1032a5f44810fe0cf99898b1e7e813
MD5 e4ab6a70b717a523b16004fe8de2b1a4
BLAKE2b-256 0a4e34c7541f9304a65dd6f43027fb66f3b350c4250801097dd4a00528488ab2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ray_embedding-0.13.2-py3-none-any.whl
  • Upload date:
  • Size: 9.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.13.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4b484cd9d066059b974a95b4f7cb1d2b6b384fe39cf372615b7927b2cf2cd80f
MD5 924f6813025d49eab9220484321ba317
BLAKE2b-256 7e1106b8ebe4e7487128a059ab72577212d600408903d6b50a40bb3b281e6109

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