def set_aml_system(olive_config, is_gpu=False, hf_token=False):
    """Set the aml_system in the olive config."""
    if "systems" not in olive_config:
        olive_config["systems"] = {}

    olive_config["systems"]["aml_system"] = get_gpu_compute(hf_token) if is_gpu else get_cpu_compute(hf_token)
Set the aml_system in the olive config.
examples/test/utils.py