transformers
Fix memory leak issue in `torch_fx` tests
#18547
Merged

Fix memory leak issue in `torch_fx` tests #18547

ydshieh
HuggingFaceDocBuilderDev
ydshieh
ydshieh
ydshieh
ydshieh
ydshieh commented on 2022-08-10
ydshieh
ydshieh commented on 2022-08-10
ydshieh ydshieh requested a review from LysandreJik LysandreJik 3 years ago
ydshieh ydshieh requested a review from michaelbenayoun michaelbenayoun 3 years ago
ydshieh ydshieh removed review request from michaelbenayoun michaelbenayoun 3 years ago
ydshieh ydshieh requested a review from sgugger sgugger 3 years ago
ydshieh
ydshieh commented on 2022-08-10
sgugger
sgugger commented on 2022-08-10
ydshieh ydshieh requested a review from michaelbenayoun michaelbenayoun 3 years ago
michaelbenayoun
michaelbenayoun
michaelbenayoun commented on 2022-08-11
ydshieh
ydshieh ydshieh force pushed 3 years ago
ydshieh
michaelbenayoun
ydshieh
michaelbenayoun
michaelbenayoun approved these changes on 2022-08-22
ydshieh ydshieh force pushed 3 years ago
ydshieh
LysandreJik
LysandreJik approved these changes on 2022-08-24
ydshieh
ydshieh
ydshieh try to run torch_fx in a spawn process to avoid memory issue
656fd024
ydshieh fix quality
0902044e
ydshieh Update tests/test_modeling_common.py
f0973347
ydshieh Add comment
35399319
ydshieh simply call clear_torch_jit_class_registry
7d03df46
ydshieh ydshieh force pushed to 7d03df46 3 years ago
ydshieh
ydshieh ydshieh changed the title Run torch_fx tests in a spawn process to avoid memory issue Fix memory leak issue in `torch_fx` tests 3 years ago
ydshieh ydshieh merged 8b67f209 into main 3 years ago
ydshieh ydshieh deleted the fix_torch_fx_test_mem_issue branch 3 years ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone