We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b50752f commit a404cddCopy full SHA for a404cdd
1 file changed
backends/qualcomm/partition/qnn_partitioner.py
@@ -207,7 +207,7 @@ def check_partitions(
207
pl = len(partitions)
208
if backend == QnnExecuTorchBackendType.kLpaiBackend:
209
assert (
210
- pl != 1
+ pl == 1
211
), "LPAI backend only supports fully delegation due to the accuracy issue of Q/DQ in the LPAI backend."
212
if pl == 0:
213
logging.warning("Nothing can be partitioned!")
0 commit comments