TensorRT-LLMs/tests/unittest/api_stability/references_committed/completion_output.yaml
Enwei Zhu 224469b096
test: [TRTLLM-4334] Create 1.0 criteria scope from API stability references (#3069)
* committed APIs validation

Signed-off-by: Enwei Zhu <21126786+syuoni@users.noreply.github.com>

* fix

Signed-off-by: Enwei Zhu <21126786+syuoni@users.noreply.github.com>

* clean name

Signed-off-by: Enwei Zhu <21126786+syuoni@users.noreply.github.com>

* separate

Signed-off-by: Enwei Zhu <21126786+syuoni@users.noreply.github.com>

* add TODOs

Signed-off-by: Enwei Zhu <21126786+syuoni@users.noreply.github.com>

* fix naming

Signed-off-by: Enwei Zhu <21126786+syuoni@users.noreply.github.com>

* fix

Signed-off-by: Enwei Zhu <21126786+syuoni@users.noreply.github.com>

---------

Signed-off-by: Enwei Zhu <21126786+syuoni@users.noreply.github.com>
2025-03-26 18:14:35 +08:00

28 lines
700 B
YAML

methods:
__init__:
parameters:
index:
annotation: int
default: inspect._empty
text:
annotation: str
default: ''
token_ids:
annotation: Optional[List[int]]
default: null
finish_reason:
annotation: Optional[Literal['stop', 'length', 'timeout', 'cancelled']]
default: null
stop_reason:
annotation: Union[int, str, NoneType]
default: null
generation_logits:
annotation: Optional[torch.Tensor]
default: null
# TODO [TRTLLM-1049]
# logprobs:
# annotation: Optional[SampleLogprobs]
# default: null
return_annotation: None
properties: {}