Skip to content

Commit

Permalink
change tile shape from 1,2,1 -> 1,1,1 according to tuning
Browse files Browse the repository at this point in the history
  • Loading branch information
yizhang2077 committed Feb 11, 2025
1 parent 00e2441 commit 3f87227
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sgl-kernel/src/sgl-kernel/csrc/fp8_blockwise_gemm_kernel.cu
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,8 @@ void launch_sm90_fp8_blockwise_scaled_mm(torch::Tensor& out, const torch::Tensor
template <typename OutType>
void sm90_fp8_blockwise_dispatch_shape(torch::Tensor& out, const torch::Tensor& a, const torch::Tensor& b,
const torch::Tensor& scales_a, const torch::Tensor& scales_b) {
// TODO: switch different tileshape and clustershape with different m and n
using TileShape = Shape<_128, _128, _128>;
using ClusterShape = Shape<_1, _2, _1>;
using ClusterShape = Shape<_1, _1, _1>;
launch_sm90_fp8_blockwise_scaled_mm<OutType, TileShape, ClusterShape>(out, a, b, scales_a, scales_b);
}

Expand Down

0 comments on commit 3f87227

Please sign in to comment.