Skip to content
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

Re-run MOMF tutorial and make it look nicer #1718

Closed
wants to merge 1 commit into from

Conversation

esantorella
Copy link
Member

Summary:
I am about to make more substantive changes to this tutorial in a subsequent diff. To make that future diff easier to review, I made some hopefully-less-controversial changes and re-ran the tutorial first.

  • Added %%time to a couple cells, and tqdm progress bars, removed print statements tracking how far iteration has gotten
  • Removed unused function arguments
  • Tidied up odd-looking formatting of comments and docstrings
  • Set seed so it's the same every time (which will be useful when confirming the speed-ups in the next diff don't make things worse)
  • Ran it

Differential Revision: D43708102

Summary:
I am about to make more substantive changes to this tutorial in a subsequent diff. To make that future diff easier to review, I made some hopefully-less-controversial changes and re-ran the tutorial first.

- Added %%time to a couple cells, and tqdm progress bars, removed print statements tracking how far iteration has gotten
- Removed unused function arguments
- Tidied up odd-looking formatting of comments and docstrings
- Set seed so it's the same every time (which will be useful when confirming the speed-ups in the next diff don't make things worse)
- Ran it

Differential Revision: D43708102

fbshipit-source-id: 05d18ef00efe7014aa4cd489203e83928688f013
@facebook-github-bot facebook-github-bot added CLA Signed Do not delete this pull request or issue due to inactivity. fb-exported labels Mar 3, 2023
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D43708102

@codecov
Copy link

codecov bot commented Mar 3, 2023

Codecov Report

Merging #1718 (8db34a2) into main (ba90c9b) will not change coverage.
The diff coverage is n/a.

❗ Current head 8db34a2 differs from pull request most recent head 64c02fe. Consider uploading reports for the commit 64c02fe to get more accurate results

@@            Coverage Diff            @@
##              main     #1718   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          170       170           
  Lines        14621     14621           
=========================================
  Hits         14621     14621           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Do not delete this pull request or issue due to inactivity. fb-exported
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants