Fix per file ruff ignores related to simplification (#26259)
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
This commit is contained in:
+1
-4
@@ -2370,10 +2370,7 @@ class CPUDNNLGEMMHandler:
|
||||
torch.ops._C.release_dnnl_matmul_handler(self.handler)
|
||||
|
||||
|
||||
if hasattr(torch.ops._C, "create_onednn_mm_handler"):
|
||||
_supports_onednn = True
|
||||
else:
|
||||
_supports_onednn = False
|
||||
_supports_onednn = bool(hasattr(torch.ops._C, "create_onednn_mm_handler"))
|
||||
|
||||
|
||||
def is_onednn_acl_supported():
|
||||
|
||||
Reference in New Issue
Block a user