JS²
A bottleneck-aware LLM serving system that jointly optimizes speculative decoding and agent-level scheduling. Through externally controllable switching and remaining-step estimation, it dynamically selects decoding paths to reduce end-to-end job completion time.
Timeline (last 90 days)
JS² is a bottleneck-aware LLM serving system that jointly optimizes speculative decoding and agent-level scheduling.
JS² is implemented on vLLM and SGLang and achieves up to a 2.10× speedup in average JCT compared with the best baseline.
While achieving a 2.10× average JCT speedup, JS² keeps tail latency and throughput comparable to the baselines.
JS²'s core scheduling strategy is to prioritize tasks with fewer remaining LLM requests, in order to reduce queuing delay and shorten high-batch-size periods, creating more effective windows for speculative decoding.
By maintaining separate CUDA Graphs for the native SD path and the non-SD path, JS² achieves iteration-level switching controlled by the external scheduler, thereby minimizing the overhead when SD is disabled.
JS²'s remaining-step estimation fuses three types of signals: explicit plans, execution state derived from the prompt, and hierarchical matching of historical trajectories.
JS²'s coordination of scheduling and SD selection relies on offline performance profiling and near-term load estimation; the offline profile characterizes the SD gain curve under different loads, and the near-future load estimate determines the path selection for the next phase.
JS²'s evaluation covers three LLMs, four workloads, three workflows, two GPU platforms, and two real serving traces.
JS²'s code has been open-sourced at the GitHub repository Wenz0101/JS2.
All Facts (9)
JS² is a bottleneck-aware LLM serving system that jointly optimizes speculative decoding and agent-level scheduling.
50%UnverifiedJS² is implemented on vLLM and SGLang and achieves up to a 2.10× speedup in average JCT compared with the best baseline.
50%UnverifiedWhile achieving a 2.10× average JCT speedup, JS² keeps tail latency and throughput comparable to the baselines.
50%UnverifiedJS²'s core scheduling strategy is to prioritize tasks with fewer remaining LLM requests, in order to reduce queuing delay and shorten high-batch-size periods, creating more effective windows for speculative decoding.
50%UnverifiedBy maintaining separate CUDA Graphs for the native SD path and the non-SD path, JS² achieves iteration-level switching controlled by the external scheduler, thereby minimizing the overhead when SD is disabled.
50%UnverifiedJS²'s remaining-step estimation fuses three types of signals: explicit plans, execution state derived from the prompt, and hierarchical matching of historical trajectories.
50%UnverifiedJS²'s coordination of scheduling and SD selection relies on offline performance profiling and near-term load estimation; the offline profile characterizes the SD gain curve under different loads, and the near-future load estimate determines the path selection for the next phase.
50%UnverifiedJS²'s evaluation covers three LLMs, four workloads, three workflows, two GPU platforms, and two real serving traces.
50%UnverifiedJS²'s code has been open-sourced at the GitHub repository Wenz0101/JS2.
50%