def METHOD_NAME(model_name: str) -> None:
    if model_name not in SUPPORTED_MODELS:
        raise ValueError(f"model {model_name} not supported")
    print(f"try to download {model_name} from huggingface hub")
    download_hf_model(model_name)
    from starwhale import model as starwhale_model
    from starwhale.utils import debug
    debug.init_logger(3)
    MODEL_NAME_PATH.write_text(model_name)
    _update_swignore(model_name)
    starwhale_model.build(name=f"guanaco-{model_name}")