-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
Modify save_quant_model to support different input and output filenames #40542
Modify save_quant_model to support different input and output filenames #40542
Conversation
Thanks for your contribution! |
test_args.ops_to_quantize, test_args.op_ids_to_skip, test_args.debug) | ||
test_args.ops_to_quantize, test_args.op_ids_to_skip, test_args.debug, | ||
test_args.save_model_filename, test_args.save_params_filename, | ||
test_args.quant_model_filename, test_args.quant_params_filename) |
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.
quant_xxx_filename should be first
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.
You are totally right. Thank you
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.
LGTM!
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.
LGTM
…es (PaddlePaddle#40542) * Modify save_quant_model.py to support differnet input and output filenames * Correct wrong order of arguments
PR types
New features
PR changes
Others
Describe
This PR adds additional parameters to save_quant_model.py to define the names of the input and output files. The default version of the input and output file names remains the same as before.