Skip to content

Commit df3ad9b

Browse files
committed
fix mypy
1 parent d65493b commit df3ad9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

onnx_diagnostic/tasks/text_generation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ def get_inputs(
247247
)
248248
.to(torch.int64)
249249
.expand((batch_size, -1)),
250-
past_key_values=make_cache(
250+
past_key_values=make_cache( # type: ignore[operator]
251251
[
252252
(
253253
torch.randn(

0 commit comments

Comments
 (0)