runtime error
Exit code: 1. Reason: face.co/nvidia/NVLM-D-72B: - 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/nvidia/NVLM-D-72B: - configuration_nvlm_d.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/nvidia/NVLM-D-72B: - 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. Encountered exception while importing timm: No module named 'timm' Encountered exception while importing einops: No module named 'einops' Traceback (most recent call last): File "/home/user/app/app.py", line 6, in <module> model = AutoModelForCausalLM.from_pretrained(model_name, trust_remote_code=True) File "/usr/local/lib/python3.10/site-packages/transformers/models/auto/auto_factory.py", line 553, in from_pretrained model_class = get_class_from_dynamic_module( File "/usr/local/lib/python3.10/site-packages/transformers/dynamic_module_utils.py", line 540, 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 403, in get_cached_module_file get_cached_module_file( File "/usr/local/lib/python3.10/site-packages/transformers/dynamic_module_utils.py", line 365, 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 197, in check_imports raise ImportError( ImportError: This modeling file requires the following packages that were not found in your environment: timm, einops. Run `pip install timm einops`
Container logs:
Fetching error logs...