From d5b4d7ab90ddb7f675e36f53aaece27b399e784c Mon Sep 17 00:00:00 2001 From: binary-husky Date: Mon, 14 Aug 2023 11:28:52 +0800 Subject: [PATCH] better github action --- docs/GithubAction+ChatGLM+Moss | 2 +- docs/GithubAction+JittorLLMs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/GithubAction+ChatGLM+Moss b/docs/GithubAction+ChatGLM+Moss index ece19d6..27b884b 100644 --- a/docs/GithubAction+ChatGLM+Moss +++ b/docs/GithubAction+ChatGLM+Moss @@ -13,7 +13,7 @@ RUN curl -sS https://bootstrap.pypa.io/get-pip.py | python3.8 RUN python3 -m pip install torch --extra-index-url https://download.pytorch.org/whl/cu113 # 下载分支 WORKDIR /gpt -RUN git clone https://github.com/binary-husky/chatgpt_academic.git +RUN git clone --depth=1 https://github.com/binary-husky/gpt_academic.git WORKDIR /gpt/chatgpt_academic RUN git clone https://github.com/OpenLMLab/MOSS.git request_llm/moss RUN python3 -m pip install -r requirements.txt diff --git a/docs/GithubAction+JittorLLMs b/docs/GithubAction+JittorLLMs index 8efde5f..45da1df 100644 --- a/docs/GithubAction+JittorLLMs +++ b/docs/GithubAction+JittorLLMs @@ -13,7 +13,7 @@ RUN python3 -m pip install torch --extra-index-url https://download.pytorch.org/ # 下载分支 WORKDIR /gpt -RUN git clone https://github.com/binary-husky/chatgpt_academic.git +RUN git clone --depth=1 https://github.com/binary-husky/gpt_academic.git WORKDIR /gpt/chatgpt_academic RUN python3 -m pip install -r requirements.txt RUN python3 -m pip install -r request_llm/requirements_chatglm.txt