DB-GPT
DB-GPT copied to clipboard
[Bug] why device is GPU when os is windows
Search before asking
- [X] I had searched in the issues and found no similar issues.
Operating system information
Windows
Python version information
3.10
DB-GPT version
latest release
Related scenes
- [ ] Chat Data
- [ ] Chat Excel
- [ ] Chat DB
- [ ] Chat Knowledge
- [ ] Model Management
- [ ] Dashboard
- [ ] Plugins
Installation Information
-
[ ] AutoDL Image
-
[ ] Other
Device information
Device:CPU
Models information
LLM:chatglm3-6b Emb:bge
What happened
在我启动项目的时候,提示我:Current platform is windows, use avx2 as default cpu architecture 我的系统是windows平台,有GPU,如何在windows平台上也可以使用GPU?
What you expected to happen
我的系统是windows平台,有GPU,如何在windows平台上也可以使用GPU?
How to reproduce
1
Additional context
No response
Are you willing to submit PR?
- [X] Yes I am willing to submit a PR!
我也遇到了这个问题,解决方法是在官方安装完之后,去pytorch官网 再安装一遍,就过来了,并且一定要用conda,用pip的话不会删除原来的cpu版的pytorch(conda install pytorch torchvision torchaudio pytorch-cuda=11.8 -c pytorch -c nvidia)
我也遇到了这个问题,解决方法是在官方安装完之后,去pytorch官网 再安装一遍,就过来了,并且一定要用conda,用pip的话不会删除原来的cpu版的pytorch(conda install pytorch torchvision torchaudio pytorch-cuda=11.8 -c pytorch -c nvidia)
我是在windows的conda3虚拟环境下创建的
我也遇到了这个问题,解决方法是在官方安装完之后,去pytorch官网 再安装一遍,就过来了,并且一定要用conda,用pip的话不会删除原来的cpu版的pytorch(conda install pytorch torchvision torchaudio pytorch-cuda=11.8 -c pytorch -c nvidia)
我是在windows的conda3虚拟环境下创建的
我的意思是重装pytorch
我也遇到了这个问题,解决方法是在官方安装完之后,去pytorch官网 再安装一遍,就过来了,并且一定要用conda,用pip的话不会删除原来的cpu版的pytorch(conda install pytorch torchvision torchaudio pytorch-cuda=11.8 -c pytorch -c nvidia)
我是在windows的conda3虚拟环境下创建的
我的意思是重装pytorch
我用你的这个conda安装之后再启动就报错了
This issue has been marked as stale
, because it has been over 30 days without any activity.
This issue bas been closed, because it has been marked as stale
and there has been no activity for over 7 days.