Pavel Iakubovskii
a1e389e637
Refactor return_dict logic to remove complicated if/else paths (#36794)
* SAM
* CLIP
* SigLIP
* GOT-OCR2 (depends on SAM)
* SigLIP2 (depends on SigLIP)
* trigger tests
* Fix SAM
* Fix missed indexing, use named attributes
* Llama
* Aria
* Bamba
* Update llama: missed outputs return type
* (fixup) Aria
* DiffLlama
* Emu3
* Gemma
* Gemma2
* Paligemma
* Fix paligemma
* Gemma3
* GLM
* Helium
* JetMoe
* Jamba
* Mistral
* Mistral
* Mixtral
* Nemotron
* Olmo
* Olmo2
* Persimmon
* Phi
* Phi3
* PhiMoe
* Qwen2
* Qwen2_moe
* StableLM
* Starcoder2
* Add return_dict decorator
* SAM
* Update decorator: compile, export, trace - friendly
* Llama (decorator)
* SAM (decorator)
* Add decorator `can_return_tuple`
* Llama
* Update to decorator
* Update CLIP
* Update decorator to store `_is_top_level_module` in self
* Update decorator to correctly handle compile/export
* Remove is_torchdynamo_compiling constraint, all work fine with self attribute assignment
* Typing
* GPT NeoX
* Fixup
* Fix attribute Granite
* Fix return type mixtral
* Update Gemma3
* Fix Cohere amd Cohere2
* Fixup
* Fix corner case for Phi4, when activation is shared
* (fix-copies) deepseekv3, phi4
* Fixup
* Apply to qwen3/qwen3_moe
* Fix
2025-03-31 16:23:37 +01:00
..
2024-09-10 11:10:53 +02:00
2022-04-19 16:13:08 +01:00
2025-01-24 16:55:28 +01:00
2025-03-17 17:45:57 +00:00
2025-03-27 15:20:02 +01:00
2024-05-22 15:23:04 +01:00
2025-03-27 15:01:56 +00:00
2025-01-20 19:15:34 +01:00
2024-08-23 11:12:53 +01:00
2024-12-05 17:02:27 +01:00
2023-04-06 14:00:29 +02:00
2025-01-23 09:47:54 +01:00
2024-06-26 21:59:08 +01:00
2023-05-24 15:40:19 -04:00
2025-03-18 23:39:50 +01:00
2024-12-05 17:02:27 +01:00
2023-02-27 15:31:55 +00:00
2025-03-31 16:23:37 +01:00
2024-10-10 11:58:26 +02:00
2025-03-12 13:39:25 +01:00
2024-12-05 17:02:27 +01:00
2025-03-24 14:08:29 +00:00
2024-09-20 20:58:51 +02:00
2025-03-17 16:09:09 +01:00
2023-02-28 16:24:14 -05:00
2024-08-13 07:59:01 +02:00
2024-06-26 21:59:08 +01:00
2025-02-19 15:13:27 +00:00
2025-03-17 17:45:57 +00:00
2025-02-19 15:13:27 +00:00
2025-02-19 15:13:27 +00:00
2025-03-31 16:12:58 +02:00
2025-03-13 17:26:09 +00:00
2024-09-17 14:44:27 -04:00
2023-02-06 18:10:56 -05:00
2024-12-05 17:02:27 +01:00
2024-01-15 18:36:40 +00:00
2024-10-31 15:48:11 -04:00