Skip to content

Commit

Permalink
Add batch size assert
Browse files Browse the repository at this point in the history
  • Loading branch information
tgerdesnv committed Mar 6, 2024
1 parent 7827fee commit 7df09ef
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/c++/perf_analyzer/command_line_parser.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1942,6 +1942,9 @@ CLParser::VerifyOptions()
if (!params_->async) {
Usage("Only async mode is currently supported for OpenAI service-kind");
}
if (params_->batch_size != 1) {
Usage("Batching is not currently supported with OpenAI service-kind");
}
}

if (params_->should_collect_metrics &&
Expand Down

0 comments on commit 7df09ef

Please sign in to comment.