text
stringlengths
0
759
~~~~~~~~~~~~~~~~~~~~~~~~~~^
pretrained_model_name_or_path,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<4 lines>...
**kwargs,
^^^^^^^^^
)
^
File "/tmp/.cache/uv/environments-v2/1f869e61c4b2560b/lib/python3.13/site-packages/transformers/models/auto/configuration_auto.py", line 1211, in from_pretrained
config_class = get_class_from_dynamic_module(
class_ref, pretrained_model_name_or_path, code_revision=code_revision, **kwargs
)
File "/tmp/.cache/uv/environments-v2/1f869e61c4b2560b/lib/python3.13/site-packages/transformers/dynamic_module_utils.py", line 570, in get_class_from_dynamic_module
final_module = get_cached_module_file(
repo_id,
...<8 lines>...
repo_type=repo_type,
)
File "/tmp/.cache/uv/environments-v2/1f869e61c4b2560b/lib/python3.13/site-packages/transformers/dynamic_module_utils.py", line 433, in get_cached_module_file
get_cached_module_file(
~~~~~~~~~~~~~~~~~~~~~~^
pretrained_model_name_or_path,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<8 lines>...
_commit_hash=commit_hash,
^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/tmp/.cache/uv/environments-v2/1f869e61c4b2560b/lib/python3.13/site-packages/transformers/dynamic_module_utils.py", line 393, in get_cached_module_file
modules_needed = check_imports(resolved_module_file)
File "/tmp/.cache/uv/environments-v2/1f869e61c4b2560b/lib/python3.13/site-packages/transformers/dynamic_module_utils.py", line 225, in check_imports
raise ImportError(
...<2 lines>...
)
ImportError: This modeling file requires the following packages that were not found in your environment: PIL, diffusers, einops, torchvision. Run `pip install PIL diffusers einops torchvision`
No suitable GPU found for PowerInfer/SmallThinker-21BA3B-Instruct | 52.08 GB VRAM requirement
No suitable GPU found for PowerInfer/SmallThinker-21BA3B-Instruct | 52.08 GB VRAM requirement
Traceback (most recent call last):
File "/tmp/PowerInfer_SmallThinker-4BA0.6B-Instruct_0h8eINI.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 pipeline
framework, model = infer_framework_load_model(
~~~~~~~~~~~~~~~~~~~~~~~~~~^
adapter_path if adapter_path is not None else model,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<5 lines>...
**model_kwargs,
^^^^^^^^^^^^^^^
)
^
File "/tmp/.cache/uv/environments-v2/7e8796ae6da29274/lib/python3.13/site-packages/transformers/pipelines/base.py", line 292, in infer_framework_load_model
model = model_class.from_pretrained(model, **kwargs)
File "/tmp/.cache/uv/environments-v2/7e8796ae6da29274/lib/python3.13/site-packages/transformers/models/auto/auto_factory.py", line 582, in from_pretrained
model_class = get_class_from_dynamic_module(
class_ref, pretrained_model_name_or_path, code_revision=code_revision, **hub_kwargs, **kwargs
)
File "/tmp/.cache/uv/environments-v2/7e8796ae6da29274/lib/python3.13/site-packages/transformers/dynamic_module_utils.py", line 582, in get_class_from_dynamic_module
return get_class_in_module(class_name, final_module, force_reload=force_download)
File "/tmp/.cache/uv/environments-v2/7e8796ae6da29274/lib/python3.13/site-packages/transformers/dynamic_module_utils.py", line 277, in get_class_in_module
module_spec.loader.exec_module(module)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^
File "<frozen importlib._bootstrap_external>", line 1026, in exec_module
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File "/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, logging
ImportError: cannot import name 'LossKwargs' from 'transformers.utils' (/tmp/.cache/uv/environments-v2/7e8796ae6da29274/lib/python3.13/site-packages/transformers/utils/__init__.py)
Traceback (most recent call last):
File "/tmp/PowerInfer_SmallThinker-4BA0.6B-Instruct_1ieOiRI.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_pretrained
model_class = get_class_from_dynamic_module(
class_ref, pretrained_model_name_or_path, code_revision=code_revision, **hub_kwargs, **kwargs
)
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
return get_class_in_module(class_name, final_module, force_reload=force_download)
File "/tmp/.cache/uv/environments-v2/bd16417a146fcbf6/lib/python3.13/site-packages/transformers/dynamic_module_utils.py", line 277, in get_class_in_module
module_spec.loader.exec_module(module)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^
File "<frozen importlib._bootstrap_external>", line 1026, in exec_module
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File "/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, logging
ImportError: cannot import name 'LossKwargs' from 'transformers.utils' (/tmp/.cache/uv/environments-v2/bd16417a146fcbf6/lib/python3.13/site-packages/transformers/utils/__init__.py)
Traceback (most recent call last):
File "/tmp/Qwen_Qwen-Image_0WuITTz.py", line 18, in <module>
pipe = DiffusionPipeline.from_pretrained("Qwen/Qwen-Image")
File "/tmp/.cache/uv/environments-v2/a67077143caa30c7/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
return fn(*args, **kwargs)
File "/tmp/.cache/uv/environments-v2/a67077143caa30c7/lib/python3.13/site-packages/diffusers/pipelines/pipeline_utils.py", line 833, in from_pretrained
cached_folder = cls.download(
pretrained_model_name_or_path,
...<14 lines>...
**kwargs,
)
File "/tmp/.cache/uv/environments-v2/a67077143caa30c7/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
return fn(*args, **kwargs)
File "/tmp/.cache/uv/environments-v2/a67077143caa30c7/lib/python3.13/site-packages/diffusers/pipelines/pipeline_utils.py", line 1543, in download
pipeline_class = _get_pipeline_class(
cls,