InternEvo
InternEvo copied to clipboard
在安装docker环境时,总是爆出这个错误,无法解决
描述该错误
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文件的哪一部分,想要先注释掉,后续再安装