diff --git a/oss/.buckconfig.oss b/.buckconfig similarity index 100% rename from oss/.buckconfig.oss rename to .buckconfig diff --git a/oss/.gitignore b/.gitignore similarity index 100% rename from oss/.gitignore rename to .gitignore diff --git a/exir/fb/TARGETS b/exir/fb/TARGETS deleted file mode 100644 index 99f005fb449..00000000000 --- a/exir/fb/TARGETS +++ /dev/null @@ -1,20 +0,0 @@ -load("@fbcode_macros//build_defs:python_library.bzl", "python_library") - -oncall("executorch") - -# Please don't add "//executorch/pybindings:portable" here, runtime lib should be added separately. -python_library( - name = "bento_deps", - deps = [ - "//aibench/api:aibench_api", - "//executorch/backends:backend_lib", - "//executorch/backends/test:example_backends", - "//executorch/bundled_program:core", - "//executorch/exir:lib", - "//executorch/exir/scripts:lib", - "//executorch/kernels/portable:custom_ops_generated_lib", - "//executorch/kernels/quantized:custom_ops_generated_lib", - "//executorch/profiler:parse_profiler_library", - "//executorch/sdk:lib", - ], -) diff --git a/exir/fb/targets.bzl b/exir/fb/targets.bzl deleted file mode 100644 index 2671cc3a402..00000000000 --- a/exir/fb/targets.bzl +++ /dev/null @@ -1,32 +0,0 @@ -load("//bento:buck_macros.bzl", "bento_kernel") - -executorch_bento_kernels_base_deps = [ - "//executorch/exir/fb:bento_deps", - "//pye/lib:eager_model_base", -] - -executorch_portable_kernel_lib = ["//executorch/pybindings:portable"] -executorch_aten_mode_lib = ["//executorch/pybindings:aten_mode_lib"] - -model_inventory_list = [ - { - "deps": [ - "//on_device_ai/helios/arvr/nn:nn", - "//on_device_ai/helios/compiler/utils:utils", - "//on_device_ai/fx/tracers:leaf_modules", - "//on_device_ai/helios/arch_params:arch_params", - "//on_device_ai/helios/fx/passes:passes", - "//on_device_ai/helios/pytorch/turing:turing_ops", - ], - "name": "executorch_helios", - }, -] - -def load_executorch_bento_kernels(): - for entry in model_inventory_list: - for suffix in ("", "_portable"): - ops_lib = executorch_portable_kernel_lib if suffix else executorch_aten_mode_lib - bento_kernel( - name = entry["name"] + suffix, - deps = executorch_bento_kernels_base_deps + entry["deps"] + ops_lib, - ) diff --git a/oss/install.sh b/install.sh similarity index 100% rename from oss/install.sh rename to install.sh diff --git a/oss/pyproject.toml b/pyproject.toml similarity index 100% rename from oss/pyproject.toml rename to pyproject.toml