Adds DiffusionUNet3D and its modules to physicsnemo.experimental#1616
Conversation
Signed-off-by: Charlelie Laurent <claurent@nvidia.com>
Greptile SummaryThis PR adds
Important Files Changed
|
Signed-off-by: Charlelie Laurent <claurent@nvidia.com>
Signed-off-by: Charlelie Laurent <claurent@nvidia.com>
Signed-off-by: Charlelie Laurent <claurent@nvidia.com>
|
/ok to test 194214d |
pzharrington
left a comment
There was a problem hiding this comment.
Largely looks good to me. Regarding ShardTensor, I don't see any issues that would present problems, the patterns seem to pretty closely follow the 2D SongUNet patterns and we know that works. For maximum sanity, you could add some domain parallelism tests explicitly targeting this architecture.
Signed-off-by: Charlelie Laurent <claurent@nvidia.com>
Signed-off-by: Charlelie Laurent <claurent@nvidia.com>
Good idea, added two sanity tests in 477acd9 under |
|
/blossom-ci |
coreyjadams
left a comment
There was a problem hiding this comment.
Approving for the domain parallelism tests, thanks for adding those. Recommend you increase the size along the domain parallel dimension a bit but otherwise looks good to me.
Signed-off-by: Charlelie Laurent <claurent@nvidia.com>
|
/blossom-ci |
PhysicsNeMo Pull Request
Description
Replaces #1220 from @AbVishwas, which had diverged too much from
main.This PR enables training and sampling diffusion models on 3D structured domains (volumetric or grid-based scientific data) with the addition of a
DiffusionUNet3Dbackbone, which satisfies theDiffusionModelprotocol and plugs straight into the existing preconditioners, losses, and samplers inphysicsnemo.diffusion. Conditioning is exposed through a singleTensorDictargument with optional"vector"and"volume"keys. The PR also adds reusable 3D building blocks (Conv3D,GroupNorm3D,UNetAttention3D,UNetBlock3D) underphysicsnemo.experimental.nnthat can be composed for other 3D architectures.Checklist
Dependencies
Review Process
All PRs are reviewed by the PhysicsNeMo team before merging.
Depending on which files are changed, GitHub may automatically assign a maintainer for review.
We are also testing AI-based code review tools (e.g., Greptile), which may add automated comments with a confidence score.
This score reflects the AI’s assessment of merge readiness and is not a qualitative judgment of your work, nor is
it an indication that the PR will be accepted / rejected.
AI-generated feedback should be reviewed critically for usefulness.
You are not required to respond to every AI comment, but they are intended to help both authors and reviewers.
Please react to Greptile comments with 👍 or 👎 to provide feedback on their accuracy.