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-05-09 15:26:27 +02:00
2022-02-23 15:46:28 -05:00
2025-01-24 16:55:28 +01:00
2025-06-26 16:25:00 +01:00
2025-07-08 17:06:12 +02:00
2025-05-08 17:46:07 -04:00
2024-05-22 15:23:04 +01:00
2025-07-21 14:59:36 +02:00
2025-04-08 14:12:08 +02:00
2025-04-30 12:15:43 +01:00
2025-07-18 13:41:54 +02:00
2023-04-06 14:00:29 +02:00
2025-05-09 08:45:01 +02:00
2025-06-25 17:29:10 +00:00
2023-05-24 15:40:19 -04:00
2025-06-13 16:14:58 +02:00
2025-04-08 14:12:08 +02:00
2025-06-26 16:25:00 +01:00
2025-07-05 11:34:28 +02:00
2025-07-17 15:47:31 +00:00
2025-04-22 11:38:10 +02:00
2025-04-08 14:12:08 +02:00
2025-05-12 11:55:51 +02:00
2025-07-17 13:21:59 +00:00
2025-03-17 16:09:09 +01:00
2023-02-28 16:24:14 -05:00
2025-07-10 18:53:40 +02:00
2025-06-13 11:07:09 +00:00
2025-04-18 16:45:54 +02:00
2025-04-08 14:12:08 +02:00
2025-07-10 05:18:44 +00:00
2025-07-18 13:41:54 +02:00
2025-04-08 14:12:08 +02:00
2025-05-09 08:45:01 +02:00
2025-04-08 14:12:08 +02:00
2025-04-10 20:54:21 +02:00
2025-06-25 08:23:37 +00:00
2024-10-31 15:48:11 -04:00