mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-05 19:11:52 +00:00
feat(core): Enhance server request processing performance
This commit is contained in:
@@ -35,15 +35,14 @@ clone_repositories() {
|
||||
cd /root && git clone https://github.com/eosphoros-ai/DB-GPT.git
|
||||
mkdir -p /root/DB-GPT/models && cd /root/DB-GPT/models
|
||||
git clone https://huggingface.co/GanymedeNil/text2vec-large-chinese
|
||||
git clone https://huggingface.co/THUDM/chatglm2-6b-int4
|
||||
git clone https://huggingface.co/THUDM/chatglm2-6b
|
||||
rm -rf /root/DB-GPT/models/text2vec-large-chinese/.git
|
||||
rm -rf /root/DB-GPT/models/chatglm2-6b-int4/.git
|
||||
rm -rf /root/DB-GPT/models/chatglm2-6b/.git
|
||||
}
|
||||
|
||||
install_dbgpt_packages() {
|
||||
conda activate dbgpt && cd /root/DB-GPT && pip install -e . && cp .env.template .env
|
||||
cp .env.template .env && sed -i 's/LLM_MODEL=vicuna-13b-v1.5/LLM_MODEL=chatglm2-6b-int4/' .env
|
||||
|
||||
conda activate dbgpt && cd /root/DB-GPT && pip install -e ".[default]"
|
||||
cp .env.template .env && sed -i 's/LLM_MODEL=vicuna-13b-v1.5/LLM_MODEL=chatglm2-6b/' .env
|
||||
}
|
||||
|
||||
clean_up() {
|
||||
|
Reference in New Issue
Block a user