Skip to content

Conversation

apakbin
Copy link

@apakbin apakbin commented Aug 4, 2025

Cherry-pick of: pytorch#159294

Cherry-picked to release/2.8 branch via #2524

Summary: Like pytorch#158898, the rand_like variants are not preserving strides. Followed the pattern established in pytorch#158898.

Test Plan: New unit test (fails before this PR; but fixed after)

Differential Revision: [D79472604](https://our.internmc.facebook.com/intern/diff/D79472604)
Pull Request resolved: pytorch#159294
Approved by: https://github.com/eellison
@apakbin apakbin marked this pull request as ready for review August 4, 2025 17:21
@rocm-repo-management-api
Copy link

Jenkins build for edcb9508dcdf567db2d48dac29b6be5628b24c2e commit is in progress
Links: Blue Ocean view / Build artifacts

@apakbin apakbin merged commit d5c9823 into rocm7.0_internal_testing Aug 4, 2025
0 of 3 checks passed
@apakbin apakbin deleted the rand_like_rocm7.0_internal_testing branch August 4, 2025 22:26
@xinyazhang
Copy link

! cherry-pick --onto release/2.8

dhonnappa-amd pushed a commit that referenced this pull request Aug 14, 2025
Cherry-pick of: pytorch#159294

Co-authored-by: Sam Larsen <slarsen@meta.com>
@dhonnappa-amd
Copy link

Created branch autogenerated/release/2.8_cherry-pick_pr-2456 and #2524

@xinyazhang
Copy link

! cherry-pick --onto rocm7.1_internal_testing

@dhonnappa-amd
Copy link

Nothing to cherry-pick onto the rocm7.1_internal_testing branch

Comment processed by Build

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants