Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
zjtggssg opened this issue Mar 15, 2024 · 1 comment
Open
Assignees
Labels
bug Something isn't working

Comments

@zjtggssg
Copy link

描述该错误

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文件的哪一部分,想要先注释掉,后续再安装

@zjtggssg zjtggssg added the bug Something isn't working label Mar 15, 2024
@sunpengsdu sunpengsdu self-assigned this Mar 20, 2024
@sunpengsdu
Copy link
Contributor

@JiaoPL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants