fix: convert() uses incorrect defaults for quantization mode (#935)

This commit is contained in:
spicyneuron
2026-03-06 09:02:34 +08:00
committed by GitHub
parent 35fa620279
commit 47be7150a6
+2 -2
View File
@@ -86,8 +86,8 @@ def convert(
hf_path: str,
mlx_path: str = "mlx_model",
quantize: bool = False,
q_group_size: int = 64,
q_bits: int = 4,
q_group_size: Optional[int] = None,
q_bits: Optional[int] = None,
q_mode: str = "affine",
dtype: Optional[str] = None,
upload_repo: str = None,