Skip to content

[WIP][CheatSheet] update out of place ops, update act fn, optimzers, schedulers, samplers #989

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 21, 2021

Conversation

ptrblck
Copy link
Contributor

@ptrblck ptrblck commented May 11, 2020

Added some update to out-of-place tensor operations as well as some updates to

  • activation functions
  • optimizers
  • schedulers
  • samplers

CC @jspisak

Let me know, if these changes look OK and I can add them to the PyTorch Cheat.md.
Tagging this PR as WIP for now.

@netlify
Copy link

netlify bot commented May 11, 2020

Deploy preview for pytorch-tutorials-preview ready!

Built with commit 3dc73d3

https://deploy-preview-989--pytorch-tutorials-preview.netlify.app

Copy link
Contributor

@jspisak jspisak left a comment

Choose a reason for hiding this comment

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

thanks @ptrblck! It had been well over a year since we put together the first cheatsheet so this is a great refresh.

cc @jlin27 - do you know why netlify is failing? for this one, i dont think we necessarily need it but it seems to be generally down.. :(

@ptrblck
Copy link
Contributor Author

ptrblck commented May 11, 2020

Could it be failing, because I would need to add the same changes to this file: https://github.com/pytorch/tutorials/blob/master/beginner_source/PyTorch%20Cheat.md ?

@ptrblck
Copy link
Contributor Author

ptrblck commented May 11, 2020

If the changes look OK, I'll add the same diffs to the other mentioned file later tonight.

@jspisak
Copy link
Contributor

jspisak commented May 11, 2020

yes, we should actually be updating the .md file. Thanks!

@jlin27
Copy link
Contributor

jlin27 commented May 12, 2020

Let me look into the Netlify builds. I cleared the cache and rebuild which usually clears it up.

Thanks @ptrblck for these updates!
Do either of you know why there are two cheatsheet files - PyTorch Cheat.md and ptcheat.rst? Currently the index.rst links to the one generated from the rst file - beginner/ptcheat.html but if we should use the .md one instead, I can update it in the index.rst.

@ptrblck
Copy link
Contributor Author

ptrblck commented May 12, 2020

@jlin27 Thanks for looking into it!
I'm not sure why there are two files, but I saw that both seem to have commits.
I've just updated one file and can update the other one in a follow-up PR, if necessary.

@facebook-github-bot
Copy link
Contributor

Hi @ptrblck!

Thank you for your pull request. We require contributors to sign our Contributor License Agreement, and yours needs attention.

You currently have a record in our system, but we do not have a signature on file.

In order for us to review and merge your code, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.

If you have received this in error or have any questions, please contact us at cla@fb.com. Thanks!

Base automatically changed from master to main February 16, 2021 19:33
Base automatically changed from main to master February 16, 2021 19:37
@facebook-github-bot
Copy link
Contributor

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!

@jspisak jspisak merged commit ee6256c into pytorch:master Mar 21, 2021
rodrigo-techera pushed a commit to Experience-Monks/tutorials that referenced this pull request Nov 29, 2021
…rs (pytorch#989)

Co-authored-by: pbialecki <pbialecki@nvidia.com>
Co-authored-by: Jessica Lin <jplin@fb.com>
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