transformers
6a9193de - 🚨🚨 Rename `past_key_values`/`cache_params` to `cache` (#50585)

Commit
21 days ago
🚨🚨 Rename `past_key_values`/`cache_params` to `cache` (#50585) * update generate and masking * llama + attn integration + modular * external files * apply regex to all modulars + convert them * it is clean in all modulars + modelings * everywhere except doc and tests * small last 2 before tests and doc * cache.update with kwarg everywhere * add getattribute for BC * replace everywhere in tests * remove getattribute as it blocks compilation for some reason * replace in doc and examples everywhere * add properties for BC in outputs * always add all decorators with only deprecate_kwargs * early exit for CB * make ty and noisy comment happy * linear caches cannot try to restart from existing past * a few missing * all prepare_inputs_for_generation * a bit more * add all create_masks_for_generate and compute_3d_position_ids * better coverage for Outputs * fix for mambas * few fixes * fix test * new instances * fix eager paged * apply modular on latest merged model * fix last tests * add to latest models * add some bc tests * more bc tests * simplify test * meta class output for full BC and remote code
Author
Parents
Loading