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

Uploaded Python 3

File details

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

File metadata

  • Download URL: ray_embedding-0.14.6.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.14.6.tar.gz
Algorithm Hash digest
SHA256 dff9f4728484a02c4792a112a015f22c429a26c4eb4f7e5f836cfc853bd64859
MD5 ecf2fd60a3ee89523fa7d05d3197a699
BLAKE2b-256 b4f8df352e0b311b1d9e32b8111071d9899f730ad5ed75b53c336ebb21be5916

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ray_embedding-0.14.6-py3-none-any.whl
  • Upload date:
  • Size: 10.5 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.14.6-py3-none-any.whl
Algorithm Hash digest
SHA256 29f12cb24d33adf588e58f4ab682d1ce044d915b3137eaaaa076e16b95e6d760
MD5 47731aaa304d7222355618d2efed4203
BLAKE2b-256 75bbe8b5827afb96a11cd7f46f6cecad1f8f14d27cc22aedf111ccaa595bd64c

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