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

fix: single-searcher MNIST example runs for multiple epochs #9160

Merged
merged 2 commits into from
Apr 16, 2024

Conversation

wes-turner
Copy link
Contributor

@wes-turner wes-turner commented Apr 12, 2024

When this searcher is run for a single epoch it doesn't get a chance to report progress before the entire experiment is complete. This means that the progress bar in the web jumps from 0 to 100 in a step change.

The step-change makes it look like something is broken. This eliminates that (by switching the searcher to step on batches) and demonstrates that the progress bar is working.

MLG-1522

Ticket

Description

Test Plan

Run a single-searcher experiment using examples/tutorials/mnist_pytorch/const.yaml as config. Watch that the progress bar in the web UI goes through intermediate steps as the experiment runs (that it doesn't jump directly from 0% complete to 100%).

Checklist

  • Changes have been manually QA'd
  • User-facing API changes need the "User-facing API Change" label.
  • Release notes should be added as a separate file under docs/release-notes/.
    See Release Note for details.
  • Licenses should be included for new code which was copied and/or modified from any external code.

When this searcher is run for a single epoch it doesn't get a chance to
report progress before the entire experiment is complete. This means
that the progress bar in the web jumps from 0 to 100 in a step change.

The step-change makes it look like something is broken. This eliminates
that and demonstrates that the progress bar is working.
Copy link

netlify bot commented Apr 12, 2024

Deploy Preview for determined-ui ready!

Name Link
🔨 Latest commit 1b33ff3
🔍 Latest deploy log https://app.netlify.com/sites/determined-ui/deploys/661efb31b3938800085506a9
😎 Deploy Preview https://deploy-preview-9160--determined-ui.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

codecov bot commented Apr 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 39.66%. Comparing base (8a94574) to head (1b33ff3).
Report is 14 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #9160      +/-   ##
==========================================
- Coverage   45.72%   39.66%   -6.06%     
==========================================
  Files        1179     1026     -153     
  Lines      146795   135121   -11674     
  Branches     2420     2420              
==========================================
- Hits        67123    53601   -13522     
- Misses      79458    81306    +1848     
  Partials      214      214              
Flag Coverage Δ
harness 42.35% <ø> (-21.68%) ⬇️
web 35.82% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

see 244 files with indirect coverage changes

Copy link
Contributor

@azhou-determined azhou-determined left a comment

Choose a reason for hiding this comment

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

lgtm

@wes-turner wes-turner merged commit 0fc247c into main Apr 16, 2024
56 of 82 checks passed
@wes-turner wes-turner deleted the wes/pytorch-const-length branch April 16, 2024 22:35
JComins000 pushed a commit that referenced this pull request Apr 22, 2024
When this searcher is run for a single epoch it doesn't get a chance to report progress before the entire experiment is complete. This means that the progress bar in the web jumps from 0 to 100 in a step change.

The step-change makes it look like something is broken. This eliminates that (by switching the searcher to step on batches) and demonstrates that the progress bar is working.
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