We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1edf692 commit 6886974Copy full SHA for 6886974
backends/qualcomm/builders/op_rms_norm.py
@@ -81,8 +81,9 @@ def define_node(
81
{}, # kwargs
82
)
83
if quant_attrs := node.meta.get(QCOM_QUANT_ATTRS):
84
+ quant_attrs = quant_attrs.copy()
85
+ quant_attrs[QCOM_ZERO_POINT] = 0
86
bias_node.meta[QCOM_QUANT_ATTRS] = quant_attrs
- bias_node.meta[QCOM_QUANT_ATTRS][QCOM_ZERO_POINT] = 0
87
bias_tensor_wrapper = self.define_tensor(
88
bias_node,
89
node,
0 commit comments