Closed fanminshi closed 6 months ago
Hi!
Thanks for the report!
Note: ŧransformers
uses the same check as we do (transformers vs lighteval) to test if a package is imported or not.
It seems like there is a typo on our side, and we should check if importlib.util.find_spec("auto_gptq")
, not auto-gptq
.
Can you try this PR and tell us if it works for you?
will do!
Hi, It seems like lighteval.utils import is_autogptq_available differs the behavior from transformers.utils import is_auto_gptq_available even tho when
auto-gptq
is installed.