Skip to content

Commit

Permalink
fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
SunMarc committed Jul 2, 2024
1 parent b2ac4e9 commit e1a2a3e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/transformers/generation/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1762,8 +1762,8 @@ def generate(

if cache_config.backend == "quanto" and not is_optimum_quanto_available():
raise ImportError(
"You need to install `quanto` in order to use KV cache quantization with quanto backend. "
"Please install it via with `pip install quanto`"
"You need to install `optimum-quanto` in order to use KV cache quantization with quanto backend. "
"Please install it via with `pip install optimum-quanto`"
)
elif cache_config.backend == "HQQ" and not is_hqq_available():
raise ImportError(
Expand Down

0 comments on commit e1a2a3e

Please sign in to comment.