Skip to content

Commit 75fe8e9

Browse files
authored
Disable VGF tests (#18899)
Differential Revision: D100808720 Pull Request resolved: #18899
1 parent 89e6416 commit 75fe8e9

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

backends/arm/test/targets.bzl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ load("@fbcode_macros//build_defs:python_pytest.bzl", "python_pytest")
33
load("@bazel_skylib//lib:paths.bzl", "paths")
44
load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "runtime")
55

6-
_ENABLE_VGF = True
6+
_ENABLE_VGF = False # Disabled: memfd_create blocked by seccomp on Sandcastle causes segfaults before Python pre-flight check can run
77

88
def define_arm_tests():
99
# TODO [fbonly] Add more tests
@@ -72,6 +72,7 @@ def define_arm_tests():
7272
resources = ["conftest.py"],
7373
compile = "with-source",
7474
typing = False,
75+
skip_on_mode_mac = True,
7576
env = {} if runtime.is_oss else ({
7677
"MODEL_CONVERTER_PATH": "$(location fbsource//third-party/pypi/ai-ml-sdk-model-converter/0.8.0:model-converter-bin)",
7778
"MODEL_CONVERTER_LIB_DIR": "$(location fbsource//third-party/nvidia-nsight-systems:linux-x86_64)/host-linux-x64",
@@ -81,12 +82,11 @@ def define_arm_tests():
8182
"EMULATION_LAYER_TENSOR_JSON": "$(location fbsource//third-party/arm-ml-emulation-layer/v0.9.0/src:VkLayer_Tensor_json)",
8283
"EMULATION_LAYER_GRAPH_JSON": "$(location fbsource//third-party/arm-ml-emulation-layer/v0.9.0/src:VkLayer_Graph_json)",
8384
} if _ENABLE_VGF else {}),
84-
preload_deps = [
85+
preload_deps = [] if runtime.is_oss or not _ENABLE_VGF else [
8586
"//executorch/kernels/quantized:custom_ops_generated_lib",
86-
] + ([] if runtime.is_oss or not _ENABLE_VGF else [
8787
"fbsource//third-party/khronos:vulkan",
8888
"//executorch/backends/arm/runtime:vgf_backend",
89-
]),
89+
],
9090
deps = [
9191
"//executorch/backends/arm/test:arm_tester" if runtime.is_oss else "//executorch/backends/arm/test/tester/fb:arm_tester_fb",
9292
"//executorch/backends/arm/test:conftest",

0 commit comments

Comments
 (0)