Skip to content

Commit

Permalink
pre-commit done
Browse files Browse the repository at this point in the history
  • Loading branch information
BeachWang committed Sep 3, 2024
1 parent 379a721 commit 7c2bbb8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions data_juicer/utils/model_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -596,6 +596,4 @@ def free_models():
MODEL_ZOO[model_key].to('cpu')
except Exception:
pass
del MODEL_ZOO
global MODEL_ZOO
MODEL_ZOO = {}
MODEL_ZOO.clear()

0 comments on commit 7c2bbb8

Please sign in to comment.