transformers
Option to set 'non_blocking' for to(device) in BatchEncoding and BatchFeature
#34883
Merged

Option to set 'non_blocking' for to(device) in BatchEncoding and BatchFeature #34883

daniel-bogdoll
Option to set 'non_blocking' for to(device) operation for performance…
88eddf86
qubvel
qubvel commented on 2024-11-22
daniel-bogdoll
qubvel
qubvel
daniel-bogdoll
Enabling non_blocking in to() operation of BatchFeature.
08f5d4b3
daniel-bogdoll daniel-bogdoll changed the title Option to set 'non_blocking' for to(device) operation in BatchEncoding Option to set 'non_blocking' for to(device) in BatchEncoding and BatchFeature 1 year ago
qubvel
Improved docstring on utilization of non_blocking
9f465d7c
daniel-bogdoll
qubvel
qubvel approved these changes on 2024-11-25
daniel-bogdoll Force non_blocking as keyword argument
4e8e786d
qubvel qubvel requested a review from LysandreJik LysandreJik 1 year ago
daniel-bogdoll Merge branch 'main' into batch-encoding-with-non_blocking-option
2d2fe861
qubvel
ArthurZucker
ArthurZucker commented on 2024-12-05
ArthurZucker
ArthurZucker approved these changes on 2024-12-09
ArthurZucker ArthurZucker merged de8a0b75 into main 1 year ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone