cube-studio/job-template/job/model_download
2023-12-16 20:47:24 +08:00
..
build.sh add model download job template 2023-04-06 22:57:22 +08:00
Dockerfile 丰富原有部分模板的可接收参数,去除不使用的模板 2023-12-11 09:58:45 +08:00
launcher.py 丰富原有部分模板的可接收参数,去除不使用的模板 2023-12-11 09:58:45 +08:00
README.md 去除非必要模板参数说明 2023-12-16 20:47:24 +08:00

model_download 模板

镜像ccr.ccs.tencentyun.com/cube-studio/model_download:20221001 启动参数:

{
    "参数": {
        "--from": {
            "type": "str",
            "item_type": "str",
            "label": "模型来源地",
            "require": 1,
            "choice": ["模型管理","推理服务","huggingface"],
            "range": "",
            "default": "模型管理",
            "placeholder": "",
            "describe": "模型来源地",
            "editable": 1
        },
        "--model_name": {
            "type": "str",
            "item_type": "str",
            "label": "模型名(a-z0-9-字符组成最长54个字符)",
            "require": 1,
            "choice": [],
            "range": "",
            "default": "",
            "placeholder": "",
            "describe": "模型名",
            "editable": 1
        },
        "--sub_model_name": {
            "type": "str",
            "item_type": "str",
            "label": "子模型名(a-z0-9-字符组成最长54个字符)",
            "require": 0,
            "choice": [],
            "range": "",
            "default": "",
            "placeholder": "",
            "describe": "子模型名,对于包含多个子模型的用户填写",
            "editable": 1
        },
        "--model_version": {
            "type": "str",
            "item_type": "str",
            "label": "模型版本号",
            "require": 1,
            "choice": [],
            "range": "",
            "default": "v2022.10.01.1",
            "placeholder": "",
            "describe": "模型版本号",
            "editable": 1
        },
        "--model_status": {
            "type": "str",
            "item_type": "str",
            "label": "模型状态",
            "require": 1,
            "choice": ["online","offline","test"],
            "range": "",
            "default": "online",
            "placeholder": "",
            "describe": "模型状态,模型来自推理服务时有效",
            "editable": 1
        },
        "--save_path": {
            "type": "str",
            "item_type": "str",
            "label": "下载目的目录",
            "require": 1,
            "choice": [],
            "range": "",
            "default": "/mnt/xx/download/model/",
            "placeholder": "",
            "describe": "下载目的目录",
            "editable": 1
        }
    }
}