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

ibert seems to be quite slow in quant_mode = True #16319

Closed
huu4ontocord opened this issue Mar 22, 2022 · 2 comments
Closed

ibert seems to be quite slow in quant_mode = True #16319

huu4ontocord opened this issue Mar 22, 2022 · 2 comments

Comments

@huu4ontocord
Copy link

huu4ontocord commented Mar 22, 2022

Hi, for iBert -

I found it is MUCH slower in quant_mode = True. here's a notebook with a slightly modified version of the HF code to allow dynamically switching quant_mode. You can see the timing difference.

https://colab.research.google.com/drive/1DkYFGc18oPvAn5nyGEL1aIFHmD_aNlXW

@patrickvonplaten

kssteven418/I-BERT#21

@patrickvonplaten
Copy link
Contributor

Hey @ontocord,

I don't have much experience with iBERT. @kssteven418 any ideas here? Is such a slowdown expected?

@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.

Please note that issues that do not follow the contributing guidelines are likely to be ignored.

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