We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28f3515 commit 3251a8cCopy full SHA for 3251a8c
onnx_diagnostic/helpers/cache_helper.py
@@ -140,7 +140,7 @@ def is_cache_dynamic_registered(fast: bool = False) -> bool:
140
141
142
def make_dynamic_shapes_kv_cache(
143
- cache: transformers.cache_utils.Cache, shape_of_one: Dict[str, Any]
+ cache: transformers.cache_utils.Cache, shape_of_one: Dict[int, Any]
144
) -> List[Dict[int, Any]]:
145
"""
146
Returns the dynamic shapes for key-value cache
0 commit comments