def METHOD_NAME(model_def: str, timings_enabled: bool) -> None:
    # TODO: refactor tests to not use cli singleton auth.
    certs.cli_cert = certs.default_load(conf.make_master_url())
    authentication.cli_auth = authentication.Authentication(conf.make_master_url())
    config_path = os.path.join(model_def, "const.yaml")
    config_obj = conf.load_config(config_path)
    config_obj = conf.set_profiling_enabled(config_obj)
    with tempfile.NamedTemporaryFile() as tf:
        with open(tf.name, "w") as f:
            yaml.dump(config_obj, f)
        experiment_id = exp.create_experiment(tf.name, model_def)
    exp.wait_for_experiment_state(experiment_id, bindings.experimentv1State.COMPLETED)
    trials = exp.experiment_trials(experiment_id)
    trial_id = trials[0].trial.id
    gpu_enabled = conf.GPU_ENABLED
    request_profiling_metric_labels(trial_id, timings_enabled, gpu_enabled)
    if gpu_enabled:
        request_profiling_system_metrics(trial_id, "gpu_util")
    if timings_enabled:
        request_profiling_pytorch_timing_metrics(trial_id, "train_batch")
        request_profiling_pytorch_timing_metrics(trial_id, "train_batch.backward", accumulated=True)