MCPcopy Create free account
hub / github.com/NVIDIA/TensorRT-LLM / SampleRequest

Class SampleRequest

tensorrt_llm/serve/scripts/benchmark_dataset.py:204–212  ·  view source on GitHub ↗

Represents a single inference request for benchmarking.

Source from the content-addressed store, hash-verified

202
203@dataclass
204class 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# -----------------------------------------------------------------------------

Callers 12

sampleMethod · 0.85
sampleMethod · 0.85
sampleMethod · 0.85
sampleMethod · 0.85
sampleMethod · 0.85
sampleMethod · 0.85
sampleMethod · 0.85
sampleMethod · 0.85
sampleMethod · 0.85
sampleMethod · 0.85
sampleMethod · 0.85
sampleMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected