-
Notifications
You must be signed in to change notification settings - Fork 827
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[254-llm-chatbot] NNCF is not yet supported OpenVINO data type: bf16. #1514
Comments
Full error meassages: NotImplementedError Traceback (most recent call last) Cell In[8], line 49, in convert_to_int8() File ~/ovnb/lib/python3.10/site-packages/optimum/intel/openvino/quantization.py:180, in OVQuantizer.quantize(self, calibration_dataset, save_directory, quantization_config, file_name, batch_size, data_collator, remove_unused_columns, weights_only, **kwargs) File ~/ovnb/lib/python3.10/site-packages/optimum/intel/openvino/quantization.py:263, in OVQuantizer._quantize_ovcausallm(self, calibration_dataset, save_directory, batch_size, data_collator, remove_unused_columns, weights_only, **kwargs) File ~/ovnb/lib/python3.10/site-packages/nncf/quantization/quantize_model.py:294, in compress_weights(model, mode, ratio, group_size, ignored_scope) File ~/ovnb/lib/python3.10/site-packages/nncf/common/factory.py:45, in NNCFGraphFactory.create(model) File ~/ovnb/lib/python3.10/site-packages/nncf/openvino/graph/nncf_graph_builder.py:197, in GraphConverter.create_nncf_graph(model) File ~/ovnb/lib/python3.10/site-packages/nncf/openvino/graph/nncf_graph_builder.py:100, in GraphConverter._add_edges_to_nncf_graph(model, graph) File ~/ovnb/lib/python3.10/site-packages/nncf/openvino/graph/nncf_graph_builder.py:61, in GraphConverter.convert_to_nncf_dtype(ov_dtype) NotImplementedError: NNCF is not yet supported OpenVINO data type: bf16. |
should be resolved by merge huggingface/optimum-intel#484 |
Hi. |
INFO:nncf:NNCF initialized successfully. Supported frameworks detected: torch, onnx, openvino Summary: Summary: Summary: |
Doesn't look like this issue is fixed. Please refer to the logs above with latest Optimum library. |
having the exact same issue when deploying Llama3 on CPU with OpenVino Any update on this? |
When I using tiny-llama-1b have the same warnings. |
@KNChiu Can you upgrade dependencies with |
Describe the bug
When compressing LLAMA2 with int4 weight, a error message come out during this step:
Step:
compressed_model = nncf.compress_weights(ov_model, **model_compression_params)
:Error message:
NotImplementedError: NNCF is not yet supported OpenVINO data type: bf16.
The text was updated successfully, but these errors were encountered: