Cache: use batch_size instead of max_batch_size (#32657)
* more precise name * better docstrings * Update src/transformers/cache_utils.py Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com> --------- Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com>
This commit is contained in:
@@ -75,6 +75,11 @@ OBJECTS_TO_IGNORE = [
|
||||
"TFSequenceSummary",
|
||||
"TFBertTokenizer",
|
||||
"TFGPT2Tokenizer",
|
||||
# Going through an argument deprecation cycle, remove after v4.46
|
||||
"HybridCache",
|
||||
"MambaCache",
|
||||
"SlidingWindowCache",
|
||||
"StaticCache",
|
||||
# Missing arguments in the docstring
|
||||
"ASTFeatureExtractor",
|
||||
"AlbertModel",
|
||||
|
||||
Reference in New Issue
Block a user