Skip to content

Commit

Permalink
udpate cli argument
Browse files Browse the repository at this point in the history
  • Loading branch information
baptistecolle committed Aug 15, 2024
1 parent 1353433 commit f3058f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions optimum_benchmark/backends/pytorch/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ def process_quantization_config(self) -> None:
raise ImportError(
"GPTQ quantization requires the AutoGPTQ package. "
"Please install it from source at `https://github.com/AutoGPTQ/AutoGPTQ`"
"Or run optimum-benchmark +install_auto_gptq=True"
"Or run optimum-benchmark +install_auto_gptq_from_source=True"
)

self.quantization_config = GPTQConfig(
Expand All @@ -308,7 +308,7 @@ def process_quantization_config(self) -> None:
raise ImportError(
"AWQ quantization requires the AutoAWQ package. "
"Please install it from source at `https://github.com/casper-hansen/AutoAWQ`"
"Or run optimum-benchmark +install_auto_awq=True"
"Or run optimum-benchmark +install_auto_awq_from_source=True"
)

self.quantization_config = AwqConfig(
Expand Down

0 comments on commit f3058f1

Please sign in to comment.