Skip to content

Commit ded3d25

Browse files
larryliu0820facebook-github-bot
authored andcommitted
Fix embedding_4bit out variant
Summary: In #3095 there's an issue with the embedding_4bit schema which causes mismatch between functional and out variant. P1217884556 Differential Revision: D56357762
1 parent 2c467dd commit ded3d25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exir/passes/_quant_patterns_and_replacements.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ def embedding_byte_dtype_out_meta(
179179

180180
quantized_decomposed_lib.define(
181181
"embedding_4bit.dtype(Tensor weight, Tensor weight_scales, Tensor? weight_zero_points, "
182-
"int weight_quant_min, int weight_quant_max, Tensor indices, ScalarType? dtype=None) -> Tensor",
182+
"int weight_quant_min, int weight_quant_max, Tensor indices, *, ScalarType? dtype=None) -> Tensor",
183183
)
184184

185185
quantized_decomposed_lib.define(

0 commit comments

Comments
 (0)