Skip to content

is there ViT example with real PTQ ? #274

@dedoogong

Description

@dedoogong

Hi, I ran ViT example and I found that, there is training step after calibration.
I think the ViT exmaple is for PTQ, so I expected it to run only calibration and quantization steps.
But that example actually run training after calibration, so I think it's QAT.

I'm trying to apply adaround to ViT by changing imagenet_example/PTQ/ptq.py with timm's ViT.
But I still get stuck with some errors.

How to do the real PTQ for ViT?

Thank you.

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