Skip to content
This repository was archived by the owner on Oct 25, 2024. It is now read-only.
This repository was archived by the owner on Oct 25, 2024. It is now read-only.

ModuleNotFoundError: No module named 'neural_compressor.conf' #1689

Closed
@ErvinXie

Description

@ErvinXie

I followed the quick start guide, and an error occurred when I tried to run the python script. It seems to be an dependency error. I searched the internet and did not find any solution. How to solve this?

Traceback (most recent call last):
  File "/home/xwy/Project/test-transformers/test-intel.py", line 2, in <module>
    from intel_extension_for_transformers.transformers import AutoModelForCausalLM
  File "/home/xwy/.conda/envs/kvc/lib/python3.10/site-packages/intel_extension_for_transformers/transformers/__init__.py", line 19, in <module>
    from .config import (
  File "/home/xwy/.conda/envs/kvc/lib/python3.10/site-packages/intel_extension_for_transformers/transformers/config.py", line 21, in <module>
    from neural_compressor.conf.config import (
ModuleNotFoundError: No module named 'neural_compressor.conf'

Metadata

Metadata

Assignees

No one assigned

    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