What problem does it solve? Host-side operator launch overhead slows down static-shape NPU inference, and developers struggle to correctly configure, combine, and debug NPUGraph-based batched graph dispatch in the mindiesd compilation stack. ## Core Features & Use Cases - NPUGraph Static Capture & Replay: Guides use of torch.npu.NPUGraph, graph pools, lazy capture, and a dedicated copy stream with event pipeline to eliminate per-step host launch overhead. - Configuration Routing: Explains CompilationConfig switches (aclgraph_only, aclgraph_with_compile, aclgraph_lazy_capture, aclgraph_max_entries, safe_output_mode) and how they interact with pattern/Inductor compilation. - Mismatch Debugging: Diagnoses replay-time input shape/dtype validation errors, address drift warnings, and FIFO entry eviction behavior. - Use Case: A team running fixed-resolution, large-batch image generation on Ascend NPUs enables aclgraph_with_compile to stack pattern fusion gains with graph replay, then resolves an "ACLGraph input mismatch" error by stabilizing input shapes. ## Quick Start Ask the assistant to enable NPUGraph batched dispatch for a static-shape model by setting CompilationConfig.aclgraph_with_compile and compiling with MindieSDBackend.