Skip to content

Commit

Permalink
remove debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
LRL-ModelCloud committed Jan 17, 2025
1 parent d0cee3e commit 579ceb9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions gptqmodel/nn_modules/qlinear/ipex.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,9 +174,7 @@ def init_ipex_linear(self, x: torch.Tensor):
# monkey patch GPTQShuffle.convert_idx to use our convert_idx, fix the slow ipex generate issue
from intel_extension_for_pytorch.nn.utils._quantize_convert import GPTQShuffle
GPTQShuffle.convert_idx = convert_idx
print("monkey patch GPTQShuffle.convert_idx to use our convert_idx")
except ImportError:
print("Failed to monkey patch GPTQShuffle.convert_idx to use our convert_idx")
# if import GPTQShuffle failed, do nothing
pass

Expand Down

0 comments on commit 579ceb9

Please sign in to comment.