-
Notifications
You must be signed in to change notification settings - Fork 11.2k
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
Manual CLBlast device and platform number #1368
Comments
It should be possible to set the |
There are two environment variables you can set: (Personally I think there should be a command line argument, and it's not really CLBlast that it's controlling, but OpenCL in general. CUDA doesn't have any way to control the GPU selection right now, @slaren?) |
The environment variable |
Thanks @SlyEcho for the info. I also think that a command line argument would be the best but I guess that for now I can just close the issue. |
Using CLBlast on some devices (like my Radeon 5700XT) the program defaults to device id 0 and platform id 0, that causes the following error:
When I manually edit the platform id inside the source to 1 however makes the program behave as expected using the GPU for the prompt evaluation:
My suggestion is to add a launch option to manually choose the desired platform and device id similarly to the --useclblast option of koboldcpp.
The text was updated successfully, but these errors were encountered: