在安装docker环境时,总是爆出这个错误,无法解决

Open
#85 1 comment 0 reactions 1 assignee View on GitHub

@sunpengsdu is already working on this.

Since Mar 20, 2024.

Assessment

This issue has not been assessed yet.

Description

bug
描述该错误

make -f docker.Makefile BASE_OS=ubuntu20.04 时,总是会出一个错误,无法解决。发生在[intrenlm-dev 3/3] RUN git submodule update --init --recursive 这一步

环境信息

ERROR: failed to solve: process "/bin/sh -c git submodule update --init --recursive && /opt/conda/bin/pip --no-cache-dir install -r requirements/torch.txt && /opt/conda/bin/pip --no-cache-dir install -r requirements/runtime.txt && cd /InternLM/third_party/flash-attention && /opt/conda/bin/python setup.py install && cd ./csrc && cd fused_dense_lib && /opt/conda/bin/pip install -v . && cd ../xentropy && /opt/conda/bin/pip install -v . && cd ../rotary && /opt/conda/bin/pip install -v . && cd ../layer_norm && /opt/conda/bin/pip install -v . && cd ../../../../ && cd ./third_party/apex && /opt/conda/bin/pip --no-cache-dir install -v --disable-pip-version-check --no-cache-dir --global-option="--cpp_ext" --global-option="--cuda_ext" ./ && /opt/conda/bin/pip cache purge && rm -rf ~/.cache/pip" did not complete successfully: exit code: 1
make: *** [docker.Makefile:103: devel-image] Error 1

其他信息

有什么方法可以解决这问题。
所给的docker创建文件是否正确
RUN git submodule update --init --recursive 想知道这一步在docker文件的哪一部分,想要先注释掉,后续再安装

Dominant language
Python
Stars
420
Forks
67
PR merge metrics
No merged PRs in 30d

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from InternLM/InternEvo

All issues in InternLM/InternEvo

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.