Skip to content

[ONNX] Quantization documentation outdated #4188

Open
@anuragsingh-tt

Description

@anuragsingh-tt

The documentation here states the following:

Quantization parameters are carried out of line in the ONNX protobuf
and will be repatriated upon import to torch. The exact mechanism is
not yet implemented.

This is outdated. The following simple conv2d in onnx:

Image

contains the quantization parameters in line. There are already test cases in the torch-mlir repo (e.g. here) that can translate this successfully to torch.

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