Source Code Deployment
Environmental requirements
Startup Mode | CPU * MEM | GPU | Remark |
---|---|---|---|
Proxy model | 4C * 8G | None | Proxy model does not rely on GPU |
Local model | 8C * 32G | 24G | It is best to start locally with a GPU of 24G or above |
Download source code
提示
Download DB-GPT
git clone https://github.com/eosphoros-ai/DB-GPT.git
Miniconda environment installation
- The default database uses SQLite, so there is no need to install a database in the default startup mode. If you need to use other databases, you can read the advanced tutorials below. We recommend installing the Python virtual environment through the conda virtual environment. For the installation of Miniconda environment, please refer to the Miniconda installation tutorial.
提示
Create a Python virtual environment
python >= 3.10
conda create -n dbgpt_env python=3.10
conda activate dbgpt_env
# it will take some minutes
pip install -e ".[default]"
提示
Copy environment variables
cp .env.template .env