Skip to content

Commit 9e4746b

Browse files
committed
returning logits and kv cache
1 parent 4484cd2 commit 9e4746b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

transfusion_pytorch/transfusion.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2176,7 +2176,8 @@ def forward(
21762176
tuple[tuple[Float['b _ _'], GetPredFlows], Tensor] |
21772177
Scalar |
21782178
tuple[Scalar, LossBreakdown] |
2179-
list[Float['b _ _']]
2179+
list[Float['b _ _']] |
2180+
tuple[Float['b _ l'], Tensor]
21802181
):
21812182
is_decoding = exists(decoding_text_or_modality)
21822183

0 commit comments

Comments
 (0)