refactor: The first refactored version for sdk release (#907)

Co-authored-by: chengfangyin2 <chengfangyin3@jd.com>
This commit is contained in:
FangYin Cheng
2023-12-08 14:45:59 +08:00
committed by GitHub
parent e7e4aff667
commit cd725db1fb
573 changed files with 2094 additions and 3571 deletions

View File

@@ -32,10 +32,10 @@ Optionally, you can also specify the gpu ID to use before the starting command,
````shell
# Specify 1 gpu
CUDA_VISIBLE_DEVICES=0 python3 pilot/server/dbgpt_server.py
CUDA_VISIBLE_DEVICES=0 python3 dbgpt/app/dbgpt_server.py
# Specify 4 gpus
CUDA_VISIBLE_DEVICES=3,4,5,6 python3 pilot/server/dbgpt_server.py
CUDA_VISIBLE_DEVICES=3,4,5,6 python3 dbgpt/app/dbgpt_server.py
````
You can modify the setting `MAX_GPU_MEMORY=xxGib` in `.env` file to configure the maximum memory used by each GPU.

View File

@@ -373,7 +373,7 @@ bash ./scripts/examples/load_examples.sh
## Run service
The DB-GPT service is packaged into a server, and the entire DB-GPT service can be started through the following command.
```python
python pilot/server/dbgpt_server.py
python dbgpt/app/dbgpt_server.py
```
## Visit website

View File

@@ -152,7 +152,7 @@ bash ./scripts/examples/load_examples.sh
## Run service
```python
python pilot/server/dbgpt_server.py
python dbgpt/app/dbgpt_server.py
```