After model quantization, the bias input of linear fails the is_param check. #14326
Answered
by
cccclai
yujiaoliang
asked this question in
Q&A
-
|
After quantizing my model on QNN, I encountered an issue during partitioning. Specifically, when the graph is partitioned to XNNPACK, the aten.linear node’s bias input fails the is_param validation. Is there a recommended way to handle this situation or a known workaround to make the bias input pass the is_param check? |
Beta Was this translation helpful? Give feedback.
Answered by
cccclai
Dec 2, 2025
Replies: 1 comment 5 replies
-
|
@yujiaoliang Can you include a code example of how you're quantizing and lowering? You mention quantizing for QNN and partitioning for XNNPACK. Are you using XNNPACK as a fallback for operators that aren't handled by QNN? |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm not quite sure the reason you try
skip_node_op_set=['aten.linear.default']. For this error messageI think after quantization, the bias will be buffer but not param. So it's expected to fail. You can try it with
is_bufferand see if it passes