Skip to content

[Meta]: Native Inference #3363

Open
Open

Description

@Bihan

This tracks the roadmap for implementing native inference capabilities inside dstack. Currently LLM inference systems (SGLang, Dynamo, Grove, LLM-d, Ai-brix, SGLang OME) revolve around inference-native concepts: TTFT/ITL autoscaling, PD disaggregation, distributed KV-cache, KV cache transfer engines, router HA, and multi-node execution. For more details on how different different components constitute native inference see Exploration of Inference Architecture

The goal is to build these capabilities into dstack’s and provide a unified abstraction that works seamlessly across clouds, Kubernetes, and bare metal.

  • Replica Groups
    Replica groups allow running prefill and decode as separate replica groups within a single service. Each group uses different commands (e.g., --disaggregation-mode prefill vs --disaggregation-mode decode) and enables independent scaling and resource requirements for each phase.

  • Prefill–Decode Disaggregation
    Prefill-decode disaggregation requires launching prefill and decode workers with different commands, ports, and configurations.

  • Gateway HA
    Currently, dstack does not provide HA for Gateway Service. This can be implemented by introducing multiple Gateways. SGLang router already has a PR for router HA, which means after the merge the point of unreliability will only be Gateway.

  • Autoscaling
    dstack currently supports only RPS-based autoscaling, but inference systems require autoscaling based on inference-native performance metrics. We need to extend the autoscaler to incorporate TTFT (Time to First Token) and ITL (Inter-Token Latency). For design details see: link

  • Multi-node Replicas
    Currently, dstack does not support multi-node service replicas. Each service replica is limited to a single node (one job per replica). To support multi-node service replicas, dstack services would need to support multiple jobs per replica.

Activity

  1. github-actions commented on Jan 21, 2026

    @github-actions

    This issue is stale because it has been open for 30 days with no activity.

  2. github-actions commented on Mar 1, 2026

    @github-actions

    This issue is stale because it has been open for 30 days with no activity.

  3. github-actions commented on Mar 15, 2026

    @github-actions

    This issue was closed because it has been inactive for 14 days since being marked as stale. Please reopen the issue if it is still relevant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions