Skip to content

Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.

Update _utils.py

Daniel Hanc51abba19f1f
diff --git a/unsloth/models/_utils.py b/unsloth/models/_utils.py
index e787f555322..1dee9d61ead 100644
--- a/unsloth/models/_utils.py
+++ b/unsloth/models/_utils.py
@@ -1667,7 +1667,7 @@ except:
@dataclass
class TorchAOConfig:
qat_scheme : str = "int4"
- base_config : AOBaseConfig = Int4WeightOnlyConfig
+ base_config : AOBaseConfig = Int4WeightOnlyConfig(group_size = 128)
filter_fn : Callable = None
group_size : int = 128
pass