Create config.pbtext
Browse files- config.pbtext +32 -0
config.pbtext
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: "deberta"
|
| 2 |
+
platform: "tensorrt_plan"
|
| 3 |
+
max_batch_size: 8
|
| 4 |
+
input [
|
| 5 |
+
{
|
| 6 |
+
name: "input_ids"
|
| 7 |
+
data_type: TYPE_INT32
|
| 8 |
+
dims: [ -1, 512 ]
|
| 9 |
+
},
|
| 10 |
+
{
|
| 11 |
+
name: "attention_mask"
|
| 12 |
+
data_type: TYPE_INT32
|
| 13 |
+
dims: [ -1, 512 ]
|
| 14 |
+
}
|
| 15 |
+
]
|
| 16 |
+
output [
|
| 17 |
+
{
|
| 18 |
+
name: "output"
|
| 19 |
+
data_type: TYPE_FP32
|
| 20 |
+
dims: [ -1, 2 ]
|
| 21 |
+
}
|
| 22 |
+
]
|
| 23 |
+
dynamic_batching {
|
| 24 |
+
preferred_batch_size: [ 4, 8 ]
|
| 25 |
+
max_queue_delay_microseconds: 100
|
| 26 |
+
}
|
| 27 |
+
instance_group [
|
| 28 |
+
{
|
| 29 |
+
count: 1
|
| 30 |
+
kind: KIND_GPU
|
| 31 |
+
}
|
| 32 |
+
]
|