This repository has been archived by the owner on Oct 25, 2024. It is now read-only.
This repository has been archived by the owner on Oct 25, 2024. It is now read-only.
Please add in requirements file version of neural-compressor <= 1.14.2 #49
Closed
Description
It seems like ITREX is not compatible with INC 2.0 API. It would be helpful to add <= 1.14.2 constraint on neural-compressor.
Also, in your demo of BERT-mini, there is an import line that doesn't pass here: https://github.com/intel/intel-extension-for-transformers/blob/main/examples/deployment/neural_engine/sparse/bert_mini/run_glue.py#L29
When changing it with the following it starts working:
"""from intel_extension_for_transformers.optimization.model import OptimizedModel
from intel_extension_for_transformers.optimization.config import QuantizationConfig
from intel_extension_for_transformers.optimization.utils import metrics, objectives"""
Thanks :)
Metadata
Metadata
Assignees
Labels
No labels
Activity