Skip to content

AttributeError: module 'intel_extension_for_pytorch' has no attribute 'QuantConf' ipex.__version__ #205

Closed
@vgoklani

Description

@vgoklani

Hello - I'm running ipex: '1.10.0+cpu'

and torch version: '1.10.0+cu113'

when running this:

conf = ipex.QuantConf(dtype=torch.int8) 

I'm getting this error:

AttributeError: module 'intel_extension_for_pytorch' has no attribute 'QuantConf'

Please help!

Also, what sort of performance gain should I expect when using int8 quantization with ipex vs the standard qint8 quantization straight from pytorch:

torch.quantization.quantize_dynamic(model=self._model, qconfig_spec={torch.nn.Linear, torch.nn.Embedding}, dtype=torch.qint8)

thanks!

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