aliyun / aliyun/SimAI

[Feature] Sweep P/D deployment and network dimensions in Vidur config optimizer

Open
#296 0 comments 1 reaction 2 assignees View on GitHub

@tianhao909 is already working on this.

Since Aug 27, 2026.

  • #302 by @copilot-swe-agent — open
Dominant language
Python
Stars
1.2k
Forks
184
Avg merge
13h 4m
Merged PRs (30d)
1

Description

Motivation

Vidur can model P/D separation through pd_node_ratio and exposes P/D, RDMA and NVLink bandwidth settings, but the config optimizer currently sweeps only model, trace, cluster, scheduler, TP, PP and batch size. As a result, users must hand-run every P:D resource split and network point, and the existing Pareto analyzer cannot directly produce a P/D network phase diagram.

Proposed scope

Add an optional pd_networks dimension to config-explorer YAML. Each point contains a stable name, P-node ratio, P/D bandwidth, RDMA bandwidth, NVLink bandwidth and transfer dtype. The generated values should flow into existing ReplicaConfig arguments and become part of the job/cache key.

Requirements:

  • legacy YAML without pd_networks keeps one mixed-serving job and its existing key;
  • invalid ratios, zero/negative bandwidth and splits producing zero P or D replicas are rejected before simulation;
  • each network point produces a distinct reproducible job key;
  • existing capacity search and Pareto analysis consume the generated runs unchanged.

This is a design-space generation feature, not a claim that a single bytes/bandwidth model is sufficient for network tail latency.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.