Search papers, labs, and topics across Lattice.
The paper introduces Ruyi2, an adaptive large language model built upon the AI Flow framework, designed for efficient variable-depth computation to address deployment costs and latency challenges. Ruyi2 leverages a "Familial Model" architecture based on Megatron-LM and 3D parallel training to improve upon the original Ruyi model's optimization complexity and distributed training compatibility. The results demonstrate a 2-3x speedup over Ruyi with comparable performance to same-sized Qwen3 models, validating family-based parameter sharing as an effective strategy for balancing efficiency and performance.
Forget training multiple models – Ruyi2's "Familial Model" achieves 2-3x speedup over its predecessor while matching Qwen3 performance, proving that parameter sharing can unlock a "Train Once, Deploy Many" paradigm.
Large Language Models (LLMs) face significant challenges regarding deployment costs and latency, necessitating adaptive computing strategies. Building upon the AI Flow framework, we introduce Ruyi2 as an evolution of our adaptive model series designed for efficient variable-depth computation. While early-exit architectures offer a viable efficiency-performance balance, the Ruyi model and existing methods often struggle with optimization complexity and compatibility with large-scale distributed training. To bridge this gap, Ruyi2 introduces a stable"Familial Model"based on Megatron-LM. By using 3D parallel training, it achieves a 2-3 times speedup over Ruyi, while performing comparably to same-sized Qwen3 models. These results confirm that family-based parameter sharing is a highly effective strategy, establishing a new"Train Once, Deploy Many"paradigm and providing a key reference for balancing architectural efficiency with high-performance capabilities.