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

Add GGUFv2 support #725

Merged
merged 1 commit into from
Sep 3, 2023
Merged

Add GGUFv2 support #725

merged 1 commit into from
Sep 3, 2023

Conversation

LLukas22
Copy link
Contributor

@LLukas22 LLukas22 commented Sep 3, 2023

GGUF was extended by u64, i64 and f64 types as mentioned here. All ranges were also changed from u32 to u64 as someone actually build a file which exceeded the u32 limit of the tensor sizes.

This PR allows to read V1 and V2 files, but only V2 files can be created.

@LaurentMazare
Copy link
Collaborator

Looks good, thanks!

@LaurentMazare LaurentMazare merged commit f7980e0 into huggingface:main Sep 3, 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