KoboldAI / KoboldAI-Client

For GGUF support, see KoboldCPP: https://github.com/LostRuins/koboldcpp
https://koboldai.com
GNU Affero General Public License v3.0
3.46k stars 747 forks source link

Kobold AI won't start #360

Closed slimetunnel closed 1 year ago

slimetunnel commented 1 year ago

Hi! I looked this up by copy and pasting the whole thing, but here's what's up.

Runtime launching in B: drive mode Traceback (most recent call last): File "aiserver.py", line 30, in import attention_bias File "C:\KoboldAI\attention_bias.py", line 16, in import torch File "B:\python\lib\site-packages\torch__init__.py", line 122, in raise err OSError: [WinError 127] The specified procedure could not be found. Error loading "B:\python\lib\site-packages\torch\lib\nvfuser_codegen.dll" or one of its dependencies. (base) C:\KoboldAI>

How do I fix this or get around it?

Mat4Shell commented 1 year ago

Hi ! I have the same problem after installing Kobold AI with the offline installer. I have the impression that the script will look for a file 'init.py" in the B:\ disk but which does not exist and which should not be selected because you installed it on the C:\ disk ( and personally I installed it on my H:\ drive) so I think there is an error in the code that causes inference_model.py to look for the torch module but to locate it on disk B:\ but which does not exist... Capture d'écran 2023-08-11 214525

Mat4Shell commented 1 year ago

Okay I managed to fix it for me:

henk717 commented 1 year ago

This is indeed normal, United needs the offline installer snapshots until 2.0 is out.