Skip to content

Commit 21554e5

Browse files
authored
target files for llm server
Differential Revision: D112878281 Pull Request resolved: #21046
1 parent d28ef1c commit 21554e5

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

examples/llm_server/python/TARGETS

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "runtime")
2+
3+
oncall("executorch")
4+
5+
runtime.python_library(
6+
name = "lib",
7+
srcs = [
8+
"__init__.py",
9+
"chat_template.py",
10+
"errors.py",
11+
"openai_transcript.py",
12+
"protocol.py",
13+
"server.py",
14+
"serving_chat.py",
15+
"session_runtime.py",
16+
"tool_parsers/__init__.py",
17+
"tool_parsers/gemma.py",
18+
"tool_parsers/hermes.py",
19+
"tool_parsers/qwen.py",
20+
"tool_parsers/types.py",
21+
"worker_client.py",
22+
],
23+
base_module = "executorch.examples.llm_server.python",
24+
visibility = ["PUBLIC"],
25+
deps = [
26+
"fbsource//third-party/pypi/fastapi:fastapi",
27+
"fbsource//third-party/pypi/pydantic:pydantic",
28+
],
29+
)

0 commit comments

Comments
 (0)