Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/sequence_batch_scheduler/sequence_batch_scheduler.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1345,7 +1345,9 @@ SequenceBatch::SetControlTensors(
if (seq_corr_id->DType() == inference::DataType::TYPE_STRING) {
// 4 bytes for length of string plus pre-defined max string correlation id
// length in bytes
size_p = 4 + triton::core::STRING_CORRELATION_ID_MAX_LENGTH_BYTES;
std::string correlation_id = corrid.StringValue();
uint32_t correlation_id_length = correlation_id.length();
size_p = 4 + correlation_id_length;
}

TRITONSERVER_MemoryType memory_type;
Expand Down
Loading