Upload Ovis-U1-3B_0.txt with huggingface_hub
Browse files- Ovis-U1-3B_0.txt +40 -0
Ovis-U1-3B_0.txt
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Traceback (most recent call last):
|
2 |
+
File "/tmp/Ovis-U1-3B_0CKchcF.py", line 12, in <module>
|
3 |
+
model = AutoModelForCausalLM.from_pretrained("AIDC-AI/Ovis-U1-3B", trust_remote_code=True)
|
4 |
+
File "/tmp/.cache/uv/environments-v2/1f869e61c4b2560b/lib/python3.13/site-packages/transformers/models/auto/auto_factory.py", line 547, in from_pretrained
|
5 |
+
config, kwargs = AutoConfig.from_pretrained(
|
6 |
+
~~~~~~~~~~~~~~~~~~~~~~~~~~^
|
7 |
+
pretrained_model_name_or_path,
|
8 |
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
9 |
+
...<4 lines>...
|
10 |
+
**kwargs,
|
11 |
+
^^^^^^^^^
|
12 |
+
)
|
13 |
+
^
|
14 |
+
File "/tmp/.cache/uv/environments-v2/1f869e61c4b2560b/lib/python3.13/site-packages/transformers/models/auto/configuration_auto.py", line 1211, in from_pretrained
|
15 |
+
config_class = get_class_from_dynamic_module(
|
16 |
+
class_ref, pretrained_model_name_or_path, code_revision=code_revision, **kwargs
|
17 |
+
)
|
18 |
+
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
|
19 |
+
final_module = get_cached_module_file(
|
20 |
+
repo_id,
|
21 |
+
...<8 lines>...
|
22 |
+
repo_type=repo_type,
|
23 |
+
)
|
24 |
+
File "/tmp/.cache/uv/environments-v2/1f869e61c4b2560b/lib/python3.13/site-packages/transformers/dynamic_module_utils.py", line 433, in get_cached_module_file
|
25 |
+
get_cached_module_file(
|
26 |
+
~~~~~~~~~~~~~~~~~~~~~~^
|
27 |
+
pretrained_model_name_or_path,
|
28 |
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
29 |
+
...<8 lines>...
|
30 |
+
_commit_hash=commit_hash,
|
31 |
+
^^^^^^^^^^^^^^^^^^^^^^^^^
|
32 |
+
)
|
33 |
+
^
|
34 |
+
File "/tmp/.cache/uv/environments-v2/1f869e61c4b2560b/lib/python3.13/site-packages/transformers/dynamic_module_utils.py", line 393, in get_cached_module_file
|
35 |
+
modules_needed = check_imports(resolved_module_file)
|
36 |
+
File "/tmp/.cache/uv/environments-v2/1f869e61c4b2560b/lib/python3.13/site-packages/transformers/dynamic_module_utils.py", line 225, in check_imports
|
37 |
+
raise ImportError(
|
38 |
+
...<2 lines>...
|
39 |
+
)
|
40 |
+
ImportError: This modeling file requires the following packages that were not found in your environment: flash_attn. Run `pip install flash_attn`
|