runtime error
lowing files was downloaded from https://huggingface.co./OpenGVLab/InternVL-Chat-V1-5: - configuration_intern_vit.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. A new version of the following files was downloaded from https://huggingface.co./OpenGVLab/InternVL-Chat-V1-5: - configuration_internvl_chat.py - configuration_internlm2.py - configuration_intern_vit.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. A new version of the following files was downloaded from https://huggingface.co./OpenGVLab/InternVL-Chat-V1-5: - conversation.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 8, in <module> model = AutoModel.from_pretrained("OpenGVLab/InternVL-Chat-V1-5", trust_remote_code=True) File "/usr/local/lib/python3.10/site-packages/transformers/models/auto/auto_factory.py", line 551, in from_pretrained model_class = get_class_from_dynamic_module( File "/usr/local/lib/python3.10/site-packages/transformers/dynamic_module_utils.py", line 502, in get_class_from_dynamic_module final_module = get_cached_module_file( File "/usr/local/lib/python3.10/site-packages/transformers/dynamic_module_utils.py", line 365, in get_cached_module_file get_cached_module_file( File "/usr/local/lib/python3.10/site-packages/transformers/dynamic_module_utils.py", line 327, in get_cached_module_file modules_needed = check_imports(resolved_module_file) File "/usr/local/lib/python3.10/site-packages/transformers/dynamic_module_utils.py", line 182, in check_imports raise ImportError( ImportError: This modeling file requires the following packages that were not found in your environment: flash_attn, einops. Run `pip install flash_attn einops`
Container logs:
Fetching error logs...