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

Fix: Adding an LLM param to fix generator producing only "#####" characters #1519

Merged
merged 1 commit into from
Jan 17, 2024

Conversation

naveenk2022
Copy link
Contributor

The newer versions of llama-cpp-python do not have the parameter offload_kqv set to True. Fixing this in privateGPT is pretty straightforward. Instead of installing a lower version of llama-cpp-python, adding "offload_kqv": True to model_kwargs enables KGV offloading, and also significantly boosts GPU performance.

@naveenk2022 naveenk2022 changed the title Fix: Adding an LLM param to fix broken generator Fix: Adding an LLM param to fix generator producing only "#####" characters Jan 17, 2024
Copy link
Collaborator

@imartinez imartinez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix!

@imartinez imartinez merged commit 869233f into zylon-ai:main Jan 17, 2024
6 checks passed
simonbermudez pushed a commit to simonbermudez/saimon that referenced this pull request Feb 24, 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.

2 participants