-
-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mac.dlopen returns null instead of libundreamai_macos-*64-acc.dylib #275
Comments
I noticed OSX BigSur 11.7.10 doesn't have file: /usr/lib/libSystem.dylib |
Thank you for submitting the issue! Line 199 in cdaff02
to private const string SystemLibrary = "libSystem.B.dylib"; works for BigSur? |
I tried this: In build (Player.log) I see errors:
In Unity Editor I tried to click Play button and nothing happened for 5 mins. Also tried this option:
Console output:
|
Could you try without the "/usr/lib/" part as well? |
Sorry, replaced to: UnityEditor doesn't react on input. Player.log of build:
|
maybe with "/usr/lib/libc.dylib" as SystemLibrary? |
Maybe terminal output can help:
tried private const string SystemLibrary = "/usr/lib/libc.dylib";// "libSystem.B.dylib"; |
Also I tried:
tried these options:
I think the “libSystem.B.dylib” library exists, but for some reason it is not visible to me. I don't know why. |
maybe just with "libdl"? |
Doesn't work. Is it possible to get the progress of the LLM's state of readiness to work? For tests I use LLMCharacter.cs, the program freezes at the line with "if(!await InitNKeep())"
|
maybe something else is off if the |
I ran it, but I think the problem is in the libraries. I tried many things, it doesn't help. |
Describe the bug
I tried to run LLM on MacBook Pro:
As far as I see something goes wrong at line 141: handle = Mac.dlopen(libraryName);
handle always contains null even if I manually (during runtime in VS) corrected libraryName for 4 possible options (arm64 or x64).
I used "Meta-Llama-3.1-8B-Instruct-Q4_K_M.gguf"
Steps to reproduce
Just run it on OSX, hit play button and you wil see in console:
LLM service couldn't be created
#0 GetStacktrace(int)
#1 DebugStringToFile(DebugStringToFileData const&)
#2 DebugLogHandler_CUSTOM_Internal_Log(LogType, LogOption, ScriptingBackendNativeStringPtrOpaque*, ScriptingBackendNativeObjectPtrOpaque*)
#3 (Mono JIT Code) (wrapper managed-to-native) UnityEngine.DebugLogHandler:Internal_Log (UnityEngine.LogType,UnityEngine.LogOption,string,UnityEngine.Object)
LLMUnity version
v2.3.0
Operating System
macOs
The text was updated successfully, but these errors were encountered: