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

Uploaded Python 3

File details

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

File metadata

  • Download URL: ray_embedding-0.14.5.tar.gz
  • Upload date:
  • Size: 8.4 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.14.5.tar.gz
Algorithm Hash digest
SHA256 add2d3b406273163355cf21fd79f702ccefa99352ec26df7c664a3dda1b50b88
MD5 2bfe9b3e10ff822c41a3af3de5247ca4
BLAKE2b-256 de127cbb4612119759b6a67d118f5cf9349655440054ef1ad3de113ad91e1a0a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ray_embedding-0.14.5-py3-none-any.whl
  • Upload date:
  • Size: 10.3 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.14.5-py3-none-any.whl
Algorithm Hash digest
SHA256 f92d545e61ab1ca659f84b5a68170e2c6d26c959bbea7b0a36aa30515e79112d
MD5 ee7ab79a139fa6a9db9c8cbd2752ad03
BLAKE2b-256 b5486822e95d368a972c054f15ad4f6e695db28c2601a247bd425f413fe9e3f6

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