Skip to content
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

CUDA doesnt work when compiling for windows, Unity 6, Nvidia #307

Open
captainzero93 opened this issue Jan 25, 2025 · 1 comment · May be fixed by #303
Open

CUDA doesnt work when compiling for windows, Unity 6, Nvidia #307

captainzero93 opened this issue Jan 25, 2025 · 1 comment · May be fixed by #303
Labels
bug Something isn't working

Comments

@captainzero93
Copy link

captainzero93 commented Jan 25, 2025

Describe the bug

Correctly loads the model when I am in the Unity play mode but when compiled it reverts to CPU and is too slow to load. I've tried to clean the projects, re-import LLMUnity, I've tried taking the .dlls from the streamed folders with the build and placing them with the compiled .exe but nothing seems to work !

May be worth noting I've enabled 'extras' since it's an iquant model (LLama3 Based )

No errors in the build log or warnings!

LLMUnity version

v2.4.1

Operating System

Windows

Specs:

Windows 11 LTSC
Unity 6
4070 12gb VRAM ( GGUF model is only 2gb)
32GB DDR4

note; I also tried installing the specific version of CUDA locally but I don't think this is the issue ( and it did not resolve the issue with the windows build )

@captainzero93 captainzero93 added the bug Something isn't working label Jan 25, 2025
@amakropoulos
Copy link
Collaborator

Yes you are right, I realised that last week.
The issue was actually very simple:
In the build I deploy only the "full" DLLs but I don't save that it should use those instead of the default DLLs.
It is fixed with this PR.
It will be released with v2.4.2 this week.

@amakropoulos amakropoulos linked a pull request Jan 27, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants