Description
Uni3Sim is an open-source simulation platform specifically engineered to address the complex challenges of serving large language models (LLMs) at scale. It offers a holistic approach to understanding system performance by spanning critical components such as compute architectures, communication protocols, and memory and storage solutions. The platform aims to explain how these elements interact and influence the overall efficiency and responsiveness of LLM deployments.
Read More
The tool is designed to bridge two significant gaps in system design: from hardware capabilities to actual serving behavior, and from kernel execution to overall serving performance. It accounts for factors like scheduling, host preparation, and resource contention, which can cause the same operator to execute differently on various hardware configurations. Uni3Sim allows users to describe hardware, workloads, and deployments through a common input, connecting specifications, kernel implementations, and serving requests.
Uni3Sim provides interpretable performance modeling, analyzing work, resource capacity, and dependencies to explain execution time. It helps answer questions like how tasks map to compute units, considering matrix shapes and tiling. The platform incorporates a shared modeling approach, with architecture-specific descriptions and calibration for resources, access granularity, and concurrency sources. It also integrates scheduling into the system analysis, demonstrating how preparing batches early can reduce device idle time and improve efficiency.
The platform offers multiple modeling perspectives, including Compute (ArchPrism), Interconnects (ProtoBridge), and Memory & Storage (HBFrame). ArchPrism connects operators, hardware resources, and inference serving to explain performance origins, focusing on compute work, effective resource capacity, hierarchical traffic, and scheduling feedback. ProtoBridge makes supernode interconnect protocol differences explicit through packet execution and dependencies. HBFrame connects emerging memory devices and scheduling policies to real inference workloads, featuring modular HBF device models and system-level evaluation.
Uni3Sim enables users to understand performance bottlenecks and explore the system design space under various constraints. It includes case studies that illustrate how design decisions impact system performance, such as analyzing short bursts in resource utilization or evaluating logical token throughput and revenue per GPU-hour under different caching scenarios. The platform also explores serving frontiers across different models and investigates data movement beyond HBM capacity, considering sparse reads and shared-link contention. This comprehensive simulation capability supports hardware-software co-evaluation, facilitating the design and optimization of next-generation computing systems for LLMs.
- CategoryMLOps & Model Deployment
- Pricing ModelFree
- DeploymentOpen-Source
- PlatformsGitHub
Uni3Sim's Core Features
Open-source simulation for LLM serving
Spans compute architectures, communication protocols, and memory/storage
Explains system performance for LLM serving at scale
Optimizes from single chip to coordinated supernodes and clusters
Analyzes kernel-level performance and graph/memory-access optimization
Evaluates impact of design decisions across system layers
Bridges hardware capabilities to actual serving behavior
Accounts for scheduling, host preparation, and resource contention
Provides interpretable performance modeling
Analyzes work, resource capacity, and dependencies for execution time
Integrates scheduling into system analysis
Offers multiple modeling perspectives: Compute (ArchPrism), Interconnect (ProtoBridge), Memory & Storage (HBFrame)
Supports hardware-software co-evaluation
Includes case studies for concrete system-level answers
Explores system design space under multiple constraints
How to use Uni3Sim?
Describe System: Define hardware specifications, workload characteristics, and deployment configurations.
Model Kernels: Account for operator execution, data access, and memory hierarchy at the chip level.
Analyze System Constraints: Evaluate capacity, bandwidth, interconnects, and software stack impact on performance.
Simulate Execution: Run simulations considering scheduling, host preparation, and resource contention.
Interpret Performance: Analyze compute, interconnect, and memory interactions to identify bottlenecks.
Optimize Design: Explore different configurations and policies to improve LLM serving efficiency.
Uni3Sim's Use Cases
- LLM System Performance Optimization
- Hardware-Software Co-evaluation
- System Design Space Exploration
- Bottleneck Identification
- Scheduling Policy Analysis
- Memory Hierarchy Evaluation
- Interconnect Protocol Comparison
- Cost-Efficiency Analysis








