Skip to content

Commit 9866d72

Browse files
facebook-github-botTARGETS Exterminatorbigfootjon
authored
Rename build files from TARGETS to BUCK (group ID: 3060250851570208116) (pytorch#16924)
Reviewed By: bigfootjon Differential Revision: D91590978 Co-authored-by: TARGETS Exterminator <noreply+28267754012808857@fb.com> Co-authored-by: Jon Janzen <jonjanzen@meta.com>
1 parent 8806e89 commit 9866d72

File tree

1 file changed

+53
-0
lines changed

1 file changed

+53
-0
lines changed

examples/models/BUCK

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
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 = "models",
8+
srcs = [
9+
"__init__.py",
10+
"model_factory.py",
11+
],
12+
deps = [
13+
"//caffe2:torch",
14+
"//executorch/examples/models:model_base", # @manual
15+
"//executorch/examples/models/deeplab_v3:dl3_model", # @manual
16+
"//executorch/examples/models/edsr:edsr_model", # @manual
17+
"//executorch/examples/models/emformer_rnnt:emformer_rnnt_model", # @manual
18+
"//executorch/examples/models/inception_v3:ic3_model", # @manual
19+
"//executorch/examples/models/inception_v4:ic4_model", # @manual
20+
"//executorch/examples/models/llama:llama2_model", # @manual
21+
"//executorch/examples/models/mobilebert:mobilebert_model", # @manual
22+
"//executorch/examples/models/mobilenet_v2:mv2_model", # @manual
23+
"//executorch/examples/models/mobilenet_v3:mv3_model", # @manual
24+
"//executorch/examples/models/resnet:resnet_model", # @manual
25+
"//executorch/examples/models/torchvision_vit:vit_model", # @manual
26+
"//executorch/examples/models/toy_model:toy_model", # @manual
27+
"//executorch/examples/models/wav2letter:w2l_model", # @manual
28+
"//executorch/examples/models/llama3_2_vision:multimodal_lib", # @manual
29+
"//executorch/examples/models/gemma3:gemma3", # @manual
30+
"//executorch/examples/models/qwen2_5:qwen2_5", # @manual
31+
"//executorch/examples/models/qwen3:qwen3", # @manual
32+
"//executorch/examples/models/phi_4_mini:phi_4_mini", # @manual
33+
"//executorch/examples/models/smollm2:smollm2", # @manual
34+
"//executorch/examples/models/smollm3:smollm3", # @manual
35+
],
36+
)
37+
38+
fbcode_target(_kind = python_library,
39+
name = "checkpoint",
40+
srcs = [
41+
"checkpoint.py",
42+
],
43+
)
44+
45+
fbcode_target(_kind = python_library,
46+
name = "model_base",
47+
srcs = [
48+
"model_base.py",
49+
],
50+
deps = [
51+
"//caffe2:torch",
52+
],
53+
)

0 commit comments

Comments
 (0)