Skip to content

Update n_batch default to 512 to match upstream llama.cpp #108

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

Merged
merged 1 commit into from Apr 24, 2023
Merged

Update n_batch default to 512 to match upstream llama.cpp #108

merged 1 commit into from Apr 24, 2023

Conversation

ghost
Copy link

@ghost ghost commented Apr 24, 2023

With the llama.cpp n_batch default now set to 512 we should update this default here as well. This will make BLAS users happy as their libs and the associated performance improvements will be used by default (llama.cpp only enables BLAS if n_batch >=32).

See #101 where users had to update n_batch to get cuBLAS to work.

update n_batch default to 512 to match upstream llama.cpp
@gjmulder
Copy link
Contributor

@eiery fantastic, thx!

@abetlen abetlen merged commit f374561 into abetlen:main Apr 24, 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.

2 participants