QAnything
QAnything copied to clipboard
启动qanything时候报错
是否已有关于该错误的issue或讨论? | Is there an existing issue / discussion for this?
- [X] 我已经搜索过已有的issues和讨论 | I have searched the existing issues / discussions
该问题是否在FAQ中有解答? | Is there an existing answer for this in FAQ?
- [X] 我已经搜索过FAQ | I have searched FAQ
当前行为 | Current Behavior
执行启动qanything报错
期望行为 | Expected Behavior
正常启动
运行环境 | Environment
ljp@DESKTOP-PPJBCOO:~/qanything$ nvidia-smi
Wed Jan 31 16:04:07 2024
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 545.23.07 Driver Version: 546.12 CUDA Version: 12.3 |
|-----------------------------------------+----------------------+----------------------+
| GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|=========================================+======================+======================|
| 0 NVIDIA GeForce RTX 3090 Ti On | 00000000:01:00.0 On | Off |
| 0% 32C P8 23W / 450W | 973MiB / 24564MiB | 1% Default |
| | | N/A |
+-----------------------------------------+----------------------+----------------------+
+---------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=======================================================================================|
| 0 N/A N/A 37 G /Xwayland N/A |
| 0 N/A N/A 38 G /Xwayland N/A |
| 0 N/A N/A 52 G /Xwayland N/A |
+---------------------------------------------------------------------------------------+
QAnything日志 | QAnything logs
ljp@DESKTOP-PPJBCOO:~/qanything$ sudo bash run.sh model_size=7B GPUID1=0, GPUID2=0, device_id=0 run.sh: line 107: nvidia-smi: command not found GPU1 Model: Compute Capability: null OCR_USE_GPU=False because null >= 7.5 run.sh: line 137: nvidia-smi: command not found
******************** 重要提示 ********************
run.sh: line 145: [: : integer expression expected run.sh: line 152: [: : integer expression expected run.sh: line 159: [: : integer expression expected run.sh: line 166: [: : integer expression expected run.sh: line 209: [: : integer expression expected run.sh: line 216: [: : integer expression expected llm_api is set to [local] device_id is set to [0] runtime_backend is set to [default] model_name is set to [] conv_template is set to [] tensor_parallel is set to [1] gpu_memory_utilization is set to [0.81] models 文件夹已存在,无需下载。 检查模型版本成功,当前版本为 v2.1.0。 Model directories check passed. (0/8) 模型路径和模型版本检查通过. (0/8) Do you want to use the previous host: localhost? (yes/no) 是否使用上次的host: localhost?(yes/no) 回车默认选yes,请输入:Running under WSL network qanything_milvus_mysql_local was found but has incorrect label com.docker.compose.network set to "qanything_milvus_mysql_local"
复现方法 | Steps To Reproduce
自己的操作记录博客,有完整记录 https://blog.csdn.net/weixin_43714435/article/details/135952345?csdn_share_tail=%7B%22type%22%3A%22blog%22%2C%22rType%22%3A%22article%22%2C%22rId%22%3A%22135952345%22%2C%22source%22%3A%22weixin_43714435%22%7D
备注 | Anything else?
No response
After reading your blog, have you modified the run.sh script? If so, please revert it to the original version. Regarding the issue of 'Error: bc command does not exist, please use sudo apt-get install bc to install and then restart.', you can try this command: sudo apt update && sudo apt-get install bc.
After reading your blog, have you modified the run.sh script? If so, please revert it to the original version. Regarding the issue of 'Error: bc command does not exist, please use sudo apt-get install bc to install and then restart.', you can try this command: sudo apt update && sudo apt-get install bc.
sorry,Maybe my blog didn't explain the problem clearly, and I ended up getting stuck on this issue:
The problem with BC had already been resolved at that time,So could you please take a look at this issue again? Also, run.sh has not been modified.
thanks for your reply!
I have the same problem. Wait for the answer.
出现同样的问题
@Cordy27 @shyjiapeng I solved the problem. I used docker-ce from tsinghua mirror before.
When I followed the steps of readme.md
of QAnything, I installed the docker desktop and removed docker-ce. The problem did not appear any more.
Just have a try.
@Cordy27 @shyjiapeng I solved the problem. I used docker-ce from tsinghua mirror before.
When I followed the steps of
readme.md
of QAnything, I installed the docker desktop and removed docker-ce. The problem did not appear any more.Just have a try.
It works for me. Thank you.
@Cordy27 @shyjiapeng I solved the problem. I used docker-ce from tsinghua mirror before.
When I followed the steps of
readme.md
of QAnything, I installed the docker desktop and removed docker-ce. The problem did not appear any more.Just have a try.
thanks for your reply,but i don‘t have docker-ce: ljp@DESKTOP-PPJBCOO:/mnt/c/Windows/system32$ sudo apt-get remove docker-ce [sudo] password for ljp: Sorry, try again. [sudo] password for ljp: Reading package lists... Done Building dependency tree... Done Reading state information... Done Package 'docker-ce' is not installed, so not removed 0 upgraded, 0 newly installed, 0 to remove and 23 not upgraded.
If you have any different operations, please contact me
@Cordy27 @shyjiapeng I solved the problem. I used docker-ce from tsinghua mirror before. When I followed the steps of
readme.md
of QAnything, I installed the docker desktop and removed docker-ce. The problem did not appear any more. Just have a try.thanks for your reply,but i don‘t have docker-ce: ljp@DESKTOP-PPJBCOO:/mnt/c/Windows/system32$ sudo apt-get remove docker-ce [sudo] password for ljp: Sorry, try again. [sudo] password for ljp: Reading package lists... Done Building dependency tree... Done Reading state information... Done Package 'docker-ce' is not installed, so not removed 0 upgraded, 0 newly installed, 0 to remove and 23 not upgraded.
If you have any different operations, please contact me
It is not a common problem and just few people find the error. I think if we just follow the process of guidelines, it will get solved.
By another word, I faced another problem after remove docker-ce
. I reinstall the docker-ce
and CUDA
packages and lastly it works. I don't know why. Perhaps the data from my past application of docker influenced QAnything.
After reading your blog, have you modified the run.sh script? If so, please revert it to the original version. Regarding the issue of 'Error: bc command does not exist, please use sudo apt-get install bc to install and then restart.', you can try this command: sudo apt update && sudo apt-get install bc.
sorry,Maybe my blog didn't explain the problem clearly, and I ended up getting stuck on this issue:
The problem with BC had already been resolved at that time,So could you please take a look at this issue again? Also, run.sh has not been modified.
thanks for your reply!
same issue as this