Upload microsoft_Phi-4-mini-flash-reasoning_1.txt with huggingface_hub
Browse files
microsoft_Phi-4-mini-flash-reasoning_1.txt
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Traceback (most recent call last):
|
| 2 |
+
File "/tmp/microsoft_Phi-4-mini-flash-reasoning_1SIZtHo.py", line 12, in <module>
|
| 3 |
+
model = AutoModelForCausalLM.from_pretrained("microsoft/Phi-4-mini-flash-reasoning", trust_remote_code=True)
|
| 4 |
+
File "/tmp/.cache/uv/environments-v2/1311277ab17e7af2/lib/python3.13/site-packages/transformers/models/auto/auto_factory.py", line 582, in from_pretrained
|
| 5 |
+
model_class = get_class_from_dynamic_module(
|
| 6 |
+
class_ref, pretrained_model_name_or_path, code_revision=code_revision, **hub_kwargs, **kwargs
|
| 7 |
+
)
|
| 8 |
+
File "/tmp/.cache/uv/environments-v2/1311277ab17e7af2/lib/python3.13/site-packages/transformers/dynamic_module_utils.py", line 570, in get_class_from_dynamic_module
|
| 9 |
+
final_module = get_cached_module_file(
|
| 10 |
+
repo_id,
|
| 11 |
+
...<8 lines>...
|
| 12 |
+
repo_type=repo_type,
|
| 13 |
+
)
|
| 14 |
+
File "/tmp/.cache/uv/environments-v2/1311277ab17e7af2/lib/python3.13/site-packages/transformers/dynamic_module_utils.py", line 393, in get_cached_module_file
|
| 15 |
+
modules_needed = check_imports(resolved_module_file)
|
| 16 |
+
File "/tmp/.cache/uv/environments-v2/1311277ab17e7af2/lib/python3.13/site-packages/transformers/dynamic_module_utils.py", line 225, in check_imports
|
| 17 |
+
raise ImportError(
|
| 18 |
+
...<2 lines>...
|
| 19 |
+
)
|
| 20 |
+
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`
|