Skip to content

Commit ea8f997

Browse files
mergennachinfacebook-github-bot
authored andcommitted
Fix pyre errors
Differential Revision: D55452752
1 parent 25c5b67 commit ea8f997

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

examples/models/llama2/export_llama_lib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -716,8 +716,8 @@ def _export_llama(modelname, args) -> str: # noqa: C901
716716

717717
# pyre-ignore: Undefined attribute [16]: Module `executorch.backends` has no attribute `qualcomm`
718718
backend_options = generate_htp_compiler_spec(use_fp16=False)
719-
# pyre-ignore: Undefined attribute [16]: Module `executorch.backends` has no attribute `qualcomm`
720719
partitioners.append(
720+
# pyre-ignore: Undefined attribute [16]: Module `executorch.backends` has no attribute `qualcomm`
721721
QnnPartitioner(
722722
# pyre-ignore: Undefined attribute [16]: Module `executorch.backends` has no attribute `qualcomm`
723723
generate_qnn_executorch_compiler_spec(

exir/delegate.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,9 @@
2424

2525

2626
executorch_call_delegate = HigherOrderOperator("executorch_call_delegate")
27-
# pyre-ignore
2827
executorch_call_delegate.fallthrough(torch._C.DispatchKey.PythonDispatcher)
29-
# pyre-ignore
3028
executorch_call_delegate.fallthrough(torch._C.DispatchKey.PythonTLSSnapshot)
3129
executorch_call_delegate.fallthrough(torch._C.DispatchKey.ADInplaceOrView)
32-
executorch_call_delegate.fallthrough(torch._C.DispatchKey.BackendSelect)
33-
# pyre-ignore
3430
executorch_call_delegate.fallthrough(torch._C.DispatchKey.AutocastCPU)
3531

3632
LOWERED_BACKEND_MODULE_TYPE = "LoweredBackendModule"

0 commit comments

Comments
 (0)