Unverified Commit 7afade20 authored by DrAnaximandre's avatar DrAnaximandre Committed by GitHub
Browse files

Fix typo at ImportError (#30090)

fix typo at ImportError
parent ef38e2a7
......@@ -60,7 +60,9 @@ class QuantoHfQuantizer(HfQuantizer):
if not is_quanto_available():
raise ImportError("Loading a quanto quantized model requires quanto library (`pip install quanto`)")
if not is_accelerate_available():
raise ImportError("Loading a quanto quantized model requires accelerate library (`pip install quanto`)")
raise ImportError(
"Loading a quanto quantized model requires accelerate library (`pip install accelerate`)"
)
def update_device_map(self, device_map):
if device_map is None:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment