Skip to content

QuantLayer to automatically expose underlying quant metadata from proxies #1052

Open
@Giuseppe5

Description

@Giuseppe5

Is your feature request related to a problem? Please describe.
In previous releases (0.10 and before), quant layers would expose certain quantization metadata of underlying proxies

quant_conv = qnn.QuantConv2d(..., weight_quant=Int8WeightPerTensorFloat)
scale = quant_conv.quant_weight_scale()

This has been removed in 0.11 because of the need to implement new QuantTensors with varying quant metadata fields.
All the info is still available but they are only exposed at proxy level.

Describe the solution you'd like
Given a set of quant metadata exposed by the proxy, the layers should be able to automagically expose the methods associated with the various proxies

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions