Uh oh!
There was an error while loading. Please reload this page.
[CUDA] dense_tensorcore/batch_matmul_tensorcore support int8/int4 - #8402
Conversation
Thanks for your continue contribution on the tensor core schedule! @wyc-ruiker I'll help reivew when I have time. p.s. Recently I added a new op |
wyc-ruiker
commented
Jul 5, 2021
Thanks, But in our vit network, it looks like we have some performance issues before |
jcf94
left a comment
There was a problem hiding this comment.
Thanks! @wyc-ruiker Overall looks great to me.
Just some nit-pick.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Chenfan <jcf94@outlook.com>
jcf94
commented
Jul 9, 2021
Push agian to re-triggle the CI? @wyc-ruiker |
…ache#8402) * add int8/int tensorcore for dense/batch_matmul * fix bug * fix lint * Apply suggestions from code review Co-authored-by: Chenfan <jcf94@outlook.com> * fix for reviewer * fix lint Co-authored-by: Chenfan <jcf94@outlook.com>
…ache#8402) * add int8/int tensorcore for dense/batch_matmul * fix bug * fix lint * Apply suggestions from code review Co-authored-by: Chenfan <jcf94@outlook.com> * fix for reviewer * fix lint Co-authored-by: Chenfan <jcf94@outlook.com>
Let dense_tensorcore and batch_matmul_tensorcore support int8/int4.
Before this pr, the vision transform (vit) latency (#7814) in Tesla T4 is:
vit int4: 4.71 ms
vit int8: 3.48 ms
After this pr:
vit int4: 2.93 ms
vit int8: 2.97 ms
@jcf94@jwfromm@huochaitiantang could you help review this pr?