def METHOD_NAME(ecr_image, sagemaker_regions, instance_type):
    # TODO: Remove when DGL gpu test on ecs get fixed
    _, image_framework_version = get_framework_and_version_from_tag(ecr_image)
    if Version(image_framework_version) in SpecifierSet("==1.10.*"):
        pytest.skip("ecs test for DGL gpu fails for pt 1.10")
    instance_type = instance_type or "ml.c4.xlarge"
    function_args = {
        "instance_type": instance_type,
    }
    invoke_pytorch_helper_function(ecr_image, sagemaker_regions, _test_dgl_training, function_args)