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

Uploaded Python 3

File details

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

File metadata

  • Download URL: ray_embedding-0.13.4.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.4.tar.gz
Algorithm Hash digest
SHA256 f004f9ce8e6723cfce1bd7d2bd44120642c892e0c2d5d5b5828570ccb699f99d
MD5 50f3a94847703bfee7634c251d5fd0b4
BLAKE2b-256 23d284a5abc9d3c006bfdd8b3fad50bbae0c5e21a8db8958e638387ae4cd8026

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ray_embedding-0.13.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 c4e90b014fc4404fe73be9be810f017b1d969301f4b8ba2751503a71089688e5
MD5 dc2e3b6f68e5cf7a62319f279678db8c
BLAKE2b-256 a5e14ae17c1e79855f8dd3c7559f62b55ae2221759dc8c9d8ab498d4584ddc88

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