mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-08-02 00:28:00 +00:00
chore: add autodl setup script
This commit is contained in:
parent
9d85dab13a
commit
1911e177b4
19
scripts/setup_autodl_env.sh
Normal file
19
scripts/setup_autodl_env.sh
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
eval "$(conda shell.bash hook)"
|
||||||
|
|
||||||
|
source ~/.bashrc
|
||||||
|
|
||||||
|
# source /etc/network_turbo
|
||||||
|
# unset http_proxy && unset https_proxy
|
||||||
|
conda create -n dbgpt python=3.10 -y
|
||||||
|
|
||||||
|
conda activate dbgpt
|
||||||
|
|
||||||
|
apt-get update -y && apt-get install git-lfs -y
|
||||||
|
|
||||||
|
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
|
Loading…
Reference in New Issue
Block a user