Upload graph.pbtxt
Browse files- graph.pbtxt +35 -35
graph.pbtxt
CHANGED
|
@@ -1,36 +1,36 @@
|
|
| 1 |
-
input_stream: "HTTP_REQUEST_PAYLOAD:input"
|
| 2 |
-
output_stream: "HTTP_RESPONSE_PAYLOAD:output"
|
| 3 |
-
|
| 4 |
-
node: {
|
| 5 |
-
name: "LLMExecutor"
|
| 6 |
-
calculator: "HttpLLMCalculator"
|
| 7 |
-
input_stream: "LOOPBACK:loopback"
|
| 8 |
-
input_stream: "HTTP_REQUEST_PAYLOAD:input"
|
| 9 |
-
input_side_packet: "LLM_NODE_RESOURCES:llm"
|
| 10 |
-
output_stream: "LOOPBACK:loopback"
|
| 11 |
-
output_stream: "HTTP_RESPONSE_PAYLOAD:output"
|
| 12 |
-
input_stream_info: {
|
| 13 |
-
tag_index: 'LOOPBACK:0',
|
| 14 |
-
back_edge: true
|
| 15 |
-
}
|
| 16 |
-
node_options: {
|
| 17 |
-
[type.googleapis.com / mediapipe.LLMCalculatorOptions]: {
|
| 18 |
-
models_path: "./",
|
| 19 |
-
plugin_config: '{"MAX_PROMPT_LEN":
|
| 20 |
-
enable_prefix_caching:
|
| 21 |
-
cache_size: 10,
|
| 22 |
-
max_num_seqs: 256,
|
| 23 |
-
device: "
|
| 24 |
-
}
|
| 25 |
-
}
|
| 26 |
-
input_stream_handler {
|
| 27 |
-
input_stream_handler: "SyncSetInputStreamHandler",
|
| 28 |
-
options {
|
| 29 |
-
[mediapipe.SyncSetInputStreamHandlerOptions.ext] {
|
| 30 |
-
sync_set {
|
| 31 |
-
tag_index: "LOOPBACK:0"
|
| 32 |
-
}
|
| 33 |
-
}
|
| 34 |
-
}
|
| 35 |
-
}
|
| 36 |
}
|
|
|
|
| 1 |
+
input_stream: "HTTP_REQUEST_PAYLOAD:input"
|
| 2 |
+
output_stream: "HTTP_RESPONSE_PAYLOAD:output"
|
| 3 |
+
|
| 4 |
+
node: {
|
| 5 |
+
name: "LLMExecutor"
|
| 6 |
+
calculator: "HttpLLMCalculator"
|
| 7 |
+
input_stream: "LOOPBACK:loopback"
|
| 8 |
+
input_stream: "HTTP_REQUEST_PAYLOAD:input"
|
| 9 |
+
input_side_packet: "LLM_NODE_RESOURCES:llm"
|
| 10 |
+
output_stream: "LOOPBACK:loopback"
|
| 11 |
+
output_stream: "HTTP_RESPONSE_PAYLOAD:output"
|
| 12 |
+
input_stream_info: {
|
| 13 |
+
tag_index: 'LOOPBACK:0',
|
| 14 |
+
back_edge: true
|
| 15 |
+
}
|
| 16 |
+
node_options: {
|
| 17 |
+
[type.googleapis.com / mediapipe.LLMCalculatorOptions]: {
|
| 18 |
+
models_path: "./",
|
| 19 |
+
#plugin_config: '{"MAX_PROMPT_LEN": 2048}',
|
| 20 |
+
enable_prefix_caching: true,
|
| 21 |
+
cache_size: 10,
|
| 22 |
+
max_num_seqs: 256,
|
| 23 |
+
device: "GPU",
|
| 24 |
+
}
|
| 25 |
+
}
|
| 26 |
+
input_stream_handler {
|
| 27 |
+
input_stream_handler: "SyncSetInputStreamHandler",
|
| 28 |
+
options {
|
| 29 |
+
[mediapipe.SyncSetInputStreamHandlerOptions.ext] {
|
| 30 |
+
sync_set {
|
| 31 |
+
tag_index: "LOOPBACK:0"
|
| 32 |
+
}
|
| 33 |
+
}
|
| 34 |
+
}
|
| 35 |
+
}
|
| 36 |
}
|