Skip to content

Conversation

@nandesuka
Copy link
Contributor

@nandesuka nandesuka commented Sep 23, 2025

@pytorch-bot
Copy link

pytorch-bot bot commented Sep 23, 2025

🔗 Helpful Links

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

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

✅ No Failures

As of commit 6532526 with merge base bcb893a (image):
💚 Looks good so far! There are no failures yet. 💚

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

@facebook-github-bot
Copy link
Contributor

@nandesuka has exported this pull request. If you are a Meta employee, you can view the originating diff in D83053287.

@nandesuka
Copy link
Contributor Author

@pytorchbot label "topic: not user facing"

Copy link
Contributor

@blaine-rister blaine-rister left a comment

Choose a reason for hiding this comment

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

LGTM. Left a nit about cleaning up some related code.

@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label Sep 23, 2025
isinstance(s, (int, sympy.Integer))
for s in itertools.chain(in_strides, size)
)
if not config.pad_dynamic_shapes and is_dynamic:
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: is it safe to remove the or config.pad_dynamic_shapes on line 3784? Now that we're returning early, that might be redundant.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

let's just leave it for now, can clean up later once we have a root cause

Copy link
Contributor

Choose a reason for hiding this comment

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

are we padding with out guards if we remove this?
shall we instead make sure we guard properly .

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Can you clarify, guard what values with what constraints?

Copy link
Contributor

@blaine-rister blaine-rister left a comment

Choose a reason for hiding this comment

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

LGTM. Left a nit about possibly removing a redundant check further down in the function.

…dynamic (pytorch#163639)

Summary:

forward fix for S563814

Test Plan: foward fix for S563814

Reviewed By: blaine-rister

Differential Revision: D83053287
@facebook-github-bot
Copy link
Contributor

@nandesuka has exported this pull request. If you are a Meta employee, you can view the originating diff in D83053287.

@facebook-github-bot
Copy link
Contributor

@pytorchbot merge

(Initiating merge automatically since Phabricator Diff has merged)

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants