def METHOD_NAME(
    cpu_only, py3_only, ecs_container_instance, mxnet_training, training_cmd, ecs_cluster_name
):
    """
    CPU Gluon NLP for MXNet Training
    Instance Type - c5.9xlarge
    DGL is only supported in py3, hence we have used the "py3_only" fixture to ensure py2 images don't run
    on this function.
    Given above parameters, registers a task with family named after this test, runs the task, and waits for
    the task to be stopped before doing teardown operations of instance and cluster.
    """
    instance_id, cluster_arn = ecs_container_instance
    ecs_utils.ecs_training_test_executor(
        ecs_cluster_name, cluster_arn, training_cmd, mxnet_training, instance_id
    )