Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion auto_round/inference/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,7 @@ def fp8_static_scheme_checker(


BackendInfos["ipex_awq"] = BackendInfo(
device=["cpu"],
device=["xpu"],
sym=[True, False],
packing_format=AWQ_FORMAT,
bits=[4],
Expand Down
2 changes: 1 addition & 1 deletion test/test_cuda/test_auto_round_format.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def test_autoround_gptq_sym_format(self, tiny_opt_model_path, dataloader):

from transformers import AutoRoundConfig

quantization_config = AutoRoundConfig(backend="ipex_gptq")
quantization_config = AutoRoundConfig(backend="ipex")

model = AutoModelForCausalLM.from_pretrained(
quantized_model_path, device_map="cpu", trust_remote_code=True, quantization_config=quantization_config
Expand Down