ariG23498 HF Staff commited on
Commit
1ea39bf
·
verified ·
1 Parent(s): baf0f85

Upload allenai_Bolmo-1B_0.txt with huggingface_hub

Browse files
Files changed (1) hide show
  1. allenai_Bolmo-1B_0.txt +44 -0
allenai_Bolmo-1B_0.txt ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ```CODE:
2
+ # Use a pipeline as a high-level helper
3
+ from transformers import pipeline
4
+
5
+ pipe = pipeline("text-generation", model="allenai/Bolmo-1B", trust_remote_code=True)
6
+ ```
7
+
8
+ ERROR:
9
+ Traceback (most recent call last):
10
+ File "/tmp/.cache/huggingface/modules/transformers_modules/allenai/Bolmo_hyphen_1B/5f3bab9dc6869b8917408fd400ccf40ca8ecf40c/modeling_bolmo.py", line 31, in <module>
11
+ from xlstm.xlstm_large.model import mLSTMLayer, mLSTMLayerConfig, mLSTMLayerStateType, soft_cap, mLSTMBackendConfig
12
+ ModuleNotFoundError: No module named 'xlstm'
13
+
14
+ During handling of the above exception, another exception occurred:
15
+
16
+ Traceback (most recent call last):
17
+ File "/tmp/allenai_Bolmo-1B_0zspQLE.py", line 26, in <module>
18
+ pipe = pipeline("text-generation", model="allenai/Bolmo-1B", trust_remote_code=True)
19
+ File "/tmp/.cache/uv/environments-v2/d6ab6b5f4a47eb8b/lib/python3.13/site-packages/transformers/pipelines/__init__.py", line 1027, in pipeline
20
+ framework, model = infer_framework_load_model(
21
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~^
22
+ adapter_path if adapter_path is not None else model,
23
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
24
+ ...<5 lines>...
25
+ **model_kwargs,
26
+ ^^^^^^^^^^^^^^^
27
+ )
28
+ ^
29
+ File "/tmp/.cache/uv/environments-v2/d6ab6b5f4a47eb8b/lib/python3.13/site-packages/transformers/pipelines/base.py", line 293, in infer_framework_load_model
30
+ model = model_class.from_pretrained(model, **kwargs)
31
+ File "/tmp/.cache/uv/environments-v2/d6ab6b5f4a47eb8b/lib/python3.13/site-packages/transformers/models/auto/auto_factory.py", line 586, in from_pretrained
32
+ model_class = get_class_from_dynamic_module(
33
+ class_ref, pretrained_model_name_or_path, code_revision=code_revision, **hub_kwargs, **kwargs
34
+ )
35
+ File "/tmp/.cache/uv/environments-v2/d6ab6b5f4a47eb8b/lib/python3.13/site-packages/transformers/dynamic_module_utils.py", line 616, in get_class_from_dynamic_module
36
+ return get_class_in_module(class_name, final_module, force_reload=force_download)
37
+ File "/tmp/.cache/uv/environments-v2/d6ab6b5f4a47eb8b/lib/python3.13/site-packages/transformers/dynamic_module_utils.py", line 311, in get_class_in_module
38
+ module_spec.loader.exec_module(module)
39
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^
40
+ File "<frozen importlib._bootstrap_external>", line 1026, in exec_module
41
+ File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
42
+ File "/tmp/.cache/huggingface/modules/transformers_modules/allenai/Bolmo_hyphen_1B/5f3bab9dc6869b8917408fd400ccf40ca8ecf40c/modeling_bolmo.py", line 33, in <module>
43
+ raise ImportError("The `xlstm` package is required to use Bolmo. Please install it via `pip install xlstm`.")
44
+ ImportError: The `xlstm` package is required to use Bolmo. Please install it via `pip install xlstm`.