runtime error
iguration_qwen.py: 0%| | 0.00/2.26k [00:00<?, ?B/s] Downloading (…)onfiguration_qwen.py: 100%|██████████| 2.26k/2.26k [00:00<00:00, 25.3MB/s] A new version of the following files was downloaded from https://huggingface.co/Qwen/Qwen-14B: - configuration_qwen.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. Downloading (…)ain/modeling_qwen.py: 0%| | 0.00/56.7k [00:00<?, ?B/s] Downloading (…)ain/modeling_qwen.py: 100%|██████████| 56.7k/56.7k [00:00<00:00, 201MB/s] Traceback (most recent call last): File "/home/user/app/app.py", line 6, in <module> pipe = pipeline("text-generation", model="Qwen/Qwen-14B", trust_remote_code=True) File "/home/user/.local/lib/python3.10/site-packages/transformers/pipelines/__init__.py", line 824, in pipeline framework, model = infer_framework_load_model( File "/home/user/.local/lib/python3.10/site-packages/transformers/pipelines/base.py", line 269, in infer_framework_load_model model = model_class.from_pretrained(model, **kwargs) File "/home/user/.local/lib/python3.10/site-packages/transformers/models/auto/auto_factory.py", line 550, 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 485, in get_class_from_dynamic_module final_module = get_cached_module_file( File "/home/user/.local/lib/python3.10/site-packages/transformers/dynamic_module_utils.py", line 313, in get_cached_module_file modules_needed = check_imports(resolved_module_file) File "/home/user/.local/lib/python3.10/site-packages/transformers/dynamic_module_utils.py", line 179, in check_imports raise ImportError( ImportError: This modeling file requires the following packages that were not found in your environment: transformers_stream_generator, einops. Run `pip install transformers_stream_generator einops`
Container logs:
Fetching error logs...