Skip to content

apply smoothquant in 0.11.1 #26

@chensterliu

Description

@chensterliu

Hello,
I am using the latest version 0.11.1.
According to the doc https://quark.docs.amd.com/latest/pytorch/smoothquant.html, smoothquant_config is given to QConfig with pre_quant_opt_config:

quant_config = QConfig(..., pre_quant_opt_config=[smoothquant_config])

But pre_quant_opt_config is not an argument of QConfig any more, see https://github.com/amd/Quark/blob/release/0.11/quark/torch/quantization/config/config.py#L126

So how to apply smoothquant in 0.11?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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