transformers
[core] Faster and thread-safe `check_model_inputs` implementation
#43765
Merged

[core] Faster and thread-safe `check_model_inputs` implementation #43765

Cyrilvallez merged 17 commits into main from hooks-instead-of-monkey-patching
Cyrilvallez
Cyrilvallez Cyrilvallez changed the title [core] Improve `check_model_inputs` mechanism [core] Faster and thread-safe `check_model_inputs` implementation 179 days ago
HuggingFaceDocBuilderDev
ArthurZucker
ArthurZucker commented on 2026-02-06
Cyrilvallez
Cyrilvallez poc
fa39f039
Cyrilvallez cleaner
9e08591b
Cyrilvallez style
ff16ee53
Cyrilvallez forgot name
43761371
Cyrilvallez fix all
e3278e7f
Cyrilvallez more fixes
b9c67653
Cyrilvallez oupsi
d9d4b681
Cyrilvallez fix
06d40c20
Cyrilvallez use only 1 contextvar
d203cbd4
Cyrilvallez lazy hook installation
c8e1250f
Cyrilvallez capture with lists instead of tuples
6918c68e
Cyrilvallez more bad-behaved model fixes
a8b86111
Cyrilvallez Cyrilvallez force pushed from 8a66f195 to a8b86111 178 days ago
Cyrilvallez style
8fbd99e0
Cyrilvallez move to dedicated file
d96aa12d
Cyrilvallez doc
59d062f1
Cyrilvallez
Cyrilvallez style
f7cadc57
github-actions
Cyrilvallez Merge branch 'main' into hooks-instead-of-monkey-patching
a686357d
ArthurZucker
ArthurZucker approved these changes on 2026-02-06
Cyrilvallez Cyrilvallez merged f8f2834e into main 178 days ago
Cyrilvallez Cyrilvallez deleted the hooks-instead-of-monkey-patching branch 178 days ago
O-J1
ArthurZucker
Cyrilvallez
ArthurZucker
O-J1

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone