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

Scheduler Clip Fix #7855

Merged
merged 3 commits into from
Jun 21, 2024
Merged

Conversation

virginiafdez
Copy link
Contributor

Fixes # .

Description

Fixes a bug in the inferer and adds clipping parameters to the DDIM/DDPM schedulers.

Types of changes

  • Non-breaking change (fix or new feature that would not break existing functionality).
  • Breaking change (fix or new feature that would cause existing functionality to change).
  • New tests added to cover the changes.
  • Integration tests passed locally by running ./runtests.sh -f -u --net --coverage.
  • Quick tests passed locally by running ./runtests.sh --quick --unittests --disttests.
  • In-line docstrings updated.
  • Documentation updated, tested make html command in the docs/ folder.

virginiafdez added 2 commits June 7, 2024 15:56
Signed-off-by: virginiafdez <virginia.fernandez@kcl.ac.uk>
…i-dev

Signed-off-by: virginiafdez <virginia.fernandez@kcl.ac.uk>

# Conflicts:
#	monai/networks/schedulers/ddim.py
@ericspod
Copy link
Member

One of the fails is related to #7856.

@ericspod
Copy link
Member

See #7857 for the fix that you might need here for the fails you're seeing with some tests.

@ericspod
Copy link
Member

There are too many changes for Numpy 2.0 to do so I have #7859 to force a Numpy version <2.0.

Signed-off-by: virginiafdez <virginia.fernandez@kcl.ac.uk>
Copy link
Member

@ericspod ericspod left a comment

Choose a reason for hiding this comment

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

Looks good to me, this change to requirements.txt shouldn't conflict with dev when we go to merge.

@ericspod ericspod enabled auto-merge (squash) June 19, 2024 16:33
@ericspod
Copy link
Member

ericspod commented Jun 19, 2024

@KumoLiu @Nic-Ma I think we're good to merge this into this branch, @virginiafdez can then work on merging dev into it then finally the result into dev to complete the port. If you one of you could please trigger blossom we can do the last tests. Thanks!

@Nic-Ma
Copy link
Contributor

Nic-Ma commented Jun 21, 2024

/build

@ericspod ericspod merged commit 98550c0 into Project-MONAI:gen-ai-dev Jun 21, 2024
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants