Skip to content

Commit bec8896

Browse files
committed
Bug fix for request-formatter-kwargs cli ignored if request-type not passed in
Signed-off-by: Mark Kurtz <mark.kurtz@neuralmagic.com>
1 parent 981fec7 commit bec8896

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/guidellm/__main__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -395,6 +395,8 @@ def run(**kwargs):
395395
if not request_formatter_kwargs
396396
else {"request_type": request_type, **request_formatter_kwargs}
397397
)
398+
elif request_formatter_kwargs is not None:
399+
kwargs["data_request_formatter"] = request_formatter_kwargs
398400

399401
# Handle output path remapping
400402
if (output_path := kwargs.pop("output_path", None)) is not None:

0 commit comments

Comments
 (0)