From e28a5ec2d4b9738b3e4a933230a8fac31256d84e Mon Sep 17 00:00:00 2001 From: Matthias Cremon Date: Tue, 29 Apr 2025 13:02:24 -0700 Subject: [PATCH] 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 --- backends/cadence/aot/replace_ops.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/backends/cadence/aot/replace_ops.py b/backends/cadence/aot/replace_ops.py index 17eff9de0eb..7bbfd5e2f49 100644 --- a/backends/cadence/aot/replace_ops.py +++ b/backends/cadence/aot/replace_ops.py @@ -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):