Open wzs1566 opened 4 hours ago
Dockerfile内容
FROM nvidia/cuda:12.2.0-runtime-ubuntu20.04
ENV DEBIAN_FRONTEND=noninteractive
RUN mkdir /workspace
RUN mkdir /workspace/model
COPY ./ /workspace
WORKDIR /workspace
RUN sed -i 's/deb.debian.org/mirrors.ustc.edu.cn/g' /etc/apt/sources.list && \
sed -i 's/security.debian.org/mirrors.ustc.edu.cn/g' /etc/apt/sources.list && \
echo "开始安装python依赖环境" && apt-get update -y && apt install software-properties-common python3-dev build-essential vim git -y && add-apt-repository ppa:deadsnakes/ppa -y && \
echo "开始安装python3.10" && apt-get install -y python3.10 curl && curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && python3.10 get-pip.py && \
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple && \
ln -sf $(which python3.10) /usr/local/bin/python
ENV PYTHONPATH=/workspace/
RUN pip install --no-cache-dir -r /workspace/requirements.txt
RUN pip install --force-reinstall lmdeploy==0.6.0 --no-deps
RUN pip cache purge
CMD ["/bin/bash"]
我正在下载 7b模型, 后面我复现一下
建议你先使用我整理的 docker file docker compose 进行构建
你好,我使用了源码重新构建镜像,仍然是一样的错误
感谢开发者的辛勤付出!!!
我在构建docker容器运行Qwen2.5-7b时,遇到一些错误。 错误信息如下:
容器内版本信息: