ariG23498 HF Staff commited on
Commit
ff19152
·
verified ·
1 Parent(s): 85d8d56

Upload microsoft_Phi-4-mini-flash-reasoning_0.txt with huggingface_hub

Browse files
microsoft_Phi-4-mini-flash-reasoning_0.txt ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Traceback (most recent call last):
2
+ File "/tmp/microsoft_Phi-4-mini-flash-reasoning_0ueWcuA.py", line 13, in <module>
3
+ pipe = pipeline("text-generation", model="microsoft/Phi-4-mini-flash-reasoning", trust_remote_code=True)
4
+ File "/tmp/.cache/uv/environments-v2/4926ae9e86f11c3f/lib/python3.13/site-packages/transformers/pipelines/__init__.py", line 1030, in pipeline
5
+ framework, model = infer_framework_load_model(
6
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~^
7
+ adapter_path if adapter_path is not None else model,
8
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
9
+ ...<5 lines>...
10
+ **model_kwargs,
11
+ ^^^^^^^^^^^^^^^
12
+ )
13
+ ^
14
+ File "/tmp/.cache/uv/environments-v2/4926ae9e86f11c3f/lib/python3.13/site-packages/transformers/pipelines/base.py", line 292, in infer_framework_load_model
15
+ model = model_class.from_pretrained(model, **kwargs)
16
+ File "/tmp/.cache/uv/environments-v2/4926ae9e86f11c3f/lib/python3.13/site-packages/transformers/models/auto/auto_factory.py", line 582, in from_pretrained
17
+ model_class = get_class_from_dynamic_module(
18
+ class_ref, pretrained_model_name_or_path, code_revision=code_revision, **hub_kwargs, **kwargs
19
+ )
20
+ File "/tmp/.cache/uv/environments-v2/4926ae9e86f11c3f/lib/python3.13/site-packages/transformers/dynamic_module_utils.py", line 570, in get_class_from_dynamic_module
21
+ final_module = get_cached_module_file(
22
+ repo_id,
23
+ ...<8 lines>...
24
+ repo_type=repo_type,
25
+ )
26
+ File "/tmp/.cache/uv/environments-v2/4926ae9e86f11c3f/lib/python3.13/site-packages/transformers/dynamic_module_utils.py", line 393, in get_cached_module_file
27
+ modules_needed = check_imports(resolved_module_file)
28
+ File "/tmp/.cache/uv/environments-v2/4926ae9e86f11c3f/lib/python3.13/site-packages/transformers/dynamic_module_utils.py", line 225, in check_imports
29
+ raise ImportError(
30
+ ...<2 lines>...
31
+ )
32
+ ImportError: This modeling file requires the following packages that were not found in your environment: causal_conv1d, causal_conv1d_cuda, einops, flash_attn, mamba_ssm, selective_scan_cuda. Run `pip install causal_conv1d causal_conv1d_cuda einops flash_attn mamba_ssm selective_scan_cuda`