Skip to content

Conversation

@moltinginstar
Copy link
Contributor

@moltinginstar moltinginstar commented Sep 26, 2024

Fixes #128786
Fixes #101974
Fixes #27072

cc @pbelevich

@pytorch-bot
Copy link

pytorch-bot bot commented Sep 26, 2024

🔗 Helpful Links

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

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

✅ No Failures

As of commit 0e79f18 with merge base 354fe48 (image):
💚 Looks good so far! There are no failures yet. 💚

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

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Sep 26, 2024

CLA Signed

The committers listed above are authorized under a signed CLA.

@github-actions
Copy link
Contributor

Attention! native_functions.yaml was changed

If you are adding a new function or defaulted argument to native_functions.yaml, you cannot use it from pre-existing Python frontend code until our FC window passes (two weeks). Split your PR into two PRs, one which adds the new C++ functionality, and one that makes use of it from Python, and land them two weeks apart. See https://github.com/pytorch/pytorch/wiki/PyTorch's-Python-Frontend-Backward-and-Forward-Compatibility-Policy#forwards-compatibility-fc for more info.


Caused by:

@moltinginstar
Copy link
Contributor Author

@pytorchbot label "module: random"

@pytorch-bot pytorch-bot bot added the module: random Related to random number generation in PyTorch (rng generator) label Sep 26, 2024
@moltinginstar
Copy link
Contributor Author

@pytorchbot label "release notes: python_frontend"

@pytorch-bot pytorch-bot bot added the release notes: python_frontend python frontend release notes category label Sep 26, 2024
@cpuhrsch cpuhrsch requested a review from albanD September 27, 2024 02:22
@cpuhrsch cpuhrsch added the triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module label Sep 27, 2024
Copy link
Collaborator

@albanD albanD left a comment

Choose a reason for hiding this comment

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

Thanks for your contribution. That sounds pretty good.
Would you be able to sign the cla and update testing to ensure these are working as expected?

@moltinginstar moltinginstar force-pushed the rand-like-generator-param branch from d54c129 to 9f3c848 Compare October 5, 2024 06:21
@moltinginstar moltinginstar requested a review from albanD October 9, 2024 06:07
Chillee
Chillee previously approved these changes Oct 26, 2024
@Chillee
Copy link
Collaborator

Chillee commented Oct 28, 2024

@pytorchbot rebase

@pytorchmergebot
Copy link
Collaborator

@pytorchbot started a rebase job onto refs/remotes/origin/viable/strict. Check the current status here

@pytorchmergebot
Copy link
Collaborator

Rebase failed due to Command git -C /home/runner/work/pytorch/pytorch push -f https://github.com/moltinginstar/pytorch.git pull/136780/head:rand-like-generator-param returned non-zero exit code 1

To https://github.com/moltinginstar/pytorch.git
 ! [remote rejected]       pull/136780/head -> rand-like-generator-param (permission denied)
error: failed to push some refs to 'https://github.com/moltinginstar/pytorch.git'

Raised by https://github.com/pytorch/pytorch/actions/runs/11551143082

@moltinginstar
Copy link
Contributor Author

@pytorchbot rebase

@pytorch-bot
Copy link

pytorch-bot bot commented Oct 28, 2024

You don't have permissions to rebase this PR since you are a first time contributor. If you think this is a mistake, please contact PyTorch Dev Infra.

@pytorchmergebot pytorchmergebot added Reverted ci-no-td Do not run TD on this PR labels Jan 24, 2025
@pytorch-bot pytorch-bot bot dismissed stale reviews from Chillee and ezyang January 24, 2025 19:00

This PR was reopened (likely due to being reverted), so your approval was removed. Please request another review.

@ezyang
Copy link
Contributor

ezyang commented Jan 27, 2025

I'm working with the internal folks to figure out what exactly went wrong

nWEIdia pushed a commit to nWEIdia/pytorch that referenced this pull request Jan 27, 2025
@ezyang
Copy link
Contributor

ezyang commented Jan 29, 2025

@pytorchbot merge -r

@pytorch-bot
Copy link

pytorch-bot bot commented Jan 29, 2025

This PR needs to be approved by an authorized maintainer before merge.

@eellison eellison removed their request for review January 30, 2025 02:08
@ezyang
Copy link
Contributor

ezyang commented Jan 30, 2025

@pytorchbot merge -r

@pytorchmergebot
Copy link
Collaborator

@pytorchbot started a rebase job onto refs/remotes/origin/viable/strict. Check the current status here

@pytorchmergebot
Copy link
Collaborator

Successfully rebased rand-like-generator-param onto refs/remotes/origin/viable/strict, please pull locally before adding more changes (for example, via git checkout rand-like-generator-param && git pull --rebase)

@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

@pytorchmergebot
Copy link
Collaborator

Merge failed

Reason: 3 mandatory check(s) failed. The first few are:

Dig deeper by viewing the failures on hud

Details for Dev Infra team Raised by workflow job

Failing merge rule: Core Maintainers

carmocca pushed a commit to carmocca/pytorch that referenced this pull request Feb 12, 2025
@github-actions
Copy link
Contributor

Looks like this PR hasn't been updated in a while so we're going to go ahead and mark this as Stale.
Feel free to remove the Stale label if you feel this was a mistake.
If you are unable to remove the Stale label please contact a maintainer in order to do so.
If you want the bot to never mark this PR stale again, add the no-stale label.
Stale pull requests will automatically be closed after 30 days of inactivity.

@github-actions github-actions bot added the Stale label Mar 31, 2025
@moltinginstar
Copy link
Contributor Author

Hey @ezyang! Just wanted to check in on this PR. Looks like the merge failed due to something unrelated to my changes—would it be possible to re-trigger it? Let me know if there’s anything I can do to help move it along.

@github-actions github-actions bot closed this May 10, 2025
@moltinginstar
Copy link
Contributor Author

Hi @ezyang @Chillee @albanD, following up again. Since this got marked as stale and auto-closed, should I file a fresh PR, or is this feature not a priority right now?

@alexander-t-ho
Copy link

I’m interested in contributing to PyTorch by implementing the generator parameter for randn_like/rand_like/randint_like . Before I start, I wanted to confirm: 1. Is this still needed? 2. Any preferred implementation approach? 3. Who should review the PR?

@KarhouTam
Copy link
Contributor

Hi, @alexander-t-ho. This issue is solved and codes are merged already. Check #166160

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

Labels

ci-no-td Do not run TD on this PR ciflow/trunk Trigger trunk jobs on your pull request Merged module: random Related to random number generation in PyTorch (rng generator) open source release notes: python_frontend python frontend release notes category Reverted Stale triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module

Projects

None yet