Represents a single inference request for benchmarking.
| 202 | |
| 203 | @dataclass |
| 204 | class SampleRequest: |
| 205 | """ |
| 206 | Represents a single inference request for benchmarking. |
| 207 | """ |
| 208 | |
| 209 | prompt: Union[str, Any] |
| 210 | prompt_len: int |
| 211 | expected_output_len: int |
| 212 | multi_modal_data: Optional[dict] = None |
| 213 | |
| 214 | |
| 215 | # ----------------------------------------------------------------------------- |