Skip to content

Commit 2ab3df3

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: dulinriley, zonglinpeng Differential Revision: D73398040
1 parent fa89efa commit 2ab3df3

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
@@ -672,8 +672,8 @@ def call_operator(self, op, args, kwargs, meta):
672672
@register_cadence_pass(CadencePassAttribute(opt_level=0))
673673
class ReplaceAtenConvolutionWithJarvisConvolutionPass(ExportPass):
674674
"""
675-
Replace aten convolution op with jarvis-specific convolution op, since the
676-
aten version is not supported by jarvis.
675+
Replace aten convolution op with cadence-specific convolution op, since the
676+
aten version is not supported by cadence.
677677
Also remove convolution stride if the output size along the strided dimension
678678
is 1. We can enable more transformations (e.g., conv -> linear replacement)
679679
for unit-stride convolutions.
@@ -1893,7 +1893,7 @@ def call_operator(self, op, args, kwargs, meta):
18931893
@register_cadence_pass(CadencePassAttribute(opt_level=0))
18941894
class ReplaceAtenAvgPoolWithJarvisAvgPoolPass(ExportPass):
18951895
"""
1896-
Replace the aten avg_pool op with the jarvis custom avg_pool2d op.
1896+
Replace the aten avg_pool op with the cadence custom avg_pool2d op.
18971897
"""
18981898

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

0 commit comments

Comments
 (0)