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

Replace hardcoded tweaks to llama.cpp with a more permanent solution #2

Closed
nsarrazin opened this issue Mar 21, 2023 · 1 comment · Fixed by #14
Closed

Replace hardcoded tweaks to llama.cpp with a more permanent solution #2

nsarrazin opened this issue Mar 21, 2023 · 1 comment · Fixed by #14

Comments

@nsarrazin
Copy link
Member

Currently the compiled llama.cpp binary we use only supports alpaca. The source had to be modified to accept a model as a single file (alpaca 13B is a single file, as opposed to the 2-part model expected for LLaMa 13B). But doing so breaks compatibility for other LLaMa based models.

Relevant changes here.
https://github.com/nsarrazin/serge/blob/a837ea48e017289a21a9574b0fe862f541874a14/api/Dockerfile.api#L18-L20

We could make this more generic, but maybe it needs to be handled in llama.cpp instead ? Not sure yet.

@nsarrazin
Copy link
Member Author

Looks like I spoke too soon, still need this fix for loading the 13B model.

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 a pull request may close this issue.

1 participant