guidellm.schemas.benchmark.outputs
BenchmarkOutputArgs
Bases: PydanticClassRegistryMixin['BenchmarkOutputArgs'], ABC
Base class for output creation arguments.
This class serves as a base for defining argument models used in the creation of output instances. It inherits from PydanticClassRegistryMixin to enable automatic registration of subclasses, allowing for flexible and extensible output configurations.
Attributes:
| Name | Type | Description |
|---|---|---|
schema_discriminator | str | Field name for polymorphic deserialization |
Source code in src/guidellm/schemas/benchmark/outputs/output.py
__pydantic_schema_base_type__() classmethod
Return base type for polymorphic validation hierarchy.
Returns:
| Type | Description |
|---|---|
type[BenchmarkOutputArgs] | Base BenchmarkOutputArgs class for schema validation |
Source code in src/guidellm/schemas/benchmark/outputs/output.py
CSVBenchmarkOutputArgs
Bases: BenchmarkOutputArgs
Model for CSV benchmark output arguments.
Source code in src/guidellm/schemas/benchmark/outputs/csv.py
ConsoleBenchmarkOutputArgs
Bases: BenchmarkOutputArgs
Base class for console benchmark output arguments.
Source code in src/guidellm/schemas/benchmark/outputs/console.py
HTMLBenchmarkOutputArgs
Bases: BenchmarkOutputArgs
Model for HTML benchmark output arguments.
Source code in src/guidellm/schemas/benchmark/outputs/html.py
JSONBenchmarkOutputArgs
Bases: BenchmarkOutputArgs
Model for JSON benchmark output arguments.
Source code in src/guidellm/schemas/benchmark/outputs/serialized.py
PlotBenchmarkOutputArgs
Bases: BenchmarkOutputArgs
Model for Plot benchmark output arguments.
Defines parameters for generating static image visualizations, enforcing image output suffix.
Source code in src/guidellm/schemas/benchmark/outputs/plot.py
validate_plot_suffix(v) classmethod
Ensures the output file path ends with a supported plotting format extension.
If the suffix is missing, it defaults to .png. If an unsupported suffix is provided, it raises a ValueError.
Source code in src/guidellm/schemas/benchmark/outputs/plot.py
YAMLBenchmarkOutputArgs
Bases: BenchmarkOutputArgs
Model for YAML benchmark output arguments.