Open XIAO-FAN-5257 opened 1 month ago
You may need to use --shape INPUT:67
to account for the 4-byte unsigned integer prepended to the front containing the length of the following bytes:
Note that for STRING type, an element is represented by a 4-byte unsigned integer giving the length followed by the actual bytes. The byte array to be encoded using base64 must include the 4-byte unsigned integers.
You may need to use
--shape INPUT:67
to account for the 4-byte unsigned integer prepended to the front containing the length of the following bytes:Note that for STRING type, an element is represented by a 4-byte unsigned integer giving the length followed by the actual bytes. The byte array to be encoded using base64 must include the 4-byte unsigned integers.
I tried to modify this shape parameter, but it still reported the following error
perf_analyzer -m bls --input-data input --shape INPUT:67
error: Failed to init manager inputs: provided data for input INPUT has 67 byte elements, expect 67
You may need to use
--shape INPUT:67
to account for the 4-byte unsigned integer prepended to the front containing the length of the following bytes: https://github.com/triton-inference-server/perf_analyzer/blob/main/docs/input_data.md#real-input-dataNote that for STRING type, an element is represented by a 4-byte unsigned integer giving the length followed by the actual bytes. The byte array to be encoded using base64 must include the 4-byte unsigned integers.
I tried to modify this shape parameter, but it still reported the following error
perf_analyzer -m bls --input-data input --shape INPUT:67
error: Failed to init manager inputs: provided data for input INPUT has 67 byte elements, expect 67
@matthewkotila this error is so strange
when i use input-data by perf
it is failing with the following error:
This is how I get input-data
I check this binary file by 'cat input/INPUT'
This is my bls config.pbtxt
Has anyone seen it before ?