Skip to content

Commit 6f8caa3

Browse files
authored
bugfix: Fix stream handling in cutedsl gemm (#1509)
<!-- .github/pull_request_template.md --> ## 📌 Description <!-- What does this PR do? Briefly describe the changes and why they’re needed. --> ## 🔍 Related Issues <!-- Link any related issues here --> ## 🚀 Pull Request Checklist Thank you for contributing to FlashInfer! Before we review your pull request, please make sure the following items are complete. ### ✅ Pre-commit Checks - [x] I have installed `pre-commit` by running `pip install pre-commit` (or used your preferred method). - [x] I have installed the hooks with `pre-commit install`. - [x] I have run the hooks manually with `pre-commit run --all-files` and fixed any reported issues. > If you are unsure about how to set up `pre-commit`, see [the pre-commit documentation](https://pre-commit.com/). ## 🧪 Tests - [x] Tests have been added or updated as needed. - [x] All tests are passing (`unittest`, etc.). ## Reviewer Notes <!-- Optional: anything you'd like reviewers to focus on, concerns, etc. -->
1 parent 9e9edb2 commit 6f8caa3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flashinfer/cute_dsl/blockscaled_gemm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2710,7 +2710,7 @@ def dtype(cutlass_dtype):
27102710
else None
27112711
)
27122712
# todo(Yingyi): might add cute.assume() for shape alignment?
2713-
current_stream = cutlass_torch.default_stream()
2713+
current_stream = cutlass_torch.current_stream()
27142714

27152715
self.run_cute_ptr(
27162716
a_ptr,

0 commit comments

Comments
 (0)