Skip to content

Commit 55c65c4

Browse files
authored
Drop request count check from throughput sweep profile (#89)
The throughput profile limits its max requests based on the number of successful requests in the previous synchronous profile run. This seems to be left over from previous behavior. Fixes #88
1 parent 6379f42 commit 55c65c4

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/guidellm/executor/profile_generator.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -324,9 +324,6 @@ def create_sweep_profile(
324324

325325
if index == 1:
326326
throughput_profile: Profile = ProfileGenerator.create_throughput_profile(0) # type: ignore # noqa: PGH003
327-
# set the max number of requests to 5 times the number of requests
328-
# incase it is not set for the sweep to limit the number of requests
329-
throughput_profile.args = {"max_number": sync_benchmark.request_count * 5}
330327
return throughput_profile
331328

332329
if not throughput_benchmark:

0 commit comments

Comments
 (0)