ariG23498 HF Staff commited on
Commit
02db391
·
verified ·
1 Parent(s): c0d3910

Upload OpenGVLab_InternVL3_5-GPT-OSS-20B-A4B-Preview_1.txt with huggingface_hub

Browse files
OpenGVLab_InternVL3_5-GPT-OSS-20B-A4B-Preview_1.txt ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Traceback (most recent call last):
2
+ File "/tmp/OpenGVLab_InternVL3_5-GPT-OSS-20B-A4B-Preview_1m7VqWb.py", line 12, in <module>
3
+ model = AutoModel.from_pretrained("OpenGVLab/InternVL3_5-GPT-OSS-20B-A4B-Preview", trust_remote_code=True, torch_dtype="auto"),
4
+ ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
5
+ File "/tmp/.cache/uv/environments-v2/fc1b3a438ba5a37c/lib/python3.13/site-packages/transformers/models/auto/auto_factory.py", line 582, in from_pretrained
6
+ model_class = get_class_from_dynamic_module(
7
+ class_ref, pretrained_model_name_or_path, code_revision=code_revision, **hub_kwargs, **kwargs
8
+ )
9
+ File "/tmp/.cache/uv/environments-v2/fc1b3a438ba5a37c/lib/python3.13/site-packages/transformers/dynamic_module_utils.py", line 570, in get_class_from_dynamic_module
10
+ final_module = get_cached_module_file(
11
+ repo_id,
12
+ ...<8 lines>...
13
+ repo_type=repo_type,
14
+ )
15
+ File "/tmp/.cache/uv/environments-v2/fc1b3a438ba5a37c/lib/python3.13/site-packages/transformers/dynamic_module_utils.py", line 433, in get_cached_module_file
16
+ get_cached_module_file(
17
+ ~~~~~~~~~~~~~~~~~~~~~~^
18
+ pretrained_model_name_or_path,
19
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
20
+ ...<8 lines>...
21
+ _commit_hash=commit_hash,
22
+ ^^^^^^^^^^^^^^^^^^^^^^^^^
23
+ )
24
+ ^
25
+ File "/tmp/.cache/uv/environments-v2/fc1b3a438ba5a37c/lib/python3.13/site-packages/transformers/dynamic_module_utils.py", line 393, in get_cached_module_file
26
+ modules_needed = check_imports(resolved_module_file)
27
+ File "/tmp/.cache/uv/environments-v2/fc1b3a438ba5a37c/lib/python3.13/site-packages/transformers/dynamic_module_utils.py", line 225, in check_imports
28
+ raise ImportError(
29
+ ...<2 lines>...
30
+ )
31
+ ImportError: This modeling file requires the following packages that were not found in your environment: einops, timm. Run `pip install einops timm`