transformers
avoid calling `gc.collect` and `cuda.empty_cache`
#34514
Merged

avoid calling `gc.collect` and `cuda.empty_cache` #34514

ydshieh merged 5 commits into main from speed_no_empty
ydshieh
ydshieh ydshieh requested a review from Rocketknight1 Rocketknight1 1 year ago
Rocketknight1
Rocketknight1 approved these changes on 2024-10-30
ydshieh ydshieh changed the title Speed no empty avoid calling gc.collect and cuda.empty_cache 1 year ago
ydshieh ydshieh changed the title avoid calling gc.collect and cuda.empty_cache avoid calling `gc.collect` and `cuda.empty_cache` 1 year ago
ydshieh ydshieh requested a review from ArthurZucker ArthurZucker 1 year ago
ydshieh ydshieh requested a review from LysandreJik LysandreJik 1 year ago
LysandreJik
LysandreJik approved these changes on 2024-10-31
ydshieh
ydshieh ydshieh force pushed from 82e3adda 1 year ago
ydshieh
ydshieh ydshieh force pushed 1 year ago
ydshieh update
71832641
ydshieh update
d3af1c43
ydshieh update
7ef02acc
ydshieh update
86b67443
ydshieh update
18d6d5df
ydshieh ydshieh force pushed to 18d6d5df 1 year ago
ydshieh ydshieh merged ab98f0b0 into main 1 year ago
ydshieh ydshieh deleted the speed_no_empty branch 1 year ago
HuggingFaceDocBuilderDev

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone