Skip to content

Conversation

henrylhtsang
Copy link
Contributor

@henrylhtsang henrylhtsang commented Jul 30, 2025

Stack from ghstack (oldest at bottom):

Differential Revision: D79229210

Motivation is workspace size is hard to determine, and varies for different shape. What I observed is sometimes the shape got smaller, but the workspace can increase. So it is hard to upper bound it.

cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @chenyang78 @kadeng @muchulee8 @amjames @chauhang @aakhundov @coconutruben

@pytorch-bot
Copy link

pytorch-bot bot commented Jul 30, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/159442

Note: Links to docs will display an error until the docs builds have been completed.

✅ You can merge normally! (6 Unrelated Failures)

As of commit 6699691 with merge base b4619f0 (image):

FLAKY - The following jobs failed but were likely due to flakiness present on trunk:

UNSTABLE - The following job is marked as unstable, possibly due to flakiness on trunk:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

henrylhtsang added a commit that referenced this pull request Jul 30, 2025
Differential Revision: [D79229210](https://our.internmc.facebook.com/intern/diff/D79229210/)

ghstack-source-id: 299451983
Pull Request resolved: #159442
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D79229210

self,
):
"""
Test streamk with dynamic=False. Streamk should work.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe assert stream-k kernel ended up in the compiled program?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe assert stream-k kernel ended up in the compiled program?

@ColinPeppler that should be guaranteed by the filtering?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

better to be explicit about it (if it's fairly easy to check)!

Differential Revision: [D79229210](https://our.internmc.facebook.com/intern/diff/D79229210/)

cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx ipiszy chenyang78 kadeng muchulee8 amjames chauhang aakhundov coconutruben

[ghstack-poisoned]
henrylhtsang added a commit that referenced this pull request Jul 30, 2025
Pull Request resolved: #159442


ghstack-source-id: 299575375
@exported-using-ghexport

Differential Revision: [D79229210](https://our.internmc.facebook.com/intern/diff/D79229210/)
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D79229210

Comment on lines +923 to +930
# only use stream k for static shape
if op.tile_scheduler.name == "StreamK":
static_shape = PythonWrapperCodegen.statically_known_list_of_ints_or_none(
tuple(X.get_size()) + tuple(W.get_size())
)
if not static_shape:
return None

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a log would be a nice-to-have here

@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label Aug 1, 2025
@henrylhtsang
Copy link
Contributor Author

@pytorchbot merge

@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

@github-actions github-actions bot deleted the gh/henrylhtsang/135/head branch September 1, 2025 02:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants