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

Move log metrics call out of running optimizer step #270

Closed
wants to merge 1 commit into from

Conversation

ananthsub
Copy link
Contributor

Summary: As title, logging metrics doesn't need to be part of _run_optimizer_lr_scheduler_step.

Differential Revision: D41148824

@facebook-github-bot
Copy link
Contributor

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

1 similar comment
@facebook-github-bot
Copy link
Contributor

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

ananthsub added a commit to ananthsub/tnt that referenced this pull request Nov 10, 2022
Summary:
Pull Request resolved: pytorch#270

As title, logging metrics doesn't need to be part of `_run_optimizer_lr_scheduler_step`.

Reviewed By: daniellepintz

Differential Revision: D41148824

fbshipit-source-id: 3c2c95ca2dc6497d265c22dfe5c13e01e0ba25e6
Summary:
Pull Request resolved: pytorch#270

As title, logging metrics doesn't need to be part of `_run_optimizer_lr_scheduler_step`.

Reviewed By: daniellepintz

Differential Revision: D41148824

fbshipit-source-id: 60e62dbff754ee9d7cdd0c8b18bc1c084af6c3ef
@facebook-github-bot
Copy link
Contributor

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

@codecov
Copy link

codecov bot commented Nov 15, 2022

Codecov Report

Merging #270 (7fcb6c0) into master (a3ed317) will not change coverage.
The diff coverage is 50.00%.

@@           Coverage Diff           @@
##           master     #270   +/-   ##
=======================================
  Coverage   88.48%   88.48%           
=======================================
  Files          85       85           
  Lines        5428     5428           
=======================================
  Hits         4803     4803           
  Misses        625      625           
Impacted Files Coverage Δ
torchtnt/runner/auto_unit.py 76.19% <50.00%> (ø)

📣 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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants