Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion 3rdparty/cutlass
Submodule cutlass updated 2434 files
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ CUTE_HOST_DEVICE constexpr auto upcast(Shape const& shape, Stride const& stride)
[](auto const& s, auto const& d) { return upcast<N, I>(s, d); });
} else if constexpr (is_scaled_basis<Stride>::value) {
if constexpr (Stride::mode() == I) {
return make_layout(shape_div(shape, Int<N>{}), shape_div(stride, Int<N>{}));
return make_layout(ceil_div(shape, Int<N>{}), ceil_div(stride, Int<N>{}));
} else {
return make_layout(shape, stride);
}
Expand Down
2 changes: 1 addition & 1 deletion include/flashinfer/attention/mla_hopper.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,7 @@ __global__ __launch_bounds__(KTraits::NUM_THREADS) void BatchMLAPageAttentionHop
pipeline_params.producer_arv_count = 128;
pipeline_params.consumer_arv_count = 128;
MainloopPipeline pipeline_q(smem_storage.pipeline_q, pipeline_params);
pipeline_params.role = warp_group_idx == 0 ? MainloopPipeline::ThreadCategory::Producer
pipeline_params.role = warp_group_idx == 0 ? MainloopPipeline::ThreadCategory::ProducerConsumer
: MainloopPipeline::ThreadCategory::Consumer;
pipeline_params.producer_arv_count = 128;
pipeline_params.consumer_arv_count = 256;
Expand Down