runtime error
Exit code: 1. Reason: site-packages (from jinja2->torch->flash-attn) (2.1.5) Requirement already satisfied: mpmath<1.4,>=1.1.0 in /usr/local/lib/python3.10/site-packages (from sympy->torch->flash-attn) (1.3.0) [notice] A new release of pip is available: 24.2 -> 25.2 [notice] To update, run: /usr/local/bin/python -m pip install --upgrade pip A new version of the following files was downloaded from https://huggingface.co/microsoft/Florence-2-base: - configuration_florence2.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/microsoft/Florence-2-base: - modeling_florence2.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 547, in <module> from prompt import (PromptGenerator, HuggingFaceInferenceNode, florence_caption, File "/home/user/app/prompt.py", line 21, in <module> florence_model = AutoModelForCausalLM.from_pretrained('microsoft/Florence-2-base', trust_remote_code=True).to("cpu").eval() 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 514, in get_class_from_dynamic_module return get_class_in_module(class_name, final_module) File "/usr/local/lib/python3.10/site-packages/transformers/dynamic_module_utils.py", line 212, in get_class_in_module module_spec.loader.exec_module(module) File "/home/user/.cache/huggingface/modules/transformers_modules/microsoft/Florence-2-base/5ca5edf5bd017b9919c05d08aebef5e4c7ac3bac/modeling_florence2.py", line 29, in <module> from timm.layers import DropPath, trunc_normal_ ModuleNotFoundError: No module named 'timm.layers'
Container logs:
Fetching error logs...