Skip to content

Commit 60e1abc

Browse files
authored
Merge branch 'main' into fix/worker-unusable-terminal-response
2 parents ce57740 + 4f9d266 commit 60e1abc

4 files changed

Lines changed: 101 additions & 70 deletions

File tree

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ audio = [
8484
# Lowest version with full torchcodec support
8585
"datasets[audio]>=4.1.0",
8686
# Torchcodec needs specific torch version
87-
"torch==2.9.*",
88-
"torchcodec==0.8.*",
87+
"torch==2.10.*",
88+
"torchcodec==0.10.*",
8989
]
9090
vision = [
9191
"datasets[vision]",

src/guidellm/benchmark/outputs/console.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -467,39 +467,39 @@ def print_server_throughput_table(self, report: GenerativeBenchmarksReport):
467467
type_="text",
468468
)
469469
columns.add_stats(
470-
benchmark.metrics.requests_per_second,
470+
benchmark.metrics.request_concurrency,
471471
status="total",
472472
group="Requests",
473-
name="Per Sec",
473+
name="Concurrency",
474474
types=("median", "mean"),
475475
)
476476
columns.add_stats(
477-
benchmark.metrics.request_concurrency,
477+
benchmark.metrics.requests_per_second,
478478
status="total",
479479
group="Requests",
480-
name="Concurrency",
481-
types=("median", "mean"),
480+
name="Per Sec",
481+
types=("mean",),
482482
)
483483
columns.add_stats(
484484
benchmark.metrics.prompt_tokens_per_second,
485485
status="total",
486486
group="Input Tokens",
487487
name="Per Sec",
488-
types=("median", "mean"),
488+
types=("mean",),
489489
)
490490
columns.add_stats(
491491
benchmark.metrics.output_tokens_per_second,
492492
status="total",
493493
group="Output Tokens",
494494
name="Per Sec",
495-
types=("median", "mean"),
495+
types=("mean",),
496496
)
497497
columns.add_stats(
498498
benchmark.metrics.tokens_per_second,
499499
status="total",
500500
group="Total Tokens",
501501
name="Per Sec",
502-
types=("median", "mean"),
502+
types=("mean",),
503503
)
504504

505505
headers, values = columns.get_table_data()

src/guidellm/schemas/base.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ class ReloadableBaseModel(BaseModel):
5656
use_enum_values=True,
5757
from_attributes=True,
5858
arbitrary_types_allowed=True,
59+
ser_json_bytes="base64",
60+
val_json_bytes="base64",
5961
)
6062

6163
@classmethod
@@ -169,6 +171,8 @@ class MyModel(StandardBaseModel):
169171
extra="ignore",
170172
use_enum_values=True,
171173
from_attributes=True,
174+
ser_json_bytes="base64",
175+
val_json_bytes="base64",
172176
)
173177

174178
@classmethod
@@ -198,6 +202,8 @@ class StandardBaseDict(StandardBaseModel):
198202
use_enum_values=True,
199203
from_attributes=True,
200204
arbitrary_types_allowed=True,
205+
ser_json_bytes="base64",
206+
val_json_bytes="base64",
201207
)
202208

203209

0 commit comments

Comments
 (0)