kserve/kserve

Standardized Distributed Generative and Predictive AI Inference Platform for Scalable, Multi-Framework Deployment on Kubernetes

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 6 minutes ago
Added to GitGenius on June 5th, 2024
Created on March 27th, 2019
Open Issues & Pull Requests: 207 (+0)
Number of forks: 1,632
Total Stargazers: 5,826 (+0)
Total Subscribers: 68 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 3.1 days
Mean response time: 115.1 days
90th percentile: 326.2 days
Tracked items: 935

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 89% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Work labelled "kind/question" is answered fastest, typically in about 3 days, while "kind/feature" waits about 3 weeks. Almost all tracked open issues have seen activity in the last three months. Only 3% of issues opened in the past year have been closed.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 66
New in 7 days: 5
Closed in 7 days: 13
Avg open age: 164 days
Stale 30+ days: 8
Stale 90+ days: 2

Recent activity

Opened in 7 days: 5
Closed in 7 days: 13
Comments in 7 days: 61
Events in 7 days: 165

Top labels

  • kind/bug (757)
  • stale-warning-1 (526)
  • stale-warning-2 (513)
  • stale-warning-3 (504)
  • stale-closed (495)
  • kind/feature (479)
  • area/engprod (115)
  • kind/question (95)

Detailed Description

KServe is a standardized distributed inference platform designed to deploy generative and predictive AI models at scale on Kubernetes. Written primarily in Go, it serves as a Cloud Native Computing Foundation incubating project and provides a unified approach to model serving across multiple frameworks and deployment scenarios. The platform addresses the need for organizations to deploy both large language models and traditional machine learning models using a consistent, Kubernetes-native infrastructure.

For generative AI workloads, KServe offers optimized backends including vLLM and llm-d, with native support for Hugging Face models. The platform implements an OpenAI-compatible inference protocol to enable seamless integration with LLMs. GPU acceleration is built in with optimized memory management for large models, and the system includes intelligent model caching to reduce loading times and improve response latency. Advanced memory management features like KV cache offloading to CPU or disk allow handling of longer sequences efficiently. Request-based autoscaling is optimized specifically for generative workload patterns.

For predictive AI, KServe supports multiple frameworks including TensorFlow, PyTorch, scikit-learn, XGBoost, and ONNX. The platform provides intelligent routing between predictor, transformer, and explainer components with automatic traffic management. Advanced deployment patterns include canary rollouts, inference pipelines, and ensembles through InferenceGraph. Built-in model explainability features enable understanding of prediction reasoning through explanations and feature attribution. The system supports payload logging, outlier detection, adversarial detection, and drift detection for comprehensive monitoring. Cost efficiency is achieved through scale-to-zero capabilities on expensive resources when not in use.

Installation options reflect different operational needs. Standard Kubernetes installation provides a lightweight deployment but without canary deployment and request-based autoscaling with scale-to-zero. Knative installation enables serverless deployment for InferenceService by default. ModelMesh installation supports high-scale, high-density, and frequently-changing model serving use cases. KServe also integrates as an important addon component within Kubeflow, with specific deployment guides available for AWS and OpenShift Container Platform environments.