Skip to content

[TorchFX] Support weight quantization for operations with weight_port_id != 1 #3206

@daniil-lyakhov

Description

@daniil-lyakhov

🚀 Feature request

The task is to support weight quantization for operations with weight_port_id != 1.
To do so, one should update the method _get_input_scale_shape of the MinMax torch_fx_backend.py https://github.com/openvinotoolkit/nncf/blob/develop/nncf/quantization/algorithms/min_max/torch_fx_backend.py#L181-L182 as it done for the torch backend https://github.com/openvinotoolkit/nncf/blob/develop/nncf/quantization/algorithms/min_max/torch_backend.py#L197-L202

Feature Use Case

No response

Are you going to submit a PR?

  • Yes I'd like to help by submitting a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions