Skip to content

Commit 2dc8183

Browse files
authored
[Fix][SLM] Update q4f16 quantization with the new mutator name rule (mlc-ai#1178)
[Fix] Update q4f16 quantization with the new mutator name rule
1 parent 53060af commit 2dc8183

File tree

1 file changed

+0
-1
lines changed
  • python/mlc_chat/compiler/parameter

1 file changed

+0
-1
lines changed

python/mlc_chat/compiler/parameter/utils.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ def quantize(self, name: str, param: "NDArray") -> Optional[Iterator[Tuple[str,
4040
The quantized parameters, each with its name, returns None if the parameter is not
4141
quantized.
4242
"""
43-
name = f".{name}"
4443
if name not in self.quantize_map.param_map:
4544
return None
4645
assert name in self.quantize_map.map_func, f"Quantization function for {name} not found."

0 commit comments

Comments
 (0)