mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-08-11 21:22:28 +00:00
Update: python version set 3.10
This commit is contained in:
parent
69b34f176a
commit
e0b72867cb
@ -15,7 +15,7 @@ RUN pip install -r requirements.txt
|
|||||||
EXPOSE 3306
|
EXPOSE 3306
|
||||||
EXPOSE 8000
|
EXPOSE 8000
|
||||||
|
|
||||||
CMD ["python", "pilot/server/vicuna_server.py"]
|
CMD ["python", "pilot/server/llmserver.py"]
|
||||||
CMD ["python", "pilot/server/webserver.py"]
|
CMD ["python", "pilot/server/webserver.py"]
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
version: '3.9'
|
version: '3.10'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
db-gpt:
|
db-gpt:
|
||||||
|
@ -4,7 +4,7 @@ channels:
|
|||||||
- defaults
|
- defaults
|
||||||
- anaconda
|
- anaconda
|
||||||
dependencies:
|
dependencies:
|
||||||
- python=3.9
|
- python=3.10
|
||||||
- cudatoolkit
|
- cudatoolkit
|
||||||
- pip
|
- pip
|
||||||
- pytorch-mutex=1.0=cuda
|
- pytorch-mutex=1.0=cuda
|
||||||
|
2
run.sh
2
run.sh
@ -15,7 +15,7 @@ function find_python_command() {
|
|||||||
|
|
||||||
PYTHONCMD=$(find_python_command)
|
PYTHONCMD=$(find_python_command)
|
||||||
|
|
||||||
nohup PYTHONCMD pilot/server/vicuna_server.py >> /root/server.log 2>&1 &
|
nohup PYTHONCMD pilot/server/llmserver.py >> /root/server.log 2>&1 &
|
||||||
while [ `grep -c "Uvicorn running on" /root/server.log` -eq '0' ];do
|
while [ `grep -c "Uvicorn running on" /root/server.log` -eq '0' ];do
|
||||||
sleep 1s;
|
sleep 1s;
|
||||||
echo "wait server running"
|
echo "wait server running"
|
||||||
|
Loading…
Reference in New Issue
Block a user