Skip to content

Commit 901b29e

Browse files
mcremon-metafacebook-github-bot
authored andcommitted
Rename some "jarvis" instances into "falcon" or "cadence" (#10354)
Summary: As titled, including: - `apply_jarvis_passes` to `apply_falcon_passes`, since the passes are maintained by the falcon team and they're not used only for the (currently named) jarvis compiler Reviewed By: zonglinpeng, dulinriley Differential Revision: D73398040
1 parent 22ba09e commit 901b29e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

backends/cadence/aot/replace_ops.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -675,8 +675,8 @@ def call_operator(self, op, args, kwargs, meta):
675675
@register_cadence_pass(CadencePassAttribute(opt_level=0))
676676
class ReplaceAtenConvolutionWithJarvisConvolutionPass(ExportPass):
677677
"""
678-
Replace aten convolution op with jarvis-specific convolution op, since the
679-
aten version is not supported by jarvis.
678+
Replace aten convolution op with cadence-specific convolution op, since the
679+
aten version is not supported by cadence.
680680
Also remove convolution stride if the output size along the strided dimension
681681
is 1. We can enable more transformations (e.g., conv -> linear replacement)
682682
for unit-stride convolutions.
@@ -1896,7 +1896,7 @@ def call_operator(self, op, args, kwargs, meta):
18961896
@register_cadence_pass(CadencePassAttribute(opt_level=0))
18971897
class ReplaceAtenAvgPoolWithJarvisAvgPoolPass(ExportPass):
18981898
"""
1899-
Replace the aten avg_pool op with the jarvis custom avg_pool2d op.
1899+
Replace the aten avg_pool op with the cadence custom avg_pool2d op.
19001900
"""
19011901

19021902
def call_operator(self, op, args, kwargs, meta):

0 commit comments

Comments
 (0)