-
Notifications
You must be signed in to change notification settings - Fork 269
Enhance 3.x common logger and update 3.x torch example #1783
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
Conversation
Signed-off-by: yuwenzho <yuwen.zhou@intel.com>
⛈️ Required checks status: Has failure 🔴
Groups summary🟢 Code Scan Tests workflow
These checks are required after the changes to 🔴 Model Tests workflow
These checks are required after the changes to 🟢 Model Tests 3x workflow
These checks are required after the changes to 🟢 Unit Tests ITREX workflow
These checks are required after the changes to 🟢 Unit Tests 3x-TensorFlow workflow
These checks are required after the changes to 🟢 Unit Tests 3x-PyTorch workflow
These checks are required after the changes to 🟢 Unit Tests 3x-ONNXRT workflow
These checks are required after the changes to Thank you for your contribution! 💜
|
Signed-off-by: yuwenzho <yuwen.zhou@intel.com>
for more information, see https://pre-commit.ci
Signed-off-by: yuwenzho <yuwen.zhou@intel.com>
for more information, see https://pre-commit.ci
@@ -30,7 +30,7 @@ def need_apply(configs_mapping: Dict[Tuple[str, callable], BaseConfig], algo_nam | |||
return any(config.name == algo_name for config in configs_mapping.values()) | |||
|
|||
|
|||
@log_quant_execution | |||
@log_quant_execution(mode=Mode.QUANTIZE.value) |
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.
Hi @chensuyue, please be aware of this change, the quantization process is complete when either the convert
or quantize
is completed.
Signed-off-by: yuwenzho <yuwen.zhou@intel.com>
for more information, see https://pre-commit.ci
Signed-off-by: yuwenzho <yuwen.zhou@intel.com>
Signed-off-by: yuwenzho <yuwen.zhou@intel.com>
for more information, see https://pre-commit.ci
Signed-off-by: chensuyue <suyue.chen@intel.com>
Signed-off-by: chensuyue <suyue.chen@intel.com>
Type of Change
example
API changed or not: no
Description
Update 3.x torch example and enhance 3.x common logger information.
Smooth quant uses quantize(), others use prepare() + convert()
How has this PR been tested?
CI, extension test
Dependency Change?
no