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

CorrDiff Refactoring Part II #629

Merged
merged 20 commits into from
Aug 13, 2024
Merged

Conversation

mnabian
Copy link
Collaborator

@mnabian mnabian commented Aug 5, 2024

Modulus Pull Request

Description

  • Refactor the generation script.
  • Update the README
  • Remove class conditioning
  • Better handling of the configs for generation

Closes #313, #633, #639

Checklist

  • I am familiar with the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.
  • The CHANGELOG.md is up to date with these changes.
  • An issue is linked to this pull request.

Dependencies

@mnabian mnabian self-assigned this Aug 5, 2024
@mnabian mnabian changed the title CorrDiff: Refactor inference CorrDiff Refactoring Part II Aug 7, 2024
Copy link
Collaborator

@nbren12 nbren12 left a comment

Choose a reason for hiding this comment

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

Overall looks good to me. It's good to flatten the function calls in generate.py into a single main.

modulus/utils/corrdiff/utils.py Show resolved Hide resolved
Copy link
Collaborator

@jleinonen jleinonen left a comment

Choose a reason for hiding this comment

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

I left a few comments, but overall looks very good!

examples/generative/corrdiff/README.md Show resolved Hide resolved
examples/generative/corrdiff/conf/config_generate.yaml Outdated Show resolved Hide resolved
examples/generative/corrdiff/train.py Outdated Show resolved Hide resolved
modulus/models/diffusion/preconditioning.py Show resolved Hide resolved
modulus/utils/corrdiff/utils.py Show resolved Hide resolved
@mnabian
Copy link
Collaborator Author

mnabian commented Aug 13, 2024

/blossom-ci

@mnabian
Copy link
Collaborator Author

mnabian commented Aug 13, 2024

/blossom-ci

1 similar comment
@mnabian
Copy link
Collaborator Author

mnabian commented Aug 13, 2024

/blossom-ci

@mnabian
Copy link
Collaborator Author

mnabian commented Aug 13, 2024

/blossom-ci

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.

🚀[FEA]: Modularize CorrDiff inference and move into the main package
3 participants