-
Notifications
You must be signed in to change notification settings - Fork 848
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
Added quantization for OUTETTS #2662
base: latest
Are you sure you want to change the base?
Added quantization for OUTETTS #2662
Conversation
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
@KodiaqQ , what results do you get with the quantized model vs original on your machine? |
FP model generate time: 3.926095366012305 upd. Recalculated times with ignored scope. |
"hf_model = OVHFModel(model_dir, device.value).model\n", | ||
"dataset = nncf.Dataset(libritts, partial(transform_fn, interface=interface))\n", | ||
"\n", | ||
"quantized_model = nncf.quantize(\n", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would suggest to use INT4 weight compression with dynamic quantization (A8W4). @KodiaqQ claim that the performance of such model is equal to the performance of the quantized model, but compression reate is higher for A8W4 model.
cc' @MaximProshin
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please share numbers for both cases. If int4 is better, I'm ok to use that method.
Ticket: 157133