Update fix_cache.py
Browse files- fix_cache.py +4 -3
fix_cache.py
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
from transformers.utils import move_cache
|
2 |
|
3 |
-
|
4 |
-
|
5 |
-
|
|
|
|
1 |
from transformers.utils import move_cache
|
2 |
|
3 |
+
def remove_old_cache():
|
4 |
+
print("Migrating old cache to the new format...")
|
5 |
+
move_cache()
|
6 |
+
print("Cache migration completed successfully.")
|