quanto icon indicating copy to clipboard operation
quanto copied to clipboard

Got stuck when train resnet50 with QAT

Open catsled opened this issue 10 months ago • 6 comments

When I quantize a ResNet50 model and train it, it may get stuck at the first backward pass; it's normal when I train a non-quantized model..

GPU:A800 data:Cifar10

image

image

how should i do?

catsled avatar Apr 18 '24 09:04 catsled

It is strange that you get integer output. Did you take a look at the MNIST example ? If not, maybe compare with your script and see if something is different.

dacorvo avatar Apr 18 '24 12:04 dacorvo

It is strange that you get integer output. Did you take a look at the MNIST example ? If not, maybe compare with your script and see if something is different.

ok : )

catsled avatar Apr 19 '24 07:04 catsled

got stuck when calibration(i did't add it before ) image image

catsled avatar Apr 19 '24 07:04 catsled

How long does it take to run evaluate on the float model ?

dacorvo avatar Apr 19 '24 09:04 dacorvo

How long does it take to run evaluate on the float model ?

about 8s

catsled avatar Apr 20 '24 08:04 catsled

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] avatar May 21 '24 01:05 github-actions[bot]

This issue was closed because it has been stalled for 5 days with no activity.

github-actions[bot] avatar May 26 '24 01:05 github-actions[bot]