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.10.5.tar.gz (3.9 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.10.5-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ray_embedding-0.10.5.tar.gz
  • Upload date:
  • Size: 3.9 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.10.5.tar.gz
Algorithm Hash digest
SHA256 36e72fd5aca04baea239a137130dfcc4a62c77c8445cdfa8a9d4d89358d36099
MD5 18c7e8bcf682fb8444b1ee471d107430
BLAKE2b-256 df1814d1c9280ed3e3d500d483acae7abe9ebf6b9a536599d559fbc5ab907d3f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ray_embedding-0.10.5-py3-none-any.whl
  • Upload date:
  • Size: 4.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.10.5-py3-none-any.whl
Algorithm Hash digest
SHA256 bac8c459aafdb4e583cda78ba09de384177477a578ffb0559c280cc7d36d7f40
MD5 0deee8c5bc6fce91626a15b7472312b9
BLAKE2b-256 c8b16a4ef1f383aada5d5ad4c12c21ac458cd58473bb9c5efe586d96f911c8cd

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