Skip to content

Commit 5f4a731

Browse files
committed
Fixes from review
1 parent e95007d commit 5f4a731

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/guidellm/scheduler/strategies.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def __pydantic_schema_base_type__(cls) -> type[SchedulingStrategy]:
6565
type_: Literal["strategy"] = Field(
6666
description="The type of scheduling strategy to schedule requests with",
6767
)
68-
worker_coount: int = Field(
68+
worker_count: int = Field(
6969
default=0,
7070
description="Number of worker processes to use for this strategy",
7171
ge=0,
@@ -117,7 +117,7 @@ def init_processes_timings(
117117
:param max_concurrency: Maximum number of concurrent requests allowed
118118
:param startup_duration: Duration in seconds for request startup ramping
119119
"""
120-
self.worker_coount = worker_count
120+
self.worker_count = worker_count
121121
self.max_concurrency = max_concurrency
122122
self.startup_duration = startup_duration
123123

@@ -309,7 +309,7 @@ async def next_request_time(self, offset: int) -> float:
309309

310310
start_time = await self.get_processes_start_time()
311311

312-
return start_time + (offset / self.worker_coount)
312+
return start_time + (offset / self.worker_count)
313313

314314
def request_completed(self, request_info: RequestInfo):
315315
"""

0 commit comments

Comments
 (0)