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

Merging quantized model with pass through #184

Open
dnhkng opened this issue Mar 1, 2024 · 2 comments
Open

Merging quantized model with pass through #184

dnhkng opened this issue Mar 1, 2024 · 2 comments

Comments

@dnhkng
Copy link

dnhkng commented Mar 1, 2024

Is there a way to do this?

I understand why F16 is required for linear and slerp, but can we do passthrough of quantized layer, as currently it necessary to go via huge models and requantize, which is a big pain point.

@cg123
Copy link
Collaborator

cg123 commented Mar 7, 2024

It would be possible to write a standalone script to do this. I don't think working with quantized GGUF models in mergekit-yaml makes much sense, as there are very few operations that it would be able to actually support. Just stacking layers would be reasonable though. I'll add this to my list of things to investigate when I have the time. Thanks for the suggestion!

@dnhkng
Copy link
Author

dnhkng commented Mar 7, 2024

No need for GGUF now, as it's being done in a PR

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

No branches or pull requests

2 participants