Skip to content

Rename some "jarvis" instances into "falcon" or "cadence" #10354

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions backends/cadence/aot/replace_ops.py
Original file line number Diff line number Diff line change
@@ -675,8 +675,8 @@ def call_operator(self, op, args, kwargs, meta):
@register_cadence_pass(CadencePassAttribute(opt_level=0))
class ReplaceAtenConvolutionWithJarvisConvolutionPass(ExportPass):
"""
Replace aten convolution op with jarvis-specific convolution op, since the
aten version is not supported by jarvis.
Replace aten convolution op with cadence-specific convolution op, since the
aten version is not supported by cadence.
Also remove convolution stride if the output size along the strided dimension
is 1. We can enable more transformations (e.g., conv -> linear replacement)
for unit-stride convolutions.
@@ -1896,7 +1896,7 @@ def call_operator(self, op, args, kwargs, meta):
@register_cadence_pass(CadencePassAttribute(opt_level=0))
class ReplaceAtenAvgPoolWithJarvisAvgPoolPass(ExportPass):
"""
Replace the aten avg_pool op with the jarvis custom avg_pool2d op.
Replace the aten avg_pool op with the cadence custom avg_pool2d op.
"""

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