Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Q4Q4 post-train Resnet-50 cannot get accuracy 73.3. #11

Open
haichaoyu opened this issue Feb 26, 2020 · 2 comments
Open

Q4Q4 post-train Resnet-50 cannot get accuracy 73.3. #11

haichaoyu opened this issue Feb 26, 2020 · 2 comments

Comments

@haichaoyu
Copy link

Hello,

Thanks for the great codebase. I tried Experiment W4A4 + ACIQ + Bit Alloc(A) + Bit Alloc(W) + Bias correction by
python inference/inference_sim.py -a resnet50 -b 512 -pcq_w -pcq_a -sh --qtype int4 -qw int4 -c laplace -baa -baw -bcw
but only get accuracy 71.6. Is there any particular setting that should be followed? Thanks.

My environment:
Pytorch 1.3
Torchvision 0.4.2

@haichaoyu
Copy link
Author

Hi @ynahshan, any advice? Thanks.

@nfrumkin
Copy link

I got the same results here. Reproducing using explicit commands:
4A4W naive: 63.68%
4A4W ACIQ + Bias Correction + BitAlloc (weights + acts): 71.72%

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants