runtime error
versions of the code file, you can pin a revision. modeling_phi.py: 0%| | 0.00/62.7k [00:00<?, ?B/s][A modeling_phi.py: 100%|██████████| 62.7k/62.7k [00:00<00:00, 92.6MB/s] A new version of the following files was downloaded from https://huggingface.co/microsoft/phi-2: - modeling_phi.py . Make sure to double-check they do not contain any added malicious code. To avoid downloading new versions of the code file, you can pin a revision. Traceback (most recent call last): File "/home/user/app/app.py", line 18, in <module> model = AutoModelForCausalLM.from_pretrained( File "/home/user/.local/lib/python3.10/site-packages/transformers/models/auto/auto_factory.py", line 475, in from_pretrained model_class = get_class_from_dynamic_module( File "/home/user/.local/lib/python3.10/site-packages/transformers/dynamic_module_utils.py", line 443, in get_class_from_dynamic_module return get_class_in_module(class_name, final_module.replace(".py", "")) File "/home/user/.local/lib/python3.10/site-packages/transformers/dynamic_module_utils.py", line 164, in get_class_in_module module = importlib.import_module(module_path) File "/usr/local/lib/python3.10/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1050, in _gcd_import File "<frozen importlib._bootstrap>", line 1027, in _find_and_load File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 688, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 883, in exec_module File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "/home/user/.cache/huggingface/modules/transformers_modules/microsoft/phi-2/85d00b03fee509307549d823fdd095473ba5197c/modeling_phi.py", line 29, in <module> from transformers.cache_utils import Cache, DynamicCache ModuleNotFoundError: No module named 'transformers.cache_utils'
Container logs:
Fetching error logs...