Upload PowerInfer_SmallThinker-4BA0.6B-Instruct_1.txt with huggingface_hub
Browse files
PowerInfer_SmallThinker-4BA0.6B-Instruct_1.txt
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Traceback (most recent call last):
|
2 |
+
File "/tmp/PowerInfer_SmallThinker-4BA0.6B-Instruct_1EdfR35.py", line 12, in <module>
|
3 |
+
model = AutoModel.from_pretrained("PowerInfer/SmallThinker-4BA0.6B-Instruct", trust_remote_code=True, torch_dtype="auto"),
|
4 |
+
~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
5 |
+
File "/tmp/.cache/uv/environments-v2/bd16417a146fcbf6/lib/python3.13/site-packages/transformers/models/auto/auto_factory.py", line 582, in from_pretrained
|
6 |
+
model_class = get_class_from_dynamic_module(
|
7 |
+
class_ref, pretrained_model_name_or_path, code_revision=code_revision, **hub_kwargs, **kwargs
|
8 |
+
)
|
9 |
+
File "/tmp/.cache/uv/environments-v2/bd16417a146fcbf6/lib/python3.13/site-packages/transformers/dynamic_module_utils.py", line 582, in get_class_from_dynamic_module
|
10 |
+
return get_class_in_module(class_name, final_module, force_reload=force_download)
|
11 |
+
File "/tmp/.cache/uv/environments-v2/bd16417a146fcbf6/lib/python3.13/site-packages/transformers/dynamic_module_utils.py", line 277, in get_class_in_module
|
12 |
+
module_spec.loader.exec_module(module)
|
13 |
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^
|
14 |
+
File "<frozen importlib._bootstrap_external>", line 1026, in exec_module
|
15 |
+
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
|
16 |
+
File "/tmp/.cache/huggingface/modules/transformers_modules/PowerInfer/SmallThinker-4BA0.6B-Instruct/7f837c670856ca442ce012b8766028d35ba8d40e/modeling_smallthinker.py", line 16, in <module>
|
17 |
+
from transformers.utils import LossKwargs, can_return_tuple, logging
|
18 |
+
ImportError: cannot import name 'LossKwargs' from 'transformers.utils' (/tmp/.cache/uv/environments-v2/bd16417a146fcbf6/lib/python3.13/site-packages/transformers/utils/__init__.py)
|