GaryYuyjl opened a new pull request #6121:
URL: https://github.com/apache/incubator-tvm/pull/6121


   This pr supports int4/int8 tensor core with HWNC layout.
   Part of the layer-wise results of HWNC and NHWC are here. HWNC layout runs 
faster in most of the workloads.
   
   workload (batch_size, in_channels, in_size, out_channels, kernel_size, 
stride, padding) | NHWC int4 time(ms) | HWNC int4 time(ms)
   -- | -- | --
   (8, 64, 56, 64, 3, 1, 1) | 0.23432 | 0.1723
   (8, 64, 56, 128, 3, 2, 1) | 0.1386 | 0.10278
   (8, 64, 56, 64, 1, 2, 0) | 0.04395 | 0.0333
   (8, 128, 28, 128, 3, 1, 1) | 0.1715 | 0.15088
   (8, 128, 28, 256, 3, 2, 1) | 0.12039 | 0.11548
   (8, 128, 28, 256, 1, 2, 0) | 0.04789 | 0.04219
   (8, 256, 14, 256, 3, 1, 1) | 0.14469 | 0.05695
   (8, 256, 14, 512, 3, 2, 1) | 0.15656 | 0.14456
   (8, 256, 14, 512, 1, 2, 0) | 0.04402 | 0.0475
   (8, 512, 7, 512, 3, 1, 1) | 0.25156 | 0.147156
   
   CC @Laurawly 
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to