Manuel de Prada Corral
1aa7256f01
Refactor MambaCache to modeling_mamba.py (#38086)
* Refactor MambaCache to modeling_mamba.py (parity with Zamba)
* ruff
* fix dummies
* update
* update
* remove mamba ref in cache tests
* remove cache_implementation from tests
* update
* ruff
* ruff
* sneaky regression
* model consistency
* fix test_multi_gpu_data_parallel_forward
* fix falcon slow tests
* ruff
* ruff
* add sample false
* try to fix slow tests
* Revert "fix test_multi_gpu_data_parallel_forward"
This reverts commit 66b7162c7c5c5ce8a73ccf48cffc8a96343ebb33.
* fix tests on nvidia t4, remove dataparallel tests from mamba
* ruff
* remove DDP tests from mamba and falcon_mamba
* add explicit error for MambaCache
* mamba2 also needs to init cache in prepare_inputs_for_generation
* ruff
* ruff
* move MambaCache to its own file
* ruff
* unprotected import fix
* another attempt to fix unprotected imports
* Revert "another attempt to fix unprotected imports"
This reverts commit 2338354fcab630de5899321f5daced5fb312c2a2.
* fixing unprotected import, attempt 3
* Update src/transformers/cache_utils.py
* ruff's fault
* fix arthur review
* modular falcon mamba
* found a hack
* fix config docs
* fix docs
* add export info
* merge modular falcon branch
* oopsie
* fix fast path failing
* new approach
* oopsie
* fix types
* Revert new pragma in modular
This reverts commit 80b1cf160ee251536f07c40b8a0857d499e70db6.
* trying another modular workaround
* review & fix ci
* oopsie
* clear prepare_inputs on mamba/mamba2/falcon_mamba
2025-07-21 14:59:36 +02:00
..
2025-04-08 14:12:08 +02:00
2025-07-17 14:29:57 +00:00
2025-06-25 14:31:20 +00:00
2025-04-28 14:20:45 +01:00
2025-06-26 16:25:00 +01:00
2025-06-23 10:56:51 +02:00
2025-07-21 14:02:57 +02:00
2025-07-21 14:59:36 +02:00
2025-06-25 17:29:10 +00:00
2025-07-17 13:21:59 +00:00
2025-07-21 12:42:00 +00:00
2025-07-15 17:16:10 +02:00
2025-07-10 19:07:59 +01:00
2025-06-11 17:28:06 +01:00
2025-07-09 21:14:45 +00:00
2025-06-26 16:25:00 +01:00
2025-07-17 13:51:50 +01:00
2025-07-21 14:59:36 +02:00
2025-07-21 14:02:57 +02:00
2025-04-08 14:12:08 +02:00
2025-04-09 11:48:49 +02:00
2025-04-08 14:12:08 +02:00
2025-07-12 23:39:06 +00:00
2025-07-21 12:42:00 +00:00
2025-07-21 14:43:52 +02:00
2025-07-17 13:21:59 +00:00
2025-07-18 12:23:20 +00:00
2025-06-25 17:29:10 +00:00
2025-07-21 12:38:05 +00:00
2025-07-18 00:02:04 +00:00
2025-03-17 16:09:46 +01:00
2025-07-12 23:39:06 +00:00