What problem does it solve? When a PyPTO operator's on-device output mismatches the golden reference, it is hard to tell which intermediate operation caused the divergence. This Skill provides a systematic binary-search method that inserts checkpoint tensors into the kernel to compare intermediate results against the golden implementation and pinpoint the first failing op. ## Core Features & Use Cases - Checkpoint Injection: Add checkpoint tensors as kernel input parameters with declared shape and dtype, writing intermediate results in place via pypto.assemble or slicing. - Golden Alignment: Modify the golden function to return matching intermediate values, ensuring identical checkpoint count, shape, dtype, and computation stage. - Binary Localization: Start from a few key computation nodes and iteratively narrow down until the first precision-failing op is found. - Use Case: A fused operator on Ascend NPU produces wrong results; insert a checkpoint after the matmul stage, compare with golden, then bisect the remaining stages until the faulty op is isolated. ## Quick Start Ask the assistant to apply the precision-binary-search method to locate the first precision-failing op in your PyPTO kernel by adding checkpoint tensors and comparing intermediate results with the golden function.