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

Can you share your create svdq-int4-flux.1-dev.safetensors script? #10

Closed
chuck-ma opened this issue Nov 10, 2024 · 5 comments
Closed

Comments

@chuck-ma
Copy link

Hi, thanks for your work. But I'm wondering how to create an int4 model like svdq-int4-flux.1-dev.safetensors, because I have a model fine-tuned from the dev model.

@chuck-ma
Copy link
Author

Gotcha, it seems that i should use deepcompressor to create w4a4 quantized model

@ZukaChilachava
Copy link

@chuck-ma was wondering if you managed to load the quantization results from deepcompressor to nunchaku, because I got scaler.pt, smooth.pt, ... as a result and not sure how to convert it to nunchaku format.

@zzz11223345
Copy link

@chuck-ma was wondering if you managed to load the quantization results from deepcompressor to nunchaku, because I got scaler.pt, smooth.pt, ... as a result and not sure how to convert it to nunchaku format.
@ZukaChilachava Hello, I have the same question, have you solved it?

@ZukaChilachava
Copy link

@zzz11223345 Here is the response from the devs. mit-han-lab/deepcompressor#27 (comment)

@batuhan-ince
Copy link

@chuck-ma was wondering if you managed to load the quantization results from deepcompressor to nunchaku, because I got scaler.pt, smooth.pt, ... as a result and not sure how to convert it to nunchaku format.

Hey @ZukaChilachava, I quantized my fine-tuned flux model, but my model.pt (22GB) is bigger than my fine-tuned model (12GB). Is your files just like that or am I missing something. I did the exactly same things in the README.md. Also @lmxyy can you give me your thougths about this?

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

4 participants