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

Uploaded Python 3

File details

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

File metadata

  • Download URL: ray_embedding-0.12.11.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.12.11.tar.gz
Algorithm Hash digest
SHA256 4405666339acc5b8b61f75207f256c6161c2434a0d373a63cd54e57868179812
MD5 229cc80382d18bd48adacd268ddaf4d9
BLAKE2b-256 e84160f45c53368fd7ff0e188bc65b85d57ecc2f084a6d2582731a2fe7feffe6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ray_embedding-0.12.11-py3-none-any.whl
Algorithm Hash digest
SHA256 b408e5fd9704a4feefc0a69d15a90138feca91de4c94c16c7b703300f7e0b2b9
MD5 e59eef1378d309ee681eaa91661fc118
BLAKE2b-256 4e0273b6bd533c27fd377fe3178474149dac3724f3c450097166a7dede08650a

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