Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] [Module Name] Bug title dbgpt_server.py: error: the following arguments are required: --model_path #2258

Open
10 of 15 tasks
chenyb868 opened this issue Dec 27, 2024 · 3 comments
Labels
bug Something isn't working Waiting for reply

Comments

@chenyb868
Copy link

Search before asking

  • I had searched in the issues and found no similar issues.

Operating system information

Linux

Python version information

3.10

DB-GPT version

main

Related scenes

  • Chat Data
  • Chat Excel
  • Chat DB
  • Chat Knowledge
  • Model Management
  • Dashboard
  • Plugins

Installation Information

Device information

GPU:24G

Models information

LLM_MODEL=Qwen2.5-7B-Instruct
EMBEDDING_MODEL=text2vec

What happened

when start the services(python dbgpt/app/dbgpt_server.py),it is error as follows:
Model Unified Deployment Mode!
2024-12-28 00:01:58 autodl-container-07ff4facf2-71e1d84d dbgpt.model.cluster.worker.manager[7854] INFO Register WorkerManager dbgpt_worker_manager_factory
2024-12-28 00:01:58 autodl-container-07ff4facf2-71e1d84d dbgpt.component[7854] INFO Register component with name dbgpt_worker_manager_factory and instance: <dbgpt.model.cluster.worker.manager._DefaultWorkerManagerFactory object at 0x7f123296b550>
usage: dbgpt_server.py [-h] [--model_name MODEL_NAME] --model_path MODEL_PATH [--host HOST] [--port PORT] [--daemon] [--log_level {FATAL,ERROR,WARNING,WARNING,INFO,DEBUG,NOTSET}] [--log_file LOG_FILE] [--tracer_file TRACER_FILE]
[--tracer_to_open_telemetry] [--otel_exporter_otlp_traces_endpoint OTEL_EXPORTER_OTLP_TRACES_ENDPOINT] [--otel_exporter_otlp_traces_insecure] [--otel_exporter_otlp_traces_certificate OTEL_EXPORTER_OTLP_TRACES_CERTIFICATE]
[--otel_exporter_otlp_traces_headers OTEL_EXPORTER_OTLP_TRACES_HEADERS] [--otel_exporter_otlp_traces_timeout OTEL_EXPORTER_OTLP_TRACES_TIMEOUT] [--otel_exporter_otlp_traces_compression OTEL_EXPORTER_OTLP_TRACES_COMPRESSION]
[--worker_type {llm,text2vec}] [--model_alias MODEL_ALIAS] [--worker_class WORKER_CLASS] [--model_type MODEL_TYPE] [--limit_model_concurrency LIMIT_MODEL_CONCURRENCY] [--standalone] [--register]
[--worker_register_host WORKER_REGISTER_HOST] [--controller_addr CONTROLLER_ADDR] [--send_heartbeat] [--heartbeat_interval HEARTBEAT_INTERVAL] [--tracer_storage_cls TRACER_STORAGE_CLS]
dbgpt_server.py: error: the following arguments are required: --model_path

What you expected to happen

the services can started

How to reproduce

start the services:python dbgpt/app/dbgpt_server.py

Additional context

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!
@chenyb868 chenyb868 added bug Something isn't working Waiting for reply labels Dec 27, 2024
@Aries-ckt
Copy link
Collaborator

you start dbgpt server with auto-dl images?

@zhangyichen534
Copy link

我也有这样的问题,我是使用docker-compose启动的

您使用自动 dl 图像启动 dbgpt 服务器吗?

@weideliti
Copy link

源码部署的,报这个错

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Waiting for reply
Projects
None yet
Development

No branches or pull requests

4 participants