开发者社区 > ModelScope模型即服务 > 正文

modelscope的复制完报错呢?

"8cbd647330e5449ab0c1faed1e7982e9.png modelscope的复制完报错呢? https://www.modelscope.cn/studios/lk2003atnet/LLaMA-Board/summary 日志看了报错,[2024-04-11 09:23:32] [2024-04-11 09:23:32,745][INFO] change status to STOPPED
[2024-04-11 09:23:32] [2024-04-11 09:23:32,745][INFO] ====== 创空间停止 ======
[2024-04-11 09:23:32] [2024-04-11 09:23:32 +0800] [1047] [INFO] 127.0.0.1:46304 POST /service/operate 1.0 200 64 1643
[2024-04-11 09:23:32] [2024-04-11 09:23:32 +0800] [1047] [INFO] 127.0.0.1:46304 POST /service/operate 1.0 - - 2064
[2024-04-11 09:23:35] [2024-04-11 09:23:35,746][INFO] ====== 创空间启动 ======
[2024-04-11 09:23:35] [2024-04-11 09:23:35,746][INFO] change status to INITIALIZING
[2024-04-11 09:23:35] [2024-04-11 09:23:35,746][INFO] git clone files ...
[2024-04-11 09:23:35] 正克隆到 '/home/studio_service/studio_file/PROJECT'...
[2024-04-11 09:23:35] [2024-04-11 09:23:35,950][INFO] git clone files complete.
[2024-04-11 09:23:35] [2024-04-11 09:23:35,951][INFO] install_requirements ...
[2024-04-11 09:23:36] Looking in indexes: https://mirrors.aliyun.com/pypi/simple
[2024-04-11 09:23:36] Collecting git+https://github.com/hiyouga/LLaMA-Factory.git (from -r /home/studio_service/studio_file/PROJECT/requirements.txt (line 1))
[2024-04-11 09:23:36] Cloning https://github.com/hiyouga/LLaMA-Factory.git to /tmp/pip-req-build-ndo5ebf2
[2024-04-11 09:23:36] Running command git clone --filter=blob:none --quiet https://github.com/hiyouga/LLaMA-Factory.git /tmp/pip-req-build-ndo5ebf2
[2024-04-11 09:23:37] warning: 您似乎克隆了一个空仓库。
[2024-04-11 09:23:37] error: subprocess-exited-with-error
[2024-04-11 09:23:37]
[2024-04-11 09:23:37] × git rev-parse HEAD did not run successfully.
[2024-04-11 09:23:37] │ exit code: 128
[2024-04-11 09:23:37] ╰─> [2 lines of output]
[2024-04-11 09:23:37] HEAD
[2024-04-11 09:23:37] fatal: 有歧义的参数 'HEAD':未知的版本或路径不存在于工作区中。
[2024-04-11 09:23:37] 使用 '--' 来分隔版本和路径,例如:
[2024-04-11 09:23:37] 'git <命令> [<版本>...] -- [<文件>...]'
[2024-04-11 09:23:37] [end of output]
[2024-04-11 09:23:37]
[2024-04-11 09:23:37] note: This error originates from a subprocess, and is likely not a problem with pip.
[2024-04-11 09:23:37] error: subprocess-exited-with-error
[2024-04-11 09:23:37]
[2024-04-11 09:23:37] × git rev-parse HEAD did not run successfully.
[2024-04-11 09:23:37] │ exit code: 128
[2024-04-11 09:23:37] ╰─> See above for output.
[2024-04-11 09:23:37]
[2024-04-11 09:23:37] note: This error originates from a subprocess, and is likely not a problem with pip.
[2024-04-11 09:23:37] [2024-04-11 09:23:37,301][ERROR] install_requirements ERROR.
[2024-04-11 09:23:37] [2024-04-11 09:23:37,301][INFO] change status to FAILED
[2024-04-11 09:23:39] [2024-04-11 09:23:39 +0800] [1047] [INFO] 127.0.0.1:46320 GET /service/status 1.0 200 42 1090
[2024-04-11 09:23:39] [2024-04-11 09:23:39 +0800] [1047] [INFO] 127.0.0.1:46320 GET /service/status 1.0 - - 1599"

展开
收起
小小爱吃香菜 2024-04-16 20:17:17 29 0
1 条回答
写回答
取消 提交回答
  • 您本地跑一下,或在notebook免费实例上也行,不用搭建环境,比较方便。此回答整理自钉群“魔搭ModelScope开发者联盟群 ①”

    2024-04-16 22:03:54
    赞同 2 展开评论 打赏

ModelScope旨在打造下一代开源的模型即服务共享平台,为泛AI开发者提供灵活、易用、低成本的一站式模型服务产品,让模型应用更简单!欢迎加入技术交流群:微信公众号:魔搭ModelScope社区,钉钉群号:44837352

相关电子书

更多
视觉AI能力的开放现状及ModelScope实战 立即下载
ModelScope助力语音AI模型创新与应用 立即下载
低代码开发师(初级)实战教程 立即下载