Skip to content
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
@aahouzi

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 :)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions