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.10.tar.gz (8.1 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.10-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ray_embedding-0.13.10.tar.gz
  • Upload date:
  • Size: 8.1 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.10.tar.gz
Algorithm Hash digest
SHA256 3f318ad39146e60451dd2faff5d5e3ae78b113cb4b9ded6485012e134d112e66
MD5 838025367ce1f0e76a43ad5676dbeab7
BLAKE2b-256 a7e60bc7584ecd2090416b52247dd2c6f35504883b54dc429519b14ad5574bda

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ray_embedding-0.13.10-py3-none-any.whl
Algorithm Hash digest
SHA256 a1a376b458ec5a8cea5bd42250fbbf186d4456e15a41c2d6f99c74facc65d5ef
MD5 6d9cf05f5db3efa55ed3c5bad4e2ad96
BLAKE2b-256 953fffed02ebe74ea9e257122f5d054e8b1558174bc486fe5caa76f5e611337a

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