Cyril Vallez
071a161d3e
[core] Large/full refactor of from_pretrained (#36033)
* squash everything together
start to simplify inner logic
Update modeling_utils.py
Update modeling_utils.py
Update modeling_utils.py
Update modeling_utils.py
continue refactor
fix
small fixes
add type hints/docstring
Update modeling_utils.py
remove _fast_init
keep improving
Update modeling_utils.py
Update modeling_utils.py
new first tp loading version
style
fix weird in-place op
trigger CIs
Update modeling_utils.py
much clearer renaming of keys
fix
update
Update test_modeling_common.py
trigger CIs
update
update
style
Update modeling_utils.py
Update modeling_utils.py
Update modeling_utils.py
fix
fast download first prototype
remove old function
remove old functions
Remove unused function and move back _get_tp_registry
fix tp plan registry
simplify
CIs
Update hub.py
Update modeling_utils.py
simplify
simplify renaming logic
remove unused check
add sanity check back (a test depends on it)
Update modeling_utils.py
finalize sound renaming logic
style
add forgotten check
Update modeling_utils.py
add key_mapping keyword
style
Update modeling_utils.py
add comment
minor updates
minor change for clarity
fix small prefix issue and simplify
style
trigger CIs
typo fix
Post rebase fix
post rebase cleanup
simplify tp
typo
oupsi
typo
correctly escape
improvements based on Marc's review
finalize Marc's review comments
squash everything
* improve
* Update modeling_utils.py
* Update modeling_utils.py
* fix
* Update modeling_utils.py
* Update modeling_utils.py
* style
* Update modeling_utils.py
* simplify
* style
* Update modeling_utils.py
* Update modeling_utils.py
* Update modeling_utils.py
* Update modeling_utils.py
* Update modeling_utils.py
* Update modeling_utils.py
* fix dtype issue
* Update modeling_utils.py
* style
* remove test that does not make sense
* style
* small fixes
* style
* fix
* cleanup after rebase
* style
* typo
* escape
* tp for task specific top modules
* Update modeling_utils.py
* Update modeling_utils.py
* fix allocation
* CIs
* CIs
* CIs
* improve docstring
* CIs
* Update modeling_utils.py
* fix
2025-03-12 13:39:25 +01:00
..
2024-09-10 11:10:53 +02:00
2022-02-23 15:46:28 -05:00
2022-04-19 16:13:08 +01:00
2025-01-24 16:55:28 +01:00
2025-02-19 11:55:11 +00:00
2024-07-23 14:54:38 +08:00
2024-05-22 15:23:04 +01:00
2025-02-27 11:48:57 +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
2024-12-05 17:02:27 +01:00
2023-02-27 15:31:55 +00:00
2024-06-10 12:35:10 +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-02-13 17:14:30 -05:00
2024-09-20 20:58:51 +02:00
2025-02-13 14:27:55 +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-01-09 11:09:09 +01:00
2025-02-19 15:13:27 +00:00
2025-02-19 15:13:27 +00:00
2025-03-12 13:39:25 +01:00
2024-05-29 11:55:43 +01: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