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

use LLAMAFILE_GPU_ERROR instead of LLAMAFILE_GPU_DISABLE for invalid GPU flag error #291

Merged

Conversation

amakropoulos
Copy link
Contributor

In the GPU argument parsing of the llama.cpp server, the FLAG_gpu is considered an error if it is equal to -1.
However the correct value of error should be -2 according to:

#define LLAMAFILE_GPU_ERROR -2

@jart
Copy link
Collaborator

jart commented Apr 13, 2024

Thank you!

@jart jart merged commit 70c7863 into Mozilla-Ocho:main Apr 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants