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

Uploaded Python 3

File details

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

File metadata

  • Download URL: ray_embedding-0.13.5.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.5.tar.gz
Algorithm Hash digest
SHA256 3cd547bc7f9eb52f8cc0389788f249fb19f92c09fbe8cf5916e02f1adba410d9
MD5 105e1d09ab1d6b87f101e74095fc42cb
BLAKE2b-256 821bef2aacc7b5ba0c8d8580908de1d0eabd9d9816d10f8563b590015ef3ab94

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ray_embedding-0.13.5-py3-none-any.whl
  • Upload date:
  • Size: 9.8 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 7f052c3e31f446c844be3a922ee4bce07b9f1ff3555db6b6030ae67bdac1e06f
MD5 156f01bfb90089ebb9157aea0d672775
BLAKE2b-256 d9d071d8ce89d0439640c785735bd6fb88545feeaa8ac471dc1f0b3c6e5092ed

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