Upload PowerInfer_SmallThinker-4BA0.6B-Instruct_0.txt with huggingface_hub
Browse files1234518 unmodified lines242526272829Traceback (most recent call last):File "/tmp/PowerInfer_SmallThinker-4BA0.6B-Instruct_0Z4rHIJ.py", line 13, in <module>pipe = pipeline("text-generation", model="PowerInfer/SmallThinker-4BA0.6B-Instruct", trust_remote_code=True)File "/tmp/.cache/uv/environments-v2/7e8796ae6da29274/lib/python3.13/site-packages/transformers/pipelines/__init__.py", line 1008, in pipelineframework, model = infer_framework_load_model(18 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/7e8796ae6da29274/lib/python3.13/site-packages/transformers/utils/__init__.py)1234518 unmodified lines242526272829Traceback (most recent call last):File "/tmp/PowerInfer_SmallThinker-4BA0.6B-Instruct_0zMfWpW.py", line 13, in <module>pipe = pipeline("text-generation", model="PowerInfer/SmallThinker-4BA0.6B-Instruct", trust_remote_code=True)File "/tmp/.cache/uv/environments-v2/7e8796ae6da29274/lib/python3.13/site-packages/transformers/pipelines/__init__.py", line 1008, in pipelineframework, model = infer_framework_load_model(18 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/7e8796ae6da29274/lib/python3.13/site-packages/transformers/utils/__init__.py)
PowerInfer_SmallThinker-4BA0.6B-Instruct_0.txt+2-2