Skip to content

PTQ-Level Efficiency, QAT-Level Accuracy | 训练后量化的效率,量化感知训练的精度

fix a bug in autoround format inference (#215)

wenhuach21a5f79c405808
diff --git a/auto_round/auto_quantizer.py b/auto_round/auto_quantizer.py
index 3aab37894..69bfe56f1 100644
--- a/auto_round/auto_quantizer.py
+++ b/auto_round/auto_quantizer.py
@@ -254,6 +254,8 @@ class AutoRoundConfig(QuantizationConfigMixin):
backend = "hpu"
else:
backend = "cpu"
+ elif "cuda" == backend:
+ backend = "auto_round:exllamav2"
self.backend = backend
self.layer_config = layer_config
if kwargs is not None: