Create fix_cache.py
Browse files- fix_cache.py +5 -0
fix_cache.py
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from transformers.utils import move_cache
|
2 |
+
|
3 |
+
print("Migrating old cache to the new format...")
|
4 |
+
move_cache()
|
5 |
+
print("Cache migration completed successfully.")
|