Skip to content

Commit 63576f3

Browse files
committed
static
1 parent f2ac838 commit 63576f3

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
@@ -188,7 +188,7 @@ def get_inputs(
188188
(batch_size, num_key_value_heads, sequence_length2, head_dim)
189189
).to(torch.bool),
190190
cache_position=torch.arange(sequence_length2).to(torch.int64),
191-
past_key_values=make_dynamic_cache(
191+
past_key_values=make_static_cache(
192192
[
193193
(
194194
torch.randn(

0 commit comments

Comments
 (0)