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.4.tar.gz (5.7 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.4-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ray_embedding-0.12.4.tar.gz
  • Upload date:
  • Size: 5.7 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.4.tar.gz
Algorithm Hash digest
SHA256 e3c697b166d09331daa0536ff56fa11ab9fc25499b7d841e5fcb08542d89205b
MD5 e5e352df7939c90a818f07b54b81d8b6
BLAKE2b-256 5b5f250718cafcd6c6fc48386c68b44b486e0f42c8a1067784934d35d4ff3bde

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ray_embedding-0.12.4-py3-none-any.whl
  • Upload date:
  • Size: 6.9 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 81a41cfc49ab4e4ca1787794841c887831f834ca0cf021fc7b7f4cdf7f4240eb
MD5 11930c4fa9adeb72ab2223e09127ac0c
BLAKE2b-256 546a1a7ce0291cb9c74598c5877cc66a850544e9d6f1148bcc692fb5cf3c1fda

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