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: use selected checkpoints when registering #8739

Merged
merged 2 commits into from
Jan 24, 2024

Conversation

erikwilson
Copy link
Contributor

@erikwilson erikwilson commented Jan 24, 2024

Description

We will attempt to register all of the checkpoints on a page for certain views. This PR will use only the selected checkpoints.

Test Plan

Launch an experiment like det e create ./examples/tutorials/core_api/2_checkpoints.yaml ./examples/tutorials/core_api/.

On the experiment checkpoint page click on the three dots icon (far right) to register. Make sure experiment registers successfully and that you can change the "Version Name".

Next select multiple checkpoints and perform a bulk action register for two checkpoints.

Then verify the checkpoints are correctly registered in the model registry page.

Commentary (optional)

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.

Ticket

WEB-1948

@erikwilson erikwilson added the to-cherry-pick Pull requests that need to be cherry-picked into the current release label Jan 24, 2024
@erikwilson erikwilson requested a review from a team as a code owner January 24, 2024 01:59
@cla-bot cla-bot bot added the cla-signed label Jan 24, 2024
Copy link

netlify bot commented Jan 24, 2024

Deploy Preview for determined-ui ready!

Name Link
🔨 Latest commit 5caa5f4
🔍 Latest deploy log https://app.netlify.com/sites/determined-ui/deploys/65b0727cd25b870009caec71
😎 Deploy Preview https://deploy-preview-8739--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 Jan 24, 2024

Codecov Report

Attention: 11 lines in your changes are missing coverage. Please review.

Comparison is base (d661404) 47.28% compared to head (5caa5f4) 42.13%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8739      +/-   ##
==========================================
- Coverage   47.28%   42.13%   -5.15%     
==========================================
  Files        1045      728     -317     
  Lines      166788   128185   -38603     
  Branches     2246     2246              
==========================================
- Hits        78860    54012   -24848     
+ Misses      87770    74015   -13755     
  Partials      158      158              
Flag Coverage Δ
harness ?
web 42.57% <0.00%> (-0.01%) ⬇️

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

Files Coverage Δ
...i/react/src/components/RegisterCheckpointModal.tsx 73.96% <0.00%> (ø)
.../pages/ExperimentDetails/ExperimentCheckpoints.tsx 14.42% <0.00%> (-0.18%) ⬇️

... and 317 files with indirect coverage changes

Copy link
Contributor

@hkang1 hkang1 left a comment

Choose a reason for hiding this comment

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

Awesome, thanks for fixing this!

Can confirm multiple checkpoints are registering properly in the selected model registry.

@@ -121,7 +121,7 @@ const RegisterCheckpointModal: React.FC<ModalProps> = ({
} catch (e) {
handleError(e, {
publicSubject: `Unable to register ${pluralizer(checkpoints.length, 'checkpoint')}.`,
silent: true,
silent: false,
Copy link
Contributor

Choose a reason for hiding this comment

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

I wonder why this was ever set to true...

@erikwilson erikwilson merged commit 9f06d35 into main Jan 24, 2024
74 of 85 checks passed
@erikwilson erikwilson deleted the erikw/fix/checkpoint-register-ui branch January 24, 2024 18:03
dai-release bot pushed a commit that referenced this pull request Jan 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed to-cherry-pick Pull requests that need to be cherry-picked into the current release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants