-
Notifications
You must be signed in to change notification settings - Fork 194
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
hualxie
committed
Mar 4, 2025
1 parent
13d22e3
commit d207795
Showing
1 changed file
with
1 addition
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -576,7 +576,7 @@ def _run_for_config( | |
) | ||
except Exception as e: | ||
# quantization preprocessing will fail if the model is too large and `skip_optimization = False` | ||
logger.warning( | ||
logger.error( | ||
Check warning Code scanning / lintrunner RUFF/G201 Warning
Logging .exception(...) should be used instead of .error(..., exc\_info=True).
See https://docs.astral.sh/ruff/rules/logging-exc-info |
||
"Failed to run quantization preprocessing with error of %s. Retry with `skip_optimization = True`", | ||
e, | ||
exc_info=True, | ||
|