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.11.6.tar.gz (4.8 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.11.6-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ray_embedding-0.11.6.tar.gz
  • Upload date:
  • Size: 4.8 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.11.6.tar.gz
Algorithm Hash digest
SHA256 2bb2c2d8f85f431bf8dbc2887d23705306c3d3e559f6a2891179b1c84e10c996
MD5 252250fcd31d7e6c8b65ab2607e3f46d
BLAKE2b-256 c5edeb37278023770c091f9f2e8bda8270cc3ecd38b757e4d040cb8b87341b89

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ray_embedding-0.11.6-py3-none-any.whl
  • Upload date:
  • Size: 6.1 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.11.6-py3-none-any.whl
Algorithm Hash digest
SHA256 8381caf7653c06b491298053df71588eaedaa2864e6c23a2f63c4ac7bb760b54
MD5 34a5e3b81730002a1c6d4aa8f7e46eaa
BLAKE2b-256 611c5223da45594d30d583f60753f3286859ce90998a5b718affd5f3b9d718fe

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