We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 434e503 commit cf6be69Copy full SHA for cf6be69
src/sequence_batch_scheduler/sequence_batch_scheduler.cc
@@ -1324,7 +1324,9 @@ SequenceBatch::SetControlTensors(
1324
if (seq_corr_id->DType() == inference::DataType::TYPE_STRING) {
1325
// 4 bytes for length of string plus pre-defined max string correlation id
1326
// length in bytes
1327
- size_p = 4 + triton::core::STRING_CORRELATION_ID_MAX_LENGTH_BYTES;
+ std::string correlation_id = corrid.StringValue();
1328
+ uint32_t correlation_id_length = correlation_id.length();
1329
+ size_p = 4 + correlation_id_length;
1330
}
1331
1332
TRITONSERVER_MemoryType memory_type;
0 commit comments