VOOZH about

URL: https://www.anyscale.com/product/library/ray-serve

โ‡ฑ Ray Serve with Anyscale


Ray Serve

ML library for model deployment and serving. Anyscale supports and further optimizes Ray Serve for improved performance, reliability, and scale.

~50%

reduction in total ML inferencing costs for Samsara

240,000

cores for model serving deployed with Ray Serve at Ant Group

up to

60%

higher QPS serving with optimized version of Ray Serve (vs. open source Ray Serve)

up to

50%

fewer nodes with features like Replica Compaction (compared to open source Ray)

What is Ray Serve?

Ray Serve is a scalable model serving library for building online inference applications, offering features like model composition, model multiplexing, and built-in autoscaling.

Because Ray Serve is framework-agnostic, you can use a single toolkit to serve everything from deep learning models built with any ML framework, including PyTorch, TensorFlow, and other popular frameworks.

Plus, Ray Serve has several features and performance optimizations for serving LLMs such as response streaming, dynamic request batching, multi-node/multi-GPU serving, and more.

Ray Serve Feature Highlights

Model Composition

Integrate multiple ML models with separate resource requirements and auto-scaling needs within one deployment. Orchestrate processing workflows at scale with Ray Serve.

Supercharge Ray Serve with Anyscale

Node Startup in 60s or Less

We know how important it is to serve your models quickly, which is why Anyscale nodes scale up in one minute, compared to competitorsโ€™ 5+ minute average.

How Samsara Reduced LLM Inference Costs by ~50% with Ray Serve

Discover how introducing Ray Serve dramatically improved Samsaraโ€™s production ML pipeline performance and led to a nearly 50% increase in total LLM inferencing costs.

Feature Comparison

Runtime: Performance and Cost

Scale from your laptop to 1,000s of nodes easily

โ€“

Production Readiness

Production services support for model training and deployment

Limited

Cloud and GPU Support

Launch Your Cluster on Any Cloud with Any Accelerator

Limited

Support

Support led by the creators and maintainers of Ray

Limited

Runtime: Performance and Cost

Scale from your laptop to 1,000s of nodes easily

N/A
โ€“

Production Readiness

Production services support for model training and deployment

Limited

Cloud and GPU Support

Launch Your Cluster on Any Cloud with Any Accelerator

N/A
Limited

Many Model Patterns

Limited

Support

Support led by the creators and maintainers of Ray

โ€”
Limited

Out-of-the-Box Templates & App Accelerators

Jumpstart your development process with custom-made templates, only available on Anyscale.

Deploy LLMs

Base models, LoRA adapters, and embedding models. Deploy with optimized RayLLM.

Deploy Stable Diffusion

Text-to-image generation model by Stability AI. Deploy with Ray Serve.

Ray Serve with Triton

Optimize performance for Stable diffusion with Triton on Ray Serve.

โ€œWe have no ceiling on scale, and an incredible opportunity to bring AI features and value to our 170 million users.โ€

Greg Roodt
ML Lead, Canva

Related Resources

Learn more about why Anyscaleโ€™s Ray Serve is the leader for distributed model deployment and serving.

Free Template: Deploy LLMs

Try Anyscaleโ€™s free template which includes base models, LoRA adapters, and embedding models.

Learn More about Ray Serve

Get an in-depth look at Ray Serve, including 4 main benefits and frequently asked questions.

Deploy Ray Serve with up to 50% Fewer Nodes

Learn how Anyscaleโ€™s Replica Compaction feature can help you solve resource fragmentation and optimize resource usage.

Ray Serve Docs

Explore in-depth documentation on how to get started and use Ray Serve.

FAQs

Try Anyscale Today

Build, deploy, and manage scalable AI and Python applications on the leading AI platform. Unlock your AI potential with Anyscale.