Skip to content

Commit 3251a8c

Browse files
committed
mypy
1 parent 28f3515 commit 3251a8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

onnx_diagnostic/helpers/cache_helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ def is_cache_dynamic_registered(fast: bool = False) -> bool:
140140

141141

142142
def make_dynamic_shapes_kv_cache(
143-
cache: transformers.cache_utils.Cache, shape_of_one: Dict[str, Any]
143+
cache: transformers.cache_utils.Cache, shape_of_one: Dict[int, Any]
144144
) -> List[Dict[int, Any]]:
145145
"""
146146
Returns the dynamic shapes for key-value cache

0 commit comments

Comments
 (0)