def METHOD_NAME(test_case, device):
    x = flow.nn.Parameter(
        flow.zeros((10,), dtype=flow.float32, requires_grad=True).to_global(
            sbp=flow.sbp.broadcast, placement=flow.placement(device, [0])
        )
    )
    y = flow.nn.Parameter(
        flow.zeros((10,), dtype=flow.float32, requires_grad=True).to_global(
            sbp=flow.sbp.split(0), placement=flow.placement(device, [0])
        )
    )
    cpg = CPG([x, y], group_on_current_buffer=False)
    test_case.assertTrue(len(cpg.grouped_parameters) == 2)
    test_case.assertTrue(len(cpg.grouped_grads) == 2)