DB-GPT icon indicating copy to clipboard operation
DB-GPT copied to clipboard

Expected all tensors to be on the same device, but found at least two devices, cpu and cuda:0! (when checking argument for argument mat2 in method wrapper_CUDA_addmm

Open NixerSo5 opened this issue 10 months ago • 1 comments

Search before asking

  • [X] 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

  • [X] Chat Data
  • [X] Chat Excel
  • [X] Chat DB
  • [X] Chat Knowledge
  • [X] Model Management
  • [ ] Dashboard
  • [ ] Plugins

Installation Information

Device information

GPU Count:1 GPU M:24G

Models information

LLM:chatGLM3 6b

What happened

Expected all tensors to be on the same device, but found at least two devices, cpu and cuda:0! (when checking argument for argument mat2 in method wrapper_CUDA_addmm

What you expected to happen

input "hello" and press enter Expected all tensors to be on the same device, but found at least two devices, cpu and cuda:0! (when checking argument for argument mat2 in method wrapper_CUDA_addmm

How to reproduce

Expected all tensors to be on the same device, but found at least two devices, cpu and cuda:0! (when checking argument for argument mat2 in method wrapper_CUDA_addmm

Additional context

No response

Are you willing to submit PR?

  • [ ] Yes I am willing to submit a PR!

NixerSo5 avatar Apr 22 '24 08:04 NixerSo5

found same Issue.

johnson7788 avatar May 13 '24 03:05 johnson7788

This issue has been marked as stale, because it has been over 30 days without any activity.

github-actions[bot] avatar Jun 12 '24 21:06 github-actions[bot]

This issue bas been closed, because it has been marked as stale and there has been no activity for over 7 days.

github-actions[bot] avatar Jun 19 '24 21:06 github-actions[bot]