Skip to content

[Bug] [StartUp] Cannot run proxy mode(siliconflow) on a computer with No NVIDIA graphics AND CUDA toolkit #2429

@su1234121

Description

@su1234121

Search before asking

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

Operating system information

Linux

Python version information

=3.11

DB-GPT version

main

Related scenes

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

Installation Information

Device information

Device CPU

Models information

Qwen/Qwen2.5-Coder-32B-Instruct
BAAI/bge-large-zh-v1.5
BAAI/bge-reranker-v2-m3

What happened

Starting from version 243e981, there is an error message when starting up. Please refer to #2396 for the error issue, After the update to d5a2a0b, I was able to run the project normally and start it on a computer with NVIDIA graphics card and CUDA driver. The next day, due to debugging needs, I pulled the latest version (3bd75d8) on my laptop which is lack of CUDA driver and graphics card on it, which was 3bd75d8 at the time. I thought it was this update that caused the startup problem to recur but have no idea to resolve it. Even today, it has been updated to 93eb3a7. The laptop has also pulled the latest version, but it still starts with an error. I realized that it may be due to the lack of CUDA driver and graphics card on the machine itself. However, this proxy mode startup method should not use CUDA, so I pulled the latest version again on a machine with graphics card for testing. After checking if it can start, I found that it is possible, so I discovered this issue: it will not start on machines without NVIDIA graphics cards and CUDA ToolKit.
By the way, the errors in related #2404 may be caused by the same reason。

What you expected to happen

Based on my understanding of the project introduction video, it should be possible to start in full proxy mode on machines without CUDA or NVIDIA graphics cards

How to reproduce

just find a laptop with no NVIDIA AND CUDA

Additional context

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions