Spaces:
Running
Running
修改dockerfile
Browse files- docs/Dockerfile+ChatGLM +3 -2
docs/Dockerfile+ChatGLM
CHANGED
@@ -21,14 +21,15 @@ ARG useProxyNetwork=proxychains
|
|
21 |
|
22 |
# use python3 as the system default python
|
23 |
RUN curl -sS https://bootstrap.pypa.io/get-pip.py | python3.8
|
24 |
-
|
|
|
25 |
# 下载分支
|
26 |
WORKDIR /gpt
|
27 |
RUN $useProxyNetwork git clone https://github.com/binary-husky/chatgpt_academic.git
|
28 |
WORKDIR /gpt/chatgpt_academic
|
29 |
RUN $useProxyNetwork python3 -m pip install -r requirements.txt
|
30 |
RUN $useProxyNetwork python3 -m pip install -r request_llm/requirements_chatglm.txt
|
31 |
-
RUN $useProxyNetwork python3 -m pip install
|
32 |
|
33 |
# 预热CHATGLM参数(非必要 可选步骤)
|
34 |
RUN echo ' \n\
|
|
|
21 |
|
22 |
# use python3 as the system default python
|
23 |
RUN curl -sS https://bootstrap.pypa.io/get-pip.py | python3.8
|
24 |
+
# 下载pytorch
|
25 |
+
RUN $useProxyNetwork python3 -m pip install torch --extra-index-url https://download.pytorch.org/whl/cu113
|
26 |
# 下载分支
|
27 |
WORKDIR /gpt
|
28 |
RUN $useProxyNetwork git clone https://github.com/binary-husky/chatgpt_academic.git
|
29 |
WORKDIR /gpt/chatgpt_academic
|
30 |
RUN $useProxyNetwork python3 -m pip install -r requirements.txt
|
31 |
RUN $useProxyNetwork python3 -m pip install -r request_llm/requirements_chatglm.txt
|
32 |
+
RUN $useProxyNetwork python3 -m pip install -r request_llm/requirements_newbing.txt
|
33 |
|
34 |
# 预热CHATGLM参数(非必要 可选步骤)
|
35 |
RUN echo ' \n\
|