We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63e8025 commit 31b3a85Copy full SHA for 31b3a85
backends/xnnpack/partition/xnnpack_partitioner.py
@@ -869,7 +869,9 @@ def __init__(
869
self.quant = quant
870
871
# TODO(T174256335) - remove this once we have a better way to handle >2d Mask
872
- self._lower_recomposed_sdpa: bool = _lower_recomposed_sdpa or True
+ self._lower_recomposed_sdpa: bool = (
873
+ _lower_recomposed_sdpa if _lower_recomposed_sdpa is not None else True
874
+ )
875
876
self.delegation_spec = DelegationSpec(XnnpackBackend.__name__, [])
877
self.partition_tags: Dict[str, DelegationSpec] = {}
0 commit comments