def METHOD_NAME(
    tensor: flow.Tensor, op: ReduceOp, group=None, async_op: bool = False
) -> None:
    """Alias of `oneflow.comm.all_reduce()` for PyTorch compatibility.
    See also :func:`oneflow.comm.all_reduce()`
    """
    assert op == ReduceOp.SUM, "only ReduceOp.SUM is supported"
    assert group is None, "group is not supported yet"
    assert async_op is False, "async_op is not supported yet"
    return flow.comm.METHOD_NAME(tensor)