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.6.tar.gz (5.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.12.6-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ray_embedding-0.12.6.tar.gz
  • Upload date:
  • Size: 5.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.12.6.tar.gz
Algorithm Hash digest
SHA256 03dad4c7fbc66b3164eaaf906d1584c025184465dc63916be71b27292510d702
MD5 0de6b5a40566dd7ba3f023c197ab89fd
BLAKE2b-256 76226074199586e01c72fac0443bc3a3f27c61269011d4202d0d87b268e95311

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ray_embedding-0.12.6-py3-none-any.whl
  • Upload date:
  • Size: 7.2 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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 f136c87b3cbf7ff51daced70e8e415f3d38ec2ef650f2147096626e3f9379904
MD5 6073acab894daec3604d5c46245a213e
BLAKE2b-256 446a0bc49da2eacb536d7fb1b21bc175f015fd4800520988b4a854b99011f736

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