Open magicwang1111 opened 1 year ago
V100 WINDOWS10
I have the same error, stuck here for a whole day now. I have checked nvidia driver, cuda, cudnn, torch, torchvisioin, all checked out fine. I am using the Windows implementation with code from https://github.com/Keith-Hon/bitsandbytes-windows.
My problem solved. It was the non-proper installation of bitsandbytes package. I did an uninstall and then: pip install https://github.com/acpopescu/bitsandbytes/releases/download/v0.37.2-win.1/bitsandbytes-0.37.2-py3-none-any.whl
Then the MiniGPT-4 can start without any futher error message.
Thanks to the redit post by @oobabooga. https://www.reddit.com/r/Oobabooga/comments/12eniem/bitsandbytes_now_for_windows_8bit_cuda_functions/
Magic Wang同学:我估计你也是按照《MiniGPT-4本地部署,纯新手小白踩过的坑》一文部署的Windows安装,他文中装bitsandbytes组件的那一步可能有问题,所以删了按上面的语句重装一遍,我遇到的问题就解决了。希望对你也有帮助。
那篇指南还是很棒的,引导我这个小白走到了最后一步,不然再Ubuntu上自行安装,虽然有ChatGPT助力也很难,我已经在Ubuntu上浪费了一天放弃了。
maybe the torch version doesn't support your cuda version. offical torch version only support cuda10.2, but yours is 11.above, so just upgrade torch version, it gonna work.
My problem solved. It was the non-proper installation of bitsandbytes package. I did an uninstall and then: pip install https://github.com/acpopescu/bitsandbytes/releases/download/v0.37.2-win.1/bitsandbytes-0.37.2-py3-none-any.whl
Then the MiniGPT-4 can start without any futher error message.
Thanks to the redit post by @oobabooga. https://www.reddit.com/r/Oobabooga/comments/12eniem/bitsandbytes_now_for_windows_8bit_cuda_functions/
Magic Wang同学:我估计你也是按照《MiniGPT-4本地部署,纯新手小白踩过的坑》一文部署的Windows安装,他文中装bitsandbytes组件的那一步可能有问题,所以删了按上面的语句重装一遍,我遇到的问题就解决了。希望对你也有帮助。
那篇指南还是很棒的,引导我这个小白走到了最后一步,不然再Ubuntu上自行安装,虽然有ChatGPT助力也很难,我已经在Ubuntu上浪费了一天放弃了。
nice! it work for me
你好请问您解决了吗 遇到了同样的问题!Hello, have you solved it? I encountered the same problem!
binary_path: C:\AIGC\MiniGPT-4\bitsandbytes-windows\bitsandbytes\cuda_setup\libbitsandbytes_cuda116.dll CUDA SETUP: Loading binary C:\AIGC\MiniGPT-4\bitsandbytes-windows\bitsandbytes\cuda_setup\libbitsandbytes_cuda116.dll... Loading checkpoint shards: 0%| | 0/3 [00:00<?, ?it/s]Error no kernel image is available for execution on the device at line 479 in file D:\ai\tool\bitsandbytes\csrc\ops.cu
(minigpt4) C:\AIGC\MiniGPT-4>