Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(1 edit)

So an update:

Repeated the steps, ran the program as administrator, and everything downloaded as you specified. However, like the last few times, it runs its program and at the end it displays "unhandled exception" or something and the window closes. Now I'm staring at the same screen for "failed to load AI model". I'm not even sure where to start or what to do, haha. No experience with this AI stuff.

EDIT:

Do you have a discord server or something for faster troubleshooting experience? If not, this is fine.

(+1)

I've added a build that uses a more recent version of KoboldCPP. It might fix the issue.
If it doesn't fix it, open a command prompt inside the KoboldCPP folder like on the screenshot

Then run:

--model "full path to the model.gguf file here with one set of quotation marks" --usevulkan --gpulayers 43 --quiet --multiuser 100 --skiplauncher --highpriority

Which will show you the full error instead of closing the window when the exception happens.
Since windows doesn't seem to provide a way to capture the output of processes without redirecting it and hiding the command prompt completely, the game can't display the actual error by itself.

This is the error I get when I copy and paste your command in. Additionally, no, the recent update didn't help. It appears to be the same error I pasted earlier with an unhandled exception. I'm curious as to if windows is blocking this program from running somehow.

(+1)

Oops, I forgot the koboldcpp.exe before the arguments, but yes, you already posted the error. There's a single search result which turned out to be blasbatchsize related, but blasbatchsize defaults to 512 for Vulkan which isn't a problem.

You can try this which uses OpenCL instead of Vulkan:

koboldcpp.exe --model "full path to the model.gguf file here with one set of quotation marks" --useclblast 0 0 --gpulayers 43 --quiet --multiuser 100 --skiplauncher --highpriority

Otherwise I'm out of ideas other than a driver update since it's an unspecified exception.

So this is the error I get now. When I run the game it still provides "unhandled exception".


I managed to catch this last bit. I'm noticing at the beginning, let me see if I can manage a screenshot of what it's loading also:


You could try moving the entire game folder to a users folder like downloads so it doesn't need any special permissions, though I don't think that's the problem since it looks like it's creating an access violation trying to read from a 64 bit memory adress.
I can't say anything about this beyond that since searching for this problem doesn't really return anything of substance, and KoboldCPP is third-party software which I didn't develop.


"full path to the model.gguf file here with one set of quotation marks" should be replaced with "G:\Silverpine Alpha 0.9.1 Experimental\Silverpine_Data\StreamingAssets\KoboldCPP\model.gguf" here, assuming you didn't move the folder.

Thanks, yeah, I tried from downloads and it still did the same. I'm beyond confused I guess. I'm not sure what to do Haha.

(+1)

Did you try it with OpenCL and the proper model path?

Hey!

So I got it working by opening the kobold program first and utilize CLBlast, and the graphics card to a 1030 (which I don't have). It's odd. It connects to localhost and opens up KoboldAI Lite in my browser. So....yeah, it works, but...I don't know what I did honestly. Can't launch the game solo though, program won't start unless I manually input the variables.