def METHOD_NAME(performed):
    y.forward(clear_no_need_grad=True)
    comm_callback = comm.all_reduce_callback(
        get_grads(xs), 1024 * 1024 * 2, division=division)
    zero_grads(xs)
    y.backward(
        None, clear_buffer=True,
        communicator_callbacks=comm_callback
    )
    for g in get_grads(xs):
        assert g.zeroing != performed