torch.cuda.get_sync_debug_mode torch.cuda.get_sync_debug_mode() Return current value of debug mode for cuda synchronizing operations. Return type: int