Skip to content

Commit

Permalink
fixing the library name - auto-gptq
Browse files Browse the repository at this point in the history
it was a bit confusing to use `auto_gptq` while the library installation from pypi refers to `auto-gptq` 

https://github.com/PanQiWei/AutoGPTQ

The change should be helpful if the `ImportError` is raised
  • Loading branch information
amrrs authored Nov 27, 2023
1 parent 027b29b commit dccdb23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion outlines/models/gptq.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def gptq(
from auto_gptq import AutoGPTQForCausalLM
except ImportError:
raise ImportError(
"The `auto_gptq` library needs to be installed in order to use `AutoGPTQ` models."
"The `auto-gptq` library needs to be installed in order to use `AutoGPTQ` models."
)

if device is not None:
Expand Down

0 comments on commit dccdb23

Please sign in to comment.