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 warning for the future change in the default value of quant_scheme #3371

Merged

Conversation

quic-kyunggeu
Copy link
Contributor

Main Change

Added a warning that the default value of "quant_scheme" will change from QuantScheme.post_training_tf_enhanced to QuantScheme.training_range_learning_with_tf_init.

>>> sim = QuantizationSimModel(model, dummy_input)
<stdin>:1: DeprecationWarning: The default value of 'quant_scheme' will change from
'QuantScheme.post_training_tf_enhanced' to 'QuantScheme.training_range_learning_with_tf_init'
in the later versions. If you wish to maintain the legacy behavior in the future, please explicitly pass
'quant_scheme=QuantScheme.post_training_tf_enhanced'

@quic-kyunggeu quic-kyunggeu merged commit 2cde1a8 into quic:develop Oct 7, 2024
4 checks passed
@quic-kyunggeu quic-kyunggeu deleted the warn_default_quant_scheme_change branch October 7, 2024 19:23
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