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.13.20.tar.gz (8.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.13.20-py3-none-any.whl (10.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ray_embedding-0.13.20.tar.gz
  • Upload date:
  • Size: 8.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.13.20.tar.gz
Algorithm Hash digest
SHA256 3151c596c1774150f0f8a65f0edce8e0d13eb22bb021a987ab3fbaff9dc49f8f
MD5 a3edfbc6bc3489f939a6b88c97535cf9
BLAKE2b-256 aa17bfe5d7d1f70ccca00282d513022db148b39e628b83be8a952309a153d151

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ray_embedding-0.13.20-py3-none-any.whl
Algorithm Hash digest
SHA256 9f4d517c07229d50392fd1a62ba048de3285d4ce5987a07bd2a16919eebb9200
MD5 caa6e6e1ff7710dc18832d721044d025
BLAKE2b-256 6a2d8882e0338ea4bc543d8cf89833b5ca5c7a7f4be193b944c2644d173a0805

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