Upload vikhyatk_moondream2_1.txt with huggingface_hub
Browse files
vikhyatk_moondream2_1.txt
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
Traceback (most recent call last):
|
| 2 |
-
File "/tmp/
|
| 3 |
-
model = AutoModelForCausalLM.from_pretrained("vikhyatk/moondream2", trust_remote_code=True)
|
| 4 |
-
File "/tmp/.cache/uv/environments-v2/bcc096a30bc4de06/lib/python3.13/site-packages/transformers/models/auto/auto_factory.py", line
|
| 5 |
config, kwargs = AutoConfig.from_pretrained(
|
| 6 |
~~~~~~~~~~~~~~~~~~~~~~~~~~^
|
| 7 |
pretrained_model_name_or_path,
|
|
@@ -11,17 +11,17 @@ Traceback (most recent call last):
|
|
| 11 |
^^^^^^^^^
|
| 12 |
)
|
| 13 |
^
|
| 14 |
-
File "/tmp/.cache/uv/environments-v2/bcc096a30bc4de06/lib/python3.13/site-packages/transformers/models/auto/configuration_auto.py", line
|
| 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/bcc096a30bc4de06/lib/python3.13/site-packages/transformers/dynamic_module_utils.py", line
|
| 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/bcc096a30bc4de06/lib/python3.13/site-packages/transformers/dynamic_module_utils.py", line
|
| 25 |
get_cached_module_file(
|
| 26 |
~~~~~~~~~~~~~~~~~~~~~~^
|
| 27 |
pretrained_model_name_or_path,
|
|
@@ -31,9 +31,9 @@ Traceback (most recent call last):
|
|
| 31 |
^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 32 |
)
|
| 33 |
^
|
| 34 |
-
File "/tmp/.cache/uv/environments-v2/bcc096a30bc4de06/lib/python3.13/site-packages/transformers/dynamic_module_utils.py", line
|
| 35 |
modules_needed = check_imports(resolved_module_file)
|
| 36 |
-
File "/tmp/.cache/uv/environments-v2/bcc096a30bc4de06/lib/python3.13/site-packages/transformers/dynamic_module_utils.py", line
|
| 37 |
raise ImportError(
|
| 38 |
...<2 lines>...
|
| 39 |
)
|
|
|
|
| 1 |
Traceback (most recent call last):
|
| 2 |
+
File "/tmp/vikhyatk_moondream2_1ce8zQ3.py", line 12, in <module>
|
| 3 |
+
model = AutoModelForCausalLM.from_pretrained("vikhyatk/moondream2", trust_remote_code=True, torch_dtype="auto")
|
| 4 |
+
File "/tmp/.cache/uv/environments-v2/bcc096a30bc4de06/lib/python3.13/site-packages/transformers/models/auto/auto_factory.py", line 549, in from_pretrained
|
| 5 |
config, kwargs = AutoConfig.from_pretrained(
|
| 6 |
~~~~~~~~~~~~~~~~~~~~~~~~~~^
|
| 7 |
pretrained_model_name_or_path,
|
|
|
|
| 11 |
^^^^^^^^^
|
| 12 |
)
|
| 13 |
^
|
| 14 |
+
File "/tmp/.cache/uv/environments-v2/bcc096a30bc4de06/lib/python3.13/site-packages/transformers/models/auto/configuration_auto.py", line 1302, 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/bcc096a30bc4de06/lib/python3.13/site-packages/transformers/dynamic_module_utils.py", line 569, 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/bcc096a30bc4de06/lib/python3.13/site-packages/transformers/dynamic_module_utils.py", line 432, in get_cached_module_file
|
| 25 |
get_cached_module_file(
|
| 26 |
~~~~~~~~~~~~~~~~~~~~~~^
|
| 27 |
pretrained_model_name_or_path,
|
|
|
|
| 31 |
^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 32 |
)
|
| 33 |
^
|
| 34 |
+
File "/tmp/.cache/uv/environments-v2/bcc096a30bc4de06/lib/python3.13/site-packages/transformers/dynamic_module_utils.py", line 392, in get_cached_module_file
|
| 35 |
modules_needed = check_imports(resolved_module_file)
|
| 36 |
+
File "/tmp/.cache/uv/environments-v2/bcc096a30bc4de06/lib/python3.13/site-packages/transformers/dynamic_module_utils.py", line 224, in check_imports
|
| 37 |
raise ImportError(
|
| 38 |
...<2 lines>...
|
| 39 |
)
|