Skip to content

Commit e1832ef

Browse files
tarun292facebook-github-bot
authored andcommitted
Move vulkan.passes to vulkan._passes (#5919)
Summary: Changing vulkan.passes to vulkan._passes to indicate that these passes are not covered under the API stability guarantee. Pull Request resolved: #5919 Reviewed By: helunwencser Differential Revision: D63926849 fbshipit-source-id: bf135c46c6718bc37afa640cf51d004891516575
1 parent b118d8e commit e1832ef

File tree

9 files changed

+7
-5
lines changed

9 files changed

+7
-5
lines changed

backends/transforms/fuse_conv_with_clamp.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@
77
import sys
88

99
import torch
10-
from executorch.backends.vulkan.passes.custom_ops_defs import conv_with_clamp_op # noqa
10+
from executorch.backends.vulkan._passes.custom_ops_defs import ( # noqa
11+
conv_with_clamp_op,
12+
)
1113

1214
from executorch.exir.dialects._ops import ops as exir_ops
1315
from executorch.exir.pass_base import ExportPass, PassResult

backends/transforms/targets.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def define_common_targets():
7070
deps = [
7171
":utils",
7272
"//caffe2:torch",
73-
"//executorch/backends/vulkan/passes:custom_ops_defs",
73+
"//executorch/backends/vulkan/_passes:custom_ops_defs",
7474
"//executorch/exir:pass_base",
7575
"//executorch/exir:sym_util",
7676
"//executorch/exir/dialects:lib",

backends/vulkan/TARGETS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ runtime.python_library(
2828
"//executorch/backends/transforms:fuse_view_copy",
2929
"//executorch/backends/transforms:mean_to_sum_div",
3030
"//executorch/backends/transforms:remove_clone_ops",
31-
"//executorch/backends/vulkan/passes:remove_local_scalar_dense",
31+
"//executorch/backends/vulkan/_passes:remove_local_scalar_dense",
3232
"//executorch/exir:graph_module",
3333
"//executorch/exir/_serialize:_bindings",
3434
"//executorch/exir/_serialize:lib",
File renamed without changes.

backends/vulkan/partitioner/supported_ops.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
import operator
1010

11-
from executorch.backends.vulkan.passes.custom_ops_defs import ( # noqa
11+
from executorch.backends.vulkan._passes.custom_ops_defs import ( # noqa
1212
conv_with_clamp_op,
1313
grid_priors_op,
1414
)

backends/vulkan/vulkan_preprocess.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
from executorch.backends.transforms.mean_to_sum_div import MeanToSumDiv
1818
from executorch.backends.transforms.remove_clone_ops import RemoveCloneOpsTransform
1919

20-
from executorch.backends.vulkan.passes.remove_local_scalar_dense_ops import (
20+
from executorch.backends.vulkan._passes.remove_local_scalar_dense_ops import (
2121
RemoveLocalScalarDenseOpsTransform,
2222
)
2323

0 commit comments

Comments
 (0)