What problem does it solve? Memory-bound operators like MatMul, QBMM, and GMM stall NPU inference while waiting for weight data transfers. This Skill guides the end-to-end process of adding torch_npu.npu_prefetch weight prefetching so weight loading overlaps with preceding computation, reducing operator latency on Ascend NPU hardware. ## Core Features & Use Cases - Prefetch Position Selection: Identify candidate memory-bound operators via manual specification or automated roofline analysis, and choose safe non-memory-bound dependency windows. - Prefetch Size Calculation: Compute max_size from weight tensor dimensions and data type (bf16/int8/fp32), starting conservatively at 50% and tuning based on profiling results. - Guarded Implementation: Insert prefetch calls behind an enable_prefetch switch (default False) with graph-mode-compatible dependency nodes, then validate with before/after profiling comparisons. - Use Case: Profiling shows gate_up_proj MatMul is memory-bound in an LLM. Use this Skill to prefetch its weights during the preceding o_proj execution, verify the operator time drops, and produce a performance comparison report. ## Quick Start Analyze my model's profiling data and add weight prefetching for the memory-bound MatMul operators with an enable_prefetch switch.