Skip to content

Conversation

mlazos
Copy link
Contributor

@mlazos mlazos commented Aug 21, 2024

Copy link

pytorch-bot bot commented Aug 21, 2024

🔗 Helpful Links

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

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

❗ 1 Active SEVs

There are 1 currently active SEVs. If your PR is affected, please view them below:

✅ No Failures

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

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

Adds support for beta1 and beta2 to be wrapped in tensor for Adam and AdamW.

Fixes #133898




[ghstack-poisoned]
@mlazos
Copy link
Contributor Author

mlazos commented Aug 27, 2024

@janeyx99 this is ready for review when you get the chance

@mlazos mlazos added ciflow/trunk Trigger trunk jobs on your pull request release notes: dynamo labels Aug 27, 2024
Adds support for beta1 and beta2 to be wrapped in tensor for Adam and AdamW.

Fixes #133898




[ghstack-poisoned]
mlazos added a commit that referenced this pull request Aug 27, 2024
ghstack-source-id: c98f70e
Pull Request resolved: #134171
Adds support for beta1 and beta2 to be wrapped in tensor for Adam and AdamW.

Fixes #133898




[ghstack-poisoned]
Adds support for beta1 and beta2 to be wrapped in tensor for Adam and AdamW.

Fixes #133898




[ghstack-poisoned]
Adds support for beta1 and beta2 to be wrapped in tensor for Adam and AdamW.

Fixes #133898




[ghstack-poisoned]
@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: 1 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

@mlazos
Copy link
Contributor Author

mlazos commented Nov 14, 2024

@janeyx99 i actually also need to downcast to bfloat16 for the same reason. I'll update the issue accordingly

Adds support for beta1 and beta2 to be wrapped in tensor for Adam and AdamW.

Fixes #133898




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

[ghstack-poisoned]
mlazos added a commit that referenced this pull request Nov 14, 2024
ghstack-source-id: 27fd1fe
Pull Request resolved: #134171

Lint fixes

Add beta1 dict

PR comments

Fix torchscript issues

Add dtype for double cases
@mlazos
Copy link
Contributor Author

mlazos commented Nov 14, 2024

@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

@pytorchmergebot
Copy link
Collaborator

The merge job was canceled or timed out. This most often happen if two merge requests were issued for the same PR, or if merge job was waiting for more than 6 hours for tests to finish. In later case, please do not hesitate to reissue the merge command
For more information see pytorch-bot wiki.

@mlazos
Copy link
Contributor Author

mlazos commented Nov 15, 2024

@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

@pytorchmergebot
Copy link
Collaborator

The merge job was canceled or timed out. This most often happen if two merge requests were issued for the same PR, or if merge job was waiting for more than 6 hours for tests to finish. In later case, please do not hesitate to reissue the merge command
For more information see pytorch-bot wiki.

@mlazos
Copy link
Contributor Author

mlazos commented Nov 15, 2024

@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

@pytorchmergebot
Copy link
Collaborator

The merge job was canceled or timed out. This most often happen if two merge requests were issued for the same PR, or if merge job was waiting for more than 6 hours for tests to finish. In later case, please do not hesitate to reissue the merge command
For more information see pytorch-bot wiki.

@mlazos
Copy link
Contributor Author

mlazos commented Nov 15, 2024

@pytorchbot merge -f "last job stuck"

@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Please use -f as last resort and instead consider -i/--ignore-current to continue the merge ignoring current failures. This will allow currently pending tests to finish and report signal before the merge.

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

@patrick-botco
Copy link

thank you all! @mlazos @janeyx99 @awgu

@mlazos
Copy link
Contributor Author

mlazos commented Nov 18, 2024

thank you all! @mlazos @janeyx99 @awgu

Yep! Lmk if you need NAdam and RAdam, or if you like you can submit a PR for those and I can review, but glad to help!

pobin6 pushed a commit to pobin6/pytorch that referenced this pull request Dec 5, 2024
Adds support for beta1 and beta2 to be wrapped in tensor for Adam and AdamW.

Fixes pytorch#133898

Pull Request resolved: pytorch#134171
Approved by: https://github.com/janeyx99
@github-actions github-actions bot deleted the gh/mlazos/77/head branch December 19, 2024 02:09
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.

recompilation of AdamW w/ OneCycleLR
5 participants