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

Commit

Permalink
Adapt INCWeightOnlyLinear (#1686)
Browse files Browse the repository at this point in the history
Signed-off-by: Kaihui-intel <[email protected]>
  • Loading branch information
Kaihui-intel authored Aug 11, 2024
1 parent 03875a1 commit dbd809b
Show file tree
Hide file tree
Showing 3 changed files with 3 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
1 change: 1 addition & 0 deletions tests/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ intel-tensorflow==2.14.0
lm-eval==0.4.3
mlflow
nlpaug==1.1.9
nltk==3.8.1
onnx
onnxruntime
peft==0.6.2
Expand Down

0 comments on commit dbd809b

Please sign in to comment.