Skip to content

Timeout issue when quantizing BERT large squad model #22

@ppalania21

Description

@ppalania21

I have been following these steps to quantize BERT model - https://github.com/intel/lpot/tree/master/examples/tensorflow/nlp/bert_large_squad.

While running the below command for quantization:
python tune_squad.py --config=./bert.yaml --input_model=./bert_fp32.pb --output_model=./int8.pb --tune

I see a timeout/crash with the following message:
[ERROR] Specified timeout or max trials is reached! Not found any quantized model which meet accuracy goal.

Error log - bert_quantization_error.txt
yaml config file I am using - bert.yaml.txt

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