hiyouga/LLaMA-Factory

安装docker出现问题

Closed this issue · 3 comments

Reminder

  • I have read the README and searched the existing issues.

Reproduction

运行代码:docker build -f ./Dockerfile -t llama-factory:latest .

image

提示错误:
ERROR: failed to solve: process "/bin/sh -c pip install -e .[deepspeed,metrics,bitsandbytes,qwen]" did not complete successfully: exit code: 1

Expected behavior

No response

System Info

No response

Others

No response

中括号里面只留一个 metrics 试试

中括号里面只留一个 metrics 试试

具体怎么操作呢?我是输入这串代码“docker build -f ./Dockerfile -t llama-factory:latest .”执行的。怎么做到只保留“metrics ”呢,麻烦再指点下~~

修改一下 dockerfile 的内容