transformers
Create the return value on device to avoid unnecessary copying from CPU
#26151
Merged

Create the return value on device to avoid unnecessary copying from CPU #26151

ArthurZucker merged 1 commit into huggingface:main from perf_fix
mksit
mksit Create the return value on device to avoid unnecessary copying from CPU
9eda98d9
ArthurZucker
ArthurZucker commented on 2023-09-13
mksit
ArthurZucker ArthurZucker requested a review from fxmarty fxmarty 2 years ago
fxmarty
mksit
fxmarty
fxmarty approved these changes on 2023-09-16
fxmarty fxmarty requested a review from ArthurZucker ArthurZucker 2 years ago
ArthurZucker
ArthurZucker approved these changes on 2023-09-18
ArthurZucker ArthurZucker merged 97f439ae into main 2 years ago
HuggingFaceDocBuilderDev

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone