Skip to content

Commit 97199b4

Browse files
committed
mypy
1 parent 4d45b48 commit 97199b4

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
@@ -483,7 +483,7 @@ class _config:
483483
sliding_window = _sliding_window
484484

485485
if layer_types:
486-
_config.layer_types = layer_types
486+
_config.layer_types = layer_types # type: ignore[attr-defined]
487487

488488
cache = transformers.cache_utils.HybridCache(
489489
config=_config(), max_cache_len=max_cache_len, max_batch_size=max_batch_size

0 commit comments

Comments
 (0)