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

Building with latest version of llama.cpp #90

Open
cooperll opened this issue May 27, 2024 · 3 comments
Open

Building with latest version of llama.cpp #90

cooperll opened this issue May 27, 2024 · 3 comments

Comments

@cooperll
Copy link

On adding llama_cpp-rs to my Cargo.toml, llama.cpp seems to be locked to an older version. I'm trying to use Phi-3 128k in a project and I'm unable to because the PR that was merged into llama.cpp about two weeks ago.

Is there an easy way to make sure that llama_cpp-rs is using the latest llama.cpp commit?

@vargad
Copy link

vargad commented May 29, 2024

I just open a PR: #91

In the meantime, if you want to try it out, just put this in the Cargo.toml:
llama_cpp = { git = "https://github.com/vargad/llama_cpp-rs.git", branch = "bump_3038" }

I only tested Phi3 4K model, that works with the change above.

@cooperll
Copy link
Author

cooperll commented Jun 3, 2024

This is great. Thank you.

@paulstansifer
Copy link

I tried this, and it made it possible to load Pythia models, though still not Gemma models (perhaps Gemma support in llama.cpp is more recent). Thanks!

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

No branches or pull requests

3 participants