-
-
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
Android build not work #295
Comments
Posting here as well 🙂: |
i did it and now I have more errors: Could not find a part of the path "C:\OFFLINEPROJECTS\MACELLAZIONE\NEWLLMTesting\LLMANDROID\Assets\StreamingAssets\undreamai-v1.2.1-llamacpp\setup\undreamai-v1.2.1-llamacpp.zip.complete". and IOException: Cannot create a file when that file already exists and Autoconnected Player "Autoconnected Player" DllNotFoundException: libundreamai_android assembly: type: member:(null) and Autoconnected Player "Autoconnected Player" DllNotFoundException: libundreamai_android assembly: type: member:(null) at LLMUnity.LLM.Awake () [0x0013f] in C:\OFFLINEPROJECTS\MACELLAZIONE\NEWLLMTesting\LLMANDROID\Assets\LLMUnity\Runtime\LLM.cs:132 |
can you also try this folder: |
I deleted the folder and I tried with a new project but I still get the same issue :( |
nevermind, after 4 times i tried to use unity 2023 and it worked as aspected! |
little update: on the RAGAndLLM_Scene, if I use for: the model: it works, but If I use a larger model on I get this error, How can I discover what it is and how to solve? ArgumentException: Vector lengths must be equal for dot product calculation |
The embeddings need to be recalculated because you changed the model, |
Describe the bug
Hi I tried on android mobile with the model https://huggingface.co/hugging-quants/Llama-3.2-1B-Instruct-Q4_K_M-GGUF/resolve/main/llama-3.2-1b-instruct-q4_k_m.gguf
But I get these errors:
AndroidPlayer "samsung_SM-G973F" DllNotFoundException: libundreamai_android assembly: type: member:(null)
at (wrapper managed-to-native) LLMUnity.LLMLib.LLM_StartStatic(intptr)
at LLMUnity.LLMLib.LLM_Start (System.IntPtr LLMObject) [0x00001] in C:\OFFLINEPROJECTS\MACELLAZIONE\NEWLLMTesting\LLMANDROID\Assets\LLMUnity\Runtime\LLMLib.cs:436
at LLMUnity.LLM.b__81_0 () [0x00000] in C:\OFFLINEPROJECTS\MACELLAZIONE\NEWLLMTesting\LLMANDROID\Assets\LLMUnity\Runtime\LLM.cs:544
at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00014] in :0
at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00071] in :0
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in :0
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x0002b] in :0
at System.Threading.ThreadHelper.ThreadStart () [0x00008] in :0
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
UnityEngine.<>c:b__0_0(Object, UnhandledExceptionEventArgs) (at /home/bokken/build/output/unity/unity/Runtime/Export/Scripting/UnhandledExceptionHandler.bindings.cs:46)
LLMUnity.LLMLib:LLM_StartStatic(IntPtr)
LLMUnity.LLMLib:LLM_Start(IntPtr) (at C:\OFFLINEPROJECTS\MACELLAZIONE\NEWLLMTesting\LLMANDROID\Assets\LLMUnity\Runtime\LLMLib.cs:436)
LLMUnity.LLM:b__81_0() (at C:\OFFLINEPROJECTS\MACELLAZIONE\NEWLLMTesting\LLMANDROID\Assets\LLMUnity\Runtime\LLM.cs:544)
System.Threading.ThreadHelper:ThreadStart_Context(Object)
System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean)
System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object, Boolean)
System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object)
System.Threading.ThreadHelper:ThreadStart()
and
Autoconnected Player "Autoconnected Player" DllNotFoundException: libundreamai_android assembly: type: member:(null)
at (wrapper managed-to-native) LLMUnity.LLMLib.LLM_StartStatic(intptr)
at LLMUnity.LLMLib.LLM_Start (System.IntPtr LLMObject) [0x00001] in C:\OFFLINEPROJECTS\MACELLAZIONE\NEWLLMTesting\LLMANDROID\Assets\LLMUnity\Runtime\LLMLib.cs:436
at LLMUnity.LLM.b__81_0 () [0x00000] in C:\OFFLINEPROJECTS\MACELLAZIONE\NEWLLMTesting\LLMANDROID\Assets\LLMUnity\Runtime\LLM.cs:544
at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00014] in :0
at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00071] in :0
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in :0
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x0002b] in :0
at System.Threading.ThreadHelper.ThreadStart () [0x00008] in :0
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
UnityEngine.<>c:b__0_0(Object, UnhandledExceptionEventArgs) (at /home/bokken/build/output/unity/unity/Runtime/Export/Scripting/UnhandledExceptionHandler.bindings.cs:46)
LLMUnity.LLMLib:LLM_StartStatic(IntPtr)
LLMUnity.LLMLib:LLM_Start(IntPtr) (at C:\OFFLINEPROJECTS\MACELLAZIONE\NEWLLMTesting\LLMANDROID\Assets\LLMUnity\Runtime\LLMLib.cs:436)
LLMUnity.LLM:b__81_0() (at C:\OFFLINEPROJECTS\MACELLAZIONE\NEWLLMTesting\LLMANDROID\Assets\LLMUnity\Runtime\LLM.cs:544)
System.Threading.ThreadHelper:ThreadStart_Context(Object)
System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean)
System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object, Boolean)
System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object)
System.Threading.ThreadHelper:ThreadStart()
Steps to reproduce
just downloaded the package, downloaded the model and builded the mobile scene
LLMUnity version
No response
Operating System
None
The text was updated successfully, but these errors were encountered: