Closed sonnyky closed 6 months ago
If you just add a package via unity Package Manager as per readme instructions, it will care about everything.
If you are manually cloning the repo, make sure git lfs is installed.
git lfs install
To fetch files from git lfs
git lfs fetch
Most git ui like Git Kraken or SourceTree or will do this automatically.
Thanks for the response. The title may be misleading. The dll file is there, but Unity is not loading it because of "missing dependencies"
If we go ahead and run the project, it will spawn the dll not found error.
I'm having the same issue.
How was this DLL generated or is it just the one from llama.cpp from the official build ? Which llama.cpp commit ?
@batmanonline it is the dll that came from the official build, when doing the install from the git URL. I assume it is the master branch? since I just followed the instructions to install from the git URL.
Sorry everyone, for my response taking so long. I had no free time recently due to becoming a father :)
How was this DLL generated or is it just the one from llama.cpp from the official build ? Which llama.cpp commit ?
The version is b1536 any dll from that version will work, I hope I'll have some time to update the bridge. But I recommend using https://github.com/SciSharp/LLamaSharp it has much better support that I can provide.
@batmanonline it is the dll that came from the official build, when doing the install from the git URL. I assume it is the master branch? since I just followed the instructions to install from the git URL.
The version was b1536 and current master have different struct layouts, so if you take dll from the newest version, it won't work
@sonnyky My bad, I forgot to add ggml_shared.dll Fixed
When I run the Test.prefab, I get the error: DLL not found. When the Editor launches it always shows an error saying llama.dll is not loaded because of missing dependencies. I'm on Windows 11. Can you share the native code as well?