Skip to content
This repository has been archived by the owner on Oct 25, 2024. It is now read-only.

Commit

Permalink
adapt INCWeightOnlyLinear
Browse files Browse the repository at this point in the history
Signed-off-by: Kaihui-intel <[email protected]>
  • Loading branch information
Kaihui-intel committed Aug 9, 2024
1 parent 03875a1 commit 27b6ef7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
from ....tools.utils import _ipex_version
from accelerate import init_empty_weights
from datasets import load_dataset
from neural_compressor.torch.algorithms.weight_only.modules import WeightOnlyLinear
from neural_compressor.torch.algorithms.weight_only.modules import INCWeightOnlyLinear as WeightOnlyLinear
from neural_compressor.torch.quantization import (
AutoRoundConfig,
AWQConfig,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
from ...tools.utils import is_intel_gpu_available, is_ipex_available, _neural_compressor_version
from accelerate import init_empty_weights
from huggingface_hub import hf_hub_download
from neural_compressor.torch.algorithms.weight_only.modules import WeightOnlyLinear
from neural_compressor.torch.algorithms.weight_only.modules import INCWeightOnlyLinear as WeightOnlyLinear
from neural_compressor.model.torch_model import PyTorchFXModel
from packaging import version
from threading import Thread
Expand Down

0 comments on commit 27b6ef7

Please sign in to comment.