ariG23498 HF Staff commited on
Commit
a5a0be2
·
verified ·
1 Parent(s): 78a9bf6

Upload nota-ai_Solar-Open-100B-NotaMoEQuant-Int4_0.txt with huggingface_hub

Browse files
nota-ai_Solar-Open-100B-NotaMoEQuant-Int4_0.txt ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ```CODE:
2
+ # Use a pipeline as a high-level helper
3
+ from transformers import pipeline
4
+
5
+ pipe = pipeline("text-generation", model="nota-ai/Solar-Open-100B-NotaMoEQuant-Int4", trust_remote_code=True)
6
+ messages = [
7
+ {"role": "user", "content": "Who are you?"},
8
+ ]
9
+ pipe(messages)
10
+ ```
11
+
12
+ ERROR:
13
+ Traceback (most recent call last):
14
+ File "/tmp/nota-ai_Solar-Open-100B-NotaMoEQuant-Int4_0OmZg7P.py", line 26, in <module>
15
+ pipe = pipeline("text-generation", model="nota-ai/Solar-Open-100B-NotaMoEQuant-Int4", trust_remote_code=True)
16
+ File "/tmp/.cache/uv/environments-v2/7abdf34a38079b01/lib/python3.13/site-packages/transformers/pipelines/__init__.py", line 836, in pipeline
17
+ model = load_model(
18
+ adapter_path if adapter_path is not None else model,
19
+ ...<4 lines>...
20
+ **model_kwargs,
21
+ )
22
+ File "/tmp/.cache/uv/environments-v2/7abdf34a38079b01/lib/python3.13/site-packages/transformers/pipelines/base.py", line 232, in load_model
23
+ model = model_class.from_pretrained(model, **kwargs)
24
+ File "/tmp/.cache/uv/environments-v2/7abdf34a38079b01/lib/python3.13/site-packages/transformers/models/auto/auto_factory.py", line 365, in from_pretrained
25
+ return model_class.from_pretrained(
26
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~^
27
+ pretrained_model_name_or_path, *model_args, config=config, **hub_kwargs, **kwargs
28
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
29
+ )
30
+ ^
31
+ File "/tmp/.cache/uv/environments-v2/7abdf34a38079b01/lib/python3.13/site-packages/transformers/modeling_utils.py", line 4015, in from_pretrained
32
+ hf_quantizer, config, device_map = get_hf_quantizer(
33
+ ~~~~~~~~~~~~~~~~^
34
+ config, quantization_config, device_map, weights_only, user_agent
35
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
36
+ )
37
+ ^
38
+ File "/tmp/.cache/uv/environments-v2/7abdf34a38079b01/lib/python3.13/site-packages/transformers/quantizers/auto.py", line 326, in get_hf_quantizer
39
+ hf_quantizer.validate_environment(
40
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
41
+ device_map=device_map,
42
+ ^^^^^^^^^^^^^^^^^^^^^^
43
+ weights_only=weights_only,
44
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^
45
+ )
46
+ ^
47
+ File "/tmp/.cache/uv/environments-v2/7abdf34a38079b01/lib/python3.13/site-packages/transformers/quantizers/quantizer_auto_round.py", line 43, in validate_environment
48
+ raise ImportError(
49
+ "Loading an AutoRound quantized model requires auto-round library (`pip install 'auto-round>=0.5'`)"
50
+ )
51
+ ImportError: Loading an AutoRound quantized model requires auto-round library (`pip install 'auto-round>=0.5'`)