File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ load ("@fbcode_macros//build_defs:build_file_migration.bzl" , "fbcode_target" , "non_fbcode_target" )
2+ load ("@fbsource//xplat/executorch/build:runtime_wrapper.bzl" , "runtime" )
3+ load ("@fbcode_macros//build_defs:python_library.bzl" , "python_library" )
4+
5+ oncall ("executorch" )
6+
7+ fbcode_target (_kind = runtime .python_library ,
8+ name = "qwen2_5" ,
9+ srcs = [
10+ "__init__.py" ,
11+ "convert_weights.py" ,
12+ ],
13+ _is_external_target = True ,
14+ base_module = "executorch.examples.models.qwen2_5" ,
15+ resources = {
16+ "config/0_5b_config.json" : "config/0_5b_config.json" ,
17+ "config/1_5b_config.json" : "config/1_5b_config.json" ,
18+ "config/qwen2_5_xnnpack_q8da4w.yaml" : "config/qwen2_5_xnnpack_q8da4w.yaml" ,
19+ },
20+ deps = [
21+ "//caffe2:torch" ,
22+ "//executorch/examples/models:model_base" ,
23+ "//executorch/examples/models/llama:llama2_model" ,
24+ "fbcode//pytorch/torchtune:lib" ,
25+ ],
26+ visibility = ["PUBLIC" ],
27+ )
Original file line number Diff line number Diff line change 1+ load ("@fbcode_macros//build_defs:build_file_migration.bzl" , "fbcode_target" , "non_fbcode_target" )
2+ load ("@fbsource//xplat/executorch/build:runtime_wrapper.bzl" , "runtime" )
3+ load ("@fbcode_macros//build_defs:python_library.bzl" , "python_library" )
4+
5+ oncall ("executorch" )
6+
7+ fbcode_target (_kind = runtime .python_library ,
8+ name = "qwen3" ,
9+ srcs = [
10+ "__init__.py" ,
11+ "convert_weights.py" ,
12+ ],
13+ _is_external_target = True ,
14+ base_module = "executorch.examples.models.qwen3" ,
15+ resources = {
16+ "config/0_6b_config.json" : "config/0_6b_config.json" ,
17+ "config/1_7b_config.json" : "config/1_7b_config.json" ,
18+ "config/4b_config.json" : "config/4b_config.json" ,
19+ "config/qwen3_xnnpack_q8da4w.yaml" : "config/qwen3_xnnpack_q8da4w.yaml" ,
20+ },
21+ deps = [
22+ "//caffe2:torch" ,
23+ "//executorch/examples/models:model_base" ,
24+ "//executorch/examples/models/llama:llama2_model" ,
25+ "fbcode//pytorch/torchtune:lib" ,
26+ ],
27+ visibility = ["PUBLIC" ],
28+ )
Original file line number Diff line number Diff line change 1+ load ("@fbcode_macros//build_defs:build_file_migration.bzl" , "fbcode_target" , "non_fbcode_target" )
2+ load ("@fbcode_macros//build_defs:python_library.bzl" , "python_library" )
3+
4+ oncall ("executorch" )
5+
6+ fbcode_target (_kind = python_library ,
7+ name = "resnet_model" ,
8+ srcs = [
9+ "__init__.py" ,
10+ "model.py" ,
11+ ],
12+ deps = [
13+ "//caffe2:torch" ,
14+ "//executorch/examples/models:model_base" ,
15+ "//pytorch/vision:torchvision" , # @manual
16+ ],
17+ )
Original file line number Diff line number Diff line change 1+ load ("@fbcode_macros//build_defs:build_file_migration.bzl" , "fbcode_target" , "non_fbcode_target" )
2+ load ("@fbsource//xplat/executorch/build:runtime_wrapper.bzl" , "runtime" )
3+ load ("@fbcode_macros//build_defs:python_library.bzl" , "python_library" )
4+
5+ oncall ("executorch" )
6+
7+ fbcode_target (_kind = runtime .python_library ,
8+ name = "smollm2" ,
9+ srcs = [
10+ "__init__.py" ,
11+ "convert_weights.py" ,
12+ ],
13+ _is_external_target = True ,
14+ base_module = "executorch.examples.models.smollm2" ,
15+ resources = {
16+ "135M_config.json" : "135M_config.json" ,
17+ },
18+ deps = [
19+ "//caffe2:torch" ,
20+ "//executorch/examples/models:model_base" ,
21+ "//executorch/examples/models/llama:llama2_model" ,
22+ "fbcode//pytorch/torchtune:lib" ,
23+ ],
24+ visibility = ["PUBLIC" ],
25+ )
Original file line number Diff line number Diff line change 1+ load ("@fbcode_macros//build_defs:build_file_migration.bzl" , "fbcode_target" , "non_fbcode_target" )
2+ load ("@fbsource//xplat/executorch/build:runtime_wrapper.bzl" , "runtime" )
3+ load ("@fbcode_macros//build_defs:python_library.bzl" , "python_library" )
4+
5+ oncall ("executorch" )
6+
7+ fbcode_target (_kind = runtime .python_library ,
8+ name = "smollm3" ,
9+ srcs = [
10+ "__init__.py" ,
11+ "convert_weights.py" ,
12+ ],
13+ _is_external_target = True ,
14+ base_module = "executorch.examples.models.smollm3" ,
15+ resources = {
16+ "3b_config.json" : "3b_config.json" ,
17+ },
18+ deps = [
19+ "//caffe2:torch" ,
20+ "//executorch/examples/models:model_base" ,
21+ "//executorch/examples/models/llama:llama2_model" ,
22+ "fbcode//pytorch/torchtune:lib" ,
23+ ],
24+ visibility = ["PUBLIC" ],
25+ )
Original file line number Diff line number Diff line change 1+ load ("@fbcode_macros//build_defs:build_file_migration.bzl" , "fbcode_target" , "non_fbcode_target" )
2+ load ("@fbcode_macros//build_defs:python_library.bzl" , "python_library" )
3+
4+ oncall ("executorch" )
5+
6+ fbcode_target (_kind = python_library ,
7+ name = "vit_model" ,
8+ srcs = [
9+ "__init__.py" ,
10+ "model.py" ,
11+ ],
12+ deps = [
13+ "//caffe2:torch" ,
14+ "//executorch/examples/models:model_base" ,
15+ "//pytorch/vision:torchvision" , # @manual
16+ ],
17+ )
Original file line number Diff line number Diff line change 1+ load ("@fbcode_macros//build_defs:build_file_migration.bzl" , "fbcode_target" , "non_fbcode_target" )
2+ load ("@fbcode_macros//build_defs:python_library.bzl" , "python_library" )
3+
4+ oncall ("executorch" )
5+
6+ fbcode_target (_kind = python_library ,
7+ name = "toy_model" ,
8+ srcs = [
9+ "__init__.py" ,
10+ "model.py" ,
11+ ],
12+ deps = [
13+ "//caffe2:torch" ,
14+ "//executorch/examples/models:model_base" ,
15+ "//executorch/exir/backend:compile_spec_schema" ,
16+ ],
17+ )
Original file line number Diff line number Diff line change 1+ load ("@fbcode_macros//build_defs:build_file_migration.bzl" , "fbcode_target" , "non_fbcode_target" )
2+ load ("@fbcode_macros//build_defs:python_library.bzl" , "python_library" )
3+
4+ oncall ("executorch" )
5+
6+ fbcode_target (_kind = python_library ,
7+ name = "w2l_model" ,
8+ srcs = [
9+ "__init__.py" ,
10+ "model.py" ,
11+ ],
12+ deps = [
13+ "//caffe2:torch" ,
14+ "//executorch/examples/models:model_base" ,
15+ "//pytorch/audio/src:torchaudio_core" ,
16+ ],
17+ )
Original file line number Diff line number Diff line change 1+ load ("@fbcode_macros//build_defs:build_file_migration.bzl" , "fbcode_target" , "non_fbcode_target" )
2+ oncall ("executorch" )
13# Any targets that should be shared between fbcode and xplat must be defined in
24# targets.bzl. This file can contain xplat-only targets.
35
46load (":targets.bzl" , "define_common_targets" )
57
6- oncall ("executorch" )
78
8- define_common_targets ()
9+ non_fbcode_target (_kind = define_common_targets ,)
10+
11+ # !!!! fbcode/executorch/examples/portable/custom_ops/TARGETS was merged into this file, see https://fburl.com/workplace/xl8l9yuo for more info !!!!
12+
13+ # Any targets that should be shared between fbcode and xplat must be defined in
14+ # targets.bzl. This file can contain fbcode-only targets.
15+
16+ load (":targets.bzl" , "define_common_targets" )
17+
18+
19+ fbcode_target (_kind = define_common_targets ,)
Original file line number Diff line number Diff line change 1+ load ("@fbcode_macros//build_defs:build_file_migration.bzl" , "fbcode_target" , "non_fbcode_target" )
2+ oncall ("executorch" )
13# Any targets that should be shared between fbcode and xplat must be defined in
24# targets.bzl. This file can contain xplat-only targets.
35
46load (":targets.bzl" , "define_common_targets" )
57
6- oncall ("executorch" )
78
8- define_common_targets ()
9+ non_fbcode_target (_kind = define_common_targets ,)
10+
11+ # !!!! fbcode/executorch/examples/portable/executor_runner/TARGETS was merged into this file, see https://fburl.com/workplace/xl8l9yuo for more info !!!!
12+
13+ # Any targets that should be shared between fbcode and xplat must be defined in
14+ # targets.bzl. This file can contain fbcode-only targets.
15+
16+ load (":targets.bzl" , "define_common_targets" )
17+
18+
19+ fbcode_target (_kind = define_common_targets ,)
You can’t perform that action at this time.
0 commit comments