transformers
Allow capturing only necessary hidden_states with capture_outputs
#48081
Merged

Allow capturing only necessary hidden_states with capture_outputs #48081

sywangyi
sywangyi [feat] Add selective hidden-state capture via output_hidden_states_la…
8192b574
sywangyi sywangyi force pushed from e1a2dbb7 to 8192b574 94 days ago
github-actions
sywangyi update
eee0f667
ArthurZucker
ArthurZucker commented on 2026-08-19
sywangyi
sywangyi Merge branch 'main' into capture_specific_layer
2cb54f29
ArthurZucker
ArthurZucker
sywangyi add dflash case
475411f2
sywangyi
sywangyi format
14dc3bc6
sywangyi fmt
e40a9221
ArthurZucker
ArthurZucker commented on 2026-08-24
sywangyi remove unnecessary test
b3554bd4
Cyrilvallez use a single kwarg
d526f644
Cyrilvallez Merge branch 'main' into capture_specific_layer
34354802
Cyrilvallez add general test
b1bffe3b
github-actions
Cyrilvallez
Cyrilvallez Cyrilvallez changed the title Add selective hidden-state capture via output_hidden_states_layers. Allow capturing only necessary hidden_states with capture_outputs 81 days ago
github-actions
sywangyi
Cyrilvallez
Cyrilvallez Cyrilvallez merged 65f70d49 into main 80 days ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone