SearcharxivSearch

arXiv subjects

Kui Luo

Publications and source records attributed to Kui Luo.

4 recordsLinked to original sources

VPP: Virtual Pipeline Parallelism for Efficient Chunked Prefill in Long-Context LLM Inference

Chunked prefill pipeline parallelism (CPP) is a key technique for LLM inference. However, equal-size chunks exhibit imbalanced latency, as later chunks attend longer prefix KV caches and incur higher attention costs, leading to pipeline bubbles. Existing approaches mitigate this imbalance through dynamic chunk resizing (Dynamic CPP, DCPP), but our measurements show that this trades scheduling overhead for load balancing, which becomes unfavorable on long sequences. In this study, we propose Virtual Pipeline Parallelism (VPP), which keeps chunk sizes fixed and optimizes the pipeline layout through virtual stages. A V-shaped virtual-stage traversal overlaps each chunk's expensive middle stages with the lighter head and tail stages of its neighbors, while asynchronous communication and pipelined packing further reduce communication stalls and cross-request drain bubbles. We implement VPP in vLLM-Ascend and evaluate it on three MoE-based LLMs with sequences up to 1M tokens on 16 Ascend 910C NPUs. VPP improves throughput by up to 13.1% over DCPP on long sequences and 6.7% on mixed workloads, while preserving performance on short sequences. On a 512K-token DeepSeek-V3.1 prefill workload, VPP reduces the pipeline bubble ratio from 6.4% to 0.1%, achieving a 98.0% reduction compared with DCPP.

cs.DC

Controlled Evolution-Based Day-Ahead Robust Dispatch Considering Frequency Security with Frequency Regulation Loads and Curtailable Loads

With the extensive integration of volatile and uncertain renewable energy, power systems face significant challenges in primary frequency regulation due to instantaneous power fluctuations. However, the maximum frequency deviation constraint is inherently non-convex, and commonly used two-stage dispatch methods overlook causality, potentially resulting in infeasible day-ahead decisions. This paper presents a controlled evolution-based day-ahead robust dispatch method to address these issues. First, we suggest the convex relaxation technique to transform the maximum frequency deviation constraint to facilitate optimization. Then, an evolution-based robust dispatch framework is introduced to align day-ahead decisions with intraday strategies, ensuring both frequency security and power supply reliability. Additionally, a novel controlled evolution-based algorithm is developed to solve this framework efficiently. Case studies on a modified IEEE 14-bus system demonstrate the superiority of the proposed method in enhancing frequency security and system reliability.

eess.SY

AsyncFlow: An Asynchronous Streaming RL Framework for Efficient LLM Post-Training

Reinforcement learning (RL) has become a pivotal technology in the post-training phase of large language models (LLMs). Traditional task-colocated RL frameworks suffer from significant scalability bottlenecks, while task-separated RL frameworks face challenges in complex dataflows and the corresponding resource idling and workload imbalance. Moreover, most existing frameworks are tightly coupled with LLM training or inference engines, making it difficult to support custom-designed engines. To address these challenges, we propose AsyncFlow, an asynchronous streaming RL framework for efficient post-training. Specifically, we introduce a distributed data storage and transfer module that provides a unified data management and fine-grained scheduling capability in a fully streamed manner. This architecture inherently facilitates automated pipeline overlapping among RL tasks and dynamic load balancing. Moreover, we propose a producer-consumer-based asynchronous workflow engineered to minimize computational idleness by strategically deferring parameter update process within staleness thresholds. Finally, the core capability of AsynFlow is architecturally decoupled from underlying training and inference engines and encapsulated by service-oriented user interfaces, offering a modular and customizable user experience. Extensive experiments demonstrate an average of 1.59 throughput improvement compared with state-of-the-art baseline. The presented architecture in this work provides actionable insights for next-generation RL training system designs.

cs.LG

Small strain induced large piezoelectric coefficient in $\alpha$-AsP monolayer

Strain engineering can effectively tune the electronic, topological and piezoelectric properties of materials. In this work, the small strain (-4\% to 4\%) effects on piezoelectric properties of $\alpha$-AsP monolayer are studied by density functional theory (DFT). The piezoelectric stress tensors $e_{ij}$ and elastic stiffness tensors $C_{ij}$ are reported by using density functional perturbation theory (DFPT) and finite difference method (FDM). It is found that the Young's modulus of $\alpha$-AsP monolayer shows very strong anisotropy, and the armchair direction is very softer than zigzag direction, which provides possibility for tuning easily piezoelectric coefficients along the armchair direction. In considered strain range, uniaxial compressive (tensile) strain along the armchair (zigzag) direction is found to raise observably both the $e_{22}$ and $d_{22}$ (absolute value). In fact, both compressive strain along the armchair direction and tensile strain along the zigzag direction essentially reduce the lattice constants along the armchair direction, which can enhance the piezoelectric coefficients. The $e_{ij}$ of $\beta$-AsP monolayer as a function of strain is also studied to illustrate the importance of particular puckered structure of $\alpha$-AsP in enhancing the piezoelectric coefficients. A classic SnSe monolayer with puckered structure is used to further declare that small strain along the armchair direction can effectively improve the piezoelectric coefficients. For example, the $d_{22}$ of SnSe monolayer at -3.5\% strain is up to 628.8 pm/V from unstrained 175.3 pm/V. For SnSe monolayer, a large peak is observed for $e_{22}$, which is due to a structural phase transition. For $e_{16}$ of SnSe monolayer, a large peak is also observed due to the cross of lattice constants $a$ along the zigzag direction and $b$ along the armchair direction.

cond-mat.mtrl-sci