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

added no_mmap & mlock parameters to llama.cpp and removed llamacpp_model_alternative #1649

Merged
merged 6 commits into from
May 2, 2023

Conversation

axolotlite
Copy link
Contributor

@axolotlite axolotlite commented Apr 29, 2023

llamacpp users can now specify if they wish to use mmap or mlock
I've removed the llamacpp_model module and renamed llamacpp_module_alternative into it, since the "alternative" module is the default.
I've also changed the default patch size into 512 tokens, which is the current default used by llama-cpp-python library.
There was an issue opened for --no-mmap support #1072

@Priestru
Copy link

Priestru commented Apr 29, 2023

Thank you! Just what we need to use this one: ggerganov/llama.cpp#1207

@oobabooga oobabooga merged commit fbcd329 into oobabooga:main May 2, 2023
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.

3 participants