Automatically updated from 모델 배포(331:mistral-1L-tiny-git) by 그룹사용자(groupuser)
This commit is contained in:
parent
0bb2560057
commit
9f2212c522
34
config.pbtxt
34
config.pbtxt
@ -1,74 +1,105 @@
|
|||||||
# Triton backend to use
|
# Triton Backend for TransformerLLM.
|
||||||
backend: "python"
|
backend: "python"
|
||||||
max_batch_size: 0
|
max_batch_size: 0
|
||||||
|
|
||||||
# Triton should expect as input a single string
|
# Triton should expect as input a single string
|
||||||
# input of variable length named 'text_input'
|
# input of variable length named 'text_input'
|
||||||
input [
|
input [
|
||||||
|
|
||||||
{
|
{
|
||||||
name: "text_input"
|
name: "text_input"
|
||||||
data_type: TYPE_STRING
|
data_type: TYPE_STRING
|
||||||
dims: [ -1 ]
|
dims: [ -1 ]
|
||||||
|
|
||||||
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "max_length"
|
name: "max_length"
|
||||||
data_type: TYPE_INT32
|
data_type: TYPE_INT32
|
||||||
dims: [ 1 ]
|
dims: [ 1 ]
|
||||||
|
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "max_new_tokens"
|
name: "max_new_tokens"
|
||||||
data_type: TYPE_INT32
|
data_type: TYPE_INT32
|
||||||
dims: [ 1 ]
|
dims: [ 1 ]
|
||||||
|
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "do_sample"
|
name: "do_sample"
|
||||||
data_type: TYPE_BOOL
|
data_type: TYPE_BOOL
|
||||||
dims: [ 1 ]
|
dims: [ 1 ]
|
||||||
|
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "top_k"
|
name: "top_k"
|
||||||
data_type: TYPE_INT32
|
data_type: TYPE_INT32
|
||||||
dims: [ 1 ]
|
dims: [ 1 ]
|
||||||
|
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "top_p"
|
name: "top_p"
|
||||||
data_type: TYPE_FP32
|
data_type: TYPE_FP32
|
||||||
dims: [ 1 ]
|
dims: [ 1 ]
|
||||||
|
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "temperature"
|
name: "temperature"
|
||||||
data_type: TYPE_FP32
|
data_type: TYPE_FP32
|
||||||
dims: [ 1 ]
|
dims: [ 1 ]
|
||||||
|
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "repetition_penalty"
|
name: "repetition_penalty"
|
||||||
data_type: TYPE_FP32
|
data_type: TYPE_FP32
|
||||||
dims: [ 1 ]
|
dims: [ 1 ]
|
||||||
|
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "stream"
|
name: "stream"
|
||||||
data_type: TYPE_BOOL
|
data_type: TYPE_BOOL
|
||||||
dims: [ 1 ]
|
dims: [ 1 ]
|
||||||
|
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
# Triton should expect to respond with a single string
|
# Triton should expect to respond with a single string
|
||||||
# output of variable length named 'text_output'
|
# output of variable length named 'text_output'
|
||||||
output [
|
output [
|
||||||
|
|
||||||
{
|
{
|
||||||
name: "text_output"
|
name: "text_output"
|
||||||
data_type: TYPE_STRING
|
data_type: TYPE_STRING
|
||||||
dims: [ -1 ]
|
dims: [ -1 ]
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
]
|
]
|
||||||
|
|
||||||
parameters: [
|
parameters: [
|
||||||
@ -84,6 +115,7 @@ parameters: [
|
|||||||
key: "adapter_model_path",
|
key: "adapter_model_path",
|
||||||
value: {string_value: ""}
|
value: {string_value: ""}
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
key: "quantization",
|
key: "quantization",
|
||||||
value: {string_value: "none"}
|
value: {string_value: "none"}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user