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

gguf : remove special-case code for GGUFv1 #3901

Merged
merged 1 commit into from
Nov 2, 2023
Merged

Conversation

ggerganov
Copy link
Owner

@ggerganov ggerganov commented Nov 2, 2023

Shortly after releasing GGUFv1 2-3 months ago, we switched to v2 using 64-bit int dimensions and quickly deprecated v1.
We added some special-case handling to support GGUFv1 and added TODOs to remove them after a certain period.

Assuming nobody is stuck at GGUFv1 at this point, so removing these special cases

@ggerganov ggerganov merged commit 2756c4f into master Nov 2, 2023
39 checks passed
@ggerganov ggerganov deleted the remove-ggufv1 branch November 2, 2023 09:20
@slaren
Copy link
Collaborator

slaren commented Nov 2, 2023

This causes llama.cpp to just crash when trying to load a GGUFv1 model. We should check the version and show a message explaining why the model can't be loaded.

danemadsen added a commit to Mobile-Artificial-Intelligence/llama.cpp that referenced this pull request Nov 5, 2023
olexiyb pushed a commit to Sanctum-AI/llama.cpp that referenced this pull request Nov 23, 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