text
stringlengths
5
175
^^^^^^^^^
)
^
File "/tmp/.cache/uv/environments-v2/266404edab20c8e0/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/266404edab20c8e0/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/266404edab20c8e0/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/266404edab20c8e0/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, datasets, torchvision. Run `pip install PIL datasets torchvision`
Traceback (most recent call last):
File "/tmp/Ovis-U1-3B_00tAlME.py", line 12, in <module>
model = AutoModelForCausalLM.from_pretrained("AIDC-AI/Ovis-U1-3B", trust_remote_code=True)
File "/tmp/.cache/uv/environments-v2/b195108139e3a210/lib/python3.13/site-packages/transformers/models/auto/auto_factory.py", line 547, in from_pretrained
config, kwargs = AutoConfig.from_pretrained(
~~~~~~~~~~~~~~~~~~~~~~~~~~^
pretrained_model_name_or_path,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<4 lines>...
**kwargs,
^^^^^^^^^
)
^
File "/tmp/.cache/uv/environments-v2/b195108139e3a210/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/b195108139e3a210/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/b195108139e3a210/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/b195108139e3a210/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/b195108139e3a210/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: flash_attn. Run `pip install flash_attn`
Traceback (most recent call last):
File "/tmp/Keye-VL-8B-Preview_0UgxGhz.py", line 12, in <module>
model = AutoModel.from_pretrained("Kwai-Keye/Keye-VL-8B-Preview", trust_remote_code=True)
File "/tmp/.cache/uv/environments-v2/c743694170be0295/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/c743694170be0295/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/c743694170be0295/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/c743694170be0295/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: einops. Run `pip install einops`
Traceback (most recent call last):
File "/tmp/ERNIE-4.5-0.3B-PT_03o1SH1.py", line 17, in <module>
pipe(messages)
~~~~^^^^^^^^^^
File "/tmp/.cache/uv/environments-v2/7372632145aaa0e9/lib/python3.13/site-packages/transformers/pipelines/text_generation.py", line 309, in __call__
return super().__call__(Chat(text_inputs), **kwargs)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/.cache/uv/environments-v2/7372632145aaa0e9/lib/python3.13/site-packages/transformers/pipelines/base.py", line 1464, in __call__
return self.run_single(inputs, preprocess_params, forward_params, postprocess_params)
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/.cache/uv/environments-v2/7372632145aaa0e9/lib/python3.13/site-packages/transformers/pipelines/base.py", line 1470, in run_single
model_inputs = self.preprocess(inputs, **preprocess_params)
File "/tmp/.cache/uv/environments-v2/7372632145aaa0e9/lib/python3.13/site-packages/transformers/pipelines/text_generation.py", line 345, in preprocess
inputs = self.tokenizer.apply_chat_template(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'apply_chat_template'
Traceback (most recent call last):
File "/tmp/jina-embeddings-v4_0GsRsYZ.py", line 12, in <module>
model = AutoModel.from_pretrained("jinaai/jina-embeddings-v4", trust_remote_code=True)
File "/tmp/.cache/uv/environments-v2/980726e6baa30c58/lib/python3.13/site-packages/transformers/models/auto/auto_factory.py", line 582, in from_pretrained