You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2022/01/14 14:31:06 UTC

[GitHub] [tvm] hwu36 commented on pull request #9899: [CUTLASS] Support more kernels: int8, tf32, and 3xtf32

hwu36 commented on pull request #9899:
URL: https://github.com/apache/tvm/pull/9899#issuecomment-1013170910


   @masahi, cutlass profiler misses many 256x64, 64x256 tile sizes for turing/volta kernels.  It needs some change like
   
   ```
   --- a/tools/library/scripts/generator.py
   +++ b/tools/library/scripts/generator.py
   @@ -724,6 +724,8 @@ def GenerateSM70_TensorOp_884(manifest, cuda_version):
          TileDescription([256, 128, 32], 2, [4, 2, 1], math_inst, min_cc, max_cc),
          TileDescription([128, 256, 32], 2, [2, 4, 1], math_inst, min_cc, max_cc),
          TileDescription([128, 128, 32], 2, [2, 2, 1], math_inst, min_cc, max_cc),
   +      TileDescription([256,  64, 32], 2, [4, 1, 1], math_inst, min_cc, max_cc),
   +      TileDescription([ 64, 256, 32], 2, [1, 4, 1], math_inst, min_cc, max_cc),
          TileDescription([ 64, 128, 32], 2, [2, 2, 1], math_inst, min_cc, max_cc),
          TileDescription([128,  64, 32], 2, [2, 2, 1], math_inst, min_cc, max_cc),
          TileDescription([ 64,  64, 32], 2, [2, 2, 1], math_inst, min_cc, max_cc),
   @@ -941,6 +943,8 @@ def GenerateSM75_TensorOp_1688(manifest, cuda_version):
          TileDescription([256, 128, 32], 2, [4, 2, 1], math_inst, min_cc, max_cc),
          TileDescription([128, 256, 32], 2, [2, 4, 1], math_inst, min_cc, max_cc),
          TileDescription([128, 128, 32], 2, [2, 2, 1], math_inst, min_cc, max_cc),
   +      TileDescription([ 64, 256, 32], 2, [1, 4, 1], math_inst, min_cc, max_cc),
   +      TileDescription([256,  64, 32], 2, [4, 1, 1], math_inst, min_cc, max_cc),
          TileDescription([ 64, 128, 32], 2, [2, 2, 1], math_inst, min_cc, max_cc),
          TileDescription([128,  64, 32], 2, [2, 2, 1], math_inst, min_cc, max_cc),
          TileDescription([ 64,  64, 32], 2, [2, 2, 1], math_inst, min_cc, max_cc),
   @@ -1218,6 +1222,8 @@ def GenerateSM75_TensorOp_8832_TN(manifest, cuda_version):
          TileDescription([256, 128, 128], 2, [4, 2, 1], math_inst, min_cc, max_cc),
          TileDescription([128, 256, 128], 2, [2, 4, 1], math_inst, min_cc, max_cc),
          TileDescription([128, 128, 128], 2, [2, 2, 1], math_inst, min_cc, max_cc),
   +      TileDescription([256,  64, 128], 2, [4, 1, 1], math_inst, min_cc, max_cc),
   +      TileDescription([ 64, 256, 128], 2, [1, 4, 1], math_inst, min_cc, max_cc),
          TileDescription([ 64, 128, 128], 2, [2, 2, 1], math_inst, min_cc, max_cc),
          TileDescription([128,  64, 128], 2, [2, 2, 1], math_inst, min_cc, max_cc),
          TileDescription([ 64,  64, 128], 2, [2, 2, 1], math_inst, min_cc, max_cc),
   @@ -1355,6 +1361,8 @@ def GenerateSM75_TensorOp_88128(manifest, cuda_version):
          TileDescription([256, 128, 512], 2, [4, 2, 1], math_inst, min_cc, max_cc),
          TileDescription([128, 256, 512], 2, [2, 4, 1], math_inst, min_cc, max_cc),
          TileDescription([128, 128, 512], 2, [2, 2, 1], math_inst, min_cc, max_cc),
   +      TileDescription([ 64, 256, 512], 2, [1, 4, 1], math_inst, min_cc, max_cc),
   +      TileDescription([256,  64, 512], 2, [4, 1, 1], math_inst, min_cc, max_cc),
          TileDescription([ 64, 128, 512], 2, [2, 2, 1], math_inst, min_cc, max_cc),
          TileDescription([128,  64, 512], 2, [2, 2, 1], math_inst, min_cc, max_cc),
          TileDescription([ 64,  64, 512], 2, [2, 2, 1], math_inst, min_cc, max_cc),
   ```
   
   Also, cutlass works the best with cuda 11.3+.


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org

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