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.12.3.tar.gz (5.5 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.3-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ray_embedding-0.12.3.tar.gz
  • Upload date:
  • Size: 5.5 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.3.tar.gz
Algorithm Hash digest
SHA256 3d8cce2785c52e704c14c97e01d3a62d193edd1b3891f4e367bc0a006b275c8d
MD5 93b38a999325ddd9e98cee970f19270f
BLAKE2b-256 92a063b8f2e7e98e269f33e5002066026f93d4a6d9a31b14b7007e1250f5ff1e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ray_embedding-0.12.3-py3-none-any.whl
  • Upload date:
  • Size: 6.7 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.12.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ea7a8fe0d6360caf21be2e3e9449c18d3b8f467afacfc66328beb7c75cb980bb
MD5 e4e731e6eaef0cb472e39ef8eb6be896
BLAKE2b-256 9e73f90e66a22d181ad66425a759a150911deba16cb92f5c370f6e08d7c6bf3e

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