torch.mps.profiler.is_capturing_metal torch.mps.profiler.is_capturing_metal() Checks if metal capture is in progress Return type: bool