Upload PowerInfer_SmallThinker-4BA0.6B-Instruct_1.txt with huggingface_hub
Browse files123457 unmodified lines131415161718Traceback (most recent call last):File "/tmp/PowerInfer_SmallThinker-4BA0.6B-Instruct_1zIcAfi.py", line 12, in <module>model = AutoModel.from_pretrained("PowerInfer/SmallThinker-4BA0.6B-Instruct", trust_remote_code=True, torch_dtype="auto"),~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File "/tmp/.cache/uv/environments-v2/bd16417a146fcbf6/lib/python3.13/site-packages/transformers/models/auto/auto_factory.py", line 582, in from_pretrained7 unmodified lines~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^File "<frozen importlib._bootstrap_external>", line 1026, in exec_moduleFile "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removedFile "/tmp/.cache/huggingface/modules/transformers_modules/PowerInfer/SmallThinker-4BA0.6B-Instruct/7f837c670856ca442ce012b8766028d35ba8d40e/modeling_smallthinker.py", line 16, in <module>from transformers.utils import LossKwargs, can_return_tuple, loggingImportError: cannot import name 'LossKwargs' from 'transformers.utils' (/tmp/.cache/uv/environments-v2/bd16417a146fcbf6/lib/python3.13/site-packages/transformers/utils/__init__.py)123457 unmodified lines131415161718Traceback (most recent call last):File "/tmp/PowerInfer_SmallThinker-4BA0.6B-Instruct_1XWEIi4.py", line 12, in <module>model = AutoModel.from_pretrained("PowerInfer/SmallThinker-4BA0.6B-Instruct", trust_remote_code=True, torch_dtype="auto"),~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File "/tmp/.cache/uv/environments-v2/bd16417a146fcbf6/lib/python3.13/site-packages/transformers/models/auto/auto_factory.py", line 582, in from_pretrained7 unmodified lines~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^File "<frozen importlib._bootstrap_external>", line 1026, in exec_moduleFile "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removedFile "/tmp/.cache/huggingface/modules/transformers_modules/PowerInfer/SmallThinker-4BA0.6B-Instruct/a24932bb880c85c04c794283202a9194b1b42709/modeling_smallthinker.py", line 16, in <module>from transformers.utils import LossKwargs, can_return_tuple, loggingImportError: cannot import name 'LossKwargs' from 'transformers.utils' (/tmp/.cache/uv/environments-v2/bd16417a146fcbf6/lib/python3.13/site-packages/transformers/utils/__init__.py)
PowerInfer_SmallThinker-4BA0.6B-Instruct_1.txt+2-2