ariG23498 HF Staff commited on
Commit
b79bdaa
·
verified ·
1 Parent(s): a3401bd

Upload 08-07-25/nvidia_llama-nemoretriever-colembed-3b-v1_0_exception.txt with huggingface_hub

Browse files
08-07-25/nvidia_llama-nemoretriever-colembed-3b-v1_0_exception.txt ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Traceback (most recent call last):
2
+ File "/tmp/nvidia_llama-nemoretriever-colembed-3b-v1_08oyyYz.py", line 12, in <module>
3
+ model = AutoModel.from_pretrained("nvidia/llama-nemoretriever-colembed-3b-v1", trust_remote_code=True)
4
+ File "/tmp/.cache/uv/environments-v2/266404edab20c8e0/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/266404edab20c8e0/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/266404edab20c8e0/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/266404edab20c8e0/lib/python3.13/site-packages/transformers/dynamic_module_utils.py", line 393, in get_cached_module_file
25
+ modules_needed = check_imports(resolved_module_file)
26
+ File "/tmp/.cache/uv/environments-v2/266404edab20c8e0/lib/python3.13/site-packages/transformers/dynamic_module_utils.py", line 225, in check_imports
27
+ raise ImportError(
28
+ ...<2 lines>...
29
+ )
30
+ ImportError: This modeling file requires the following packages that were not found in your environment: PIL, datasets, torchvision. Run `pip install PIL datasets torchvision`