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

Uploaded Python 3

File details

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

File metadata

  • Download URL: ray_embedding-0.13.9.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.9.tar.gz
Algorithm Hash digest
SHA256 95555d3503488909bf64720c0331b2644757fe03ff1247b13d2cb0866a54ce66
MD5 2ab7d06fa42544026b684b9eb7171053
BLAKE2b-256 1ff7f1ee8557d8282c1959997d84bb8aac4fca91c7f7e0ddb4e80f96933ccb41

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ray_embedding-0.13.9-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.9-py3-none-any.whl
Algorithm Hash digest
SHA256 f8bd00551b801e9521128bdf900cbca76cebdf449c08377cba18d527a6ae07e4
MD5 89c2e4c43b432ce5b655ba6e34f455a4
BLAKE2b-256 da87476f42eb288dbb2cdbc28142537f65ac77c0c3e5f6a9cdea1554ba4cb1ec

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