Skip to content

Commit 4a26c64

Browse files
authored
FF (#21296)
Differential Revision: D113465092 Pull Request resolved: #21296
1 parent 42fcf94 commit 4a26c64

2 files changed

Lines changed: 14 additions & 14 deletions

File tree

extension/llm/cache/BUCK

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,19 @@ load(":targets.bzl", "define_common_targets")
1717

1818
fbcode_target(_kind = define_common_targets,)
1919

20+
fbcode_target(_kind = runtime.python_library,
21+
name = "cache",
22+
srcs = [
23+
"reference_cache.py",
24+
"update_and_attend.py",
25+
],
26+
visibility = ["PUBLIC"],
27+
deps = [
28+
"//caffe2:torch",
29+
"//executorch/exir:_warnings",
30+
],
31+
)
32+
2033
fbcode_target(_kind = runtime.python_test,
2134
name = "test_update_and_attend",
2235
srcs = [

extension/llm/cache/targets.bzl

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,2 @@
1-
load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "runtime")
2-
3-
41
def define_common_targets():
5-
runtime.python_library(
6-
name = "cache",
7-
srcs = [
8-
"reference_cache.py",
9-
"update_and_attend.py",
10-
],
11-
visibility = ["PUBLIC"],
12-
deps = [
13-
"//caffe2:torch",
14-
],
15-
)
2+
pass

0 commit comments

Comments
 (0)