Project-MONAI / Project-MONAI/MONAI
Create "Inferer" class for Diffusion Models specifically
Open
@virginiafdez is already working on this.
Since Sep 5, 2025.
GenerativeModels
- Dominant language
- Python
- Stars
- 8.7k
- Forks
- 1.6k
- Avg merge
- 5d 1h
- Merged PRs (30d)
- 20
Description
To make the concept of "Inferer" classes more clear, diffusion model inferers, which all follow a specific signature and are required both to train diffusion models and run inference from them, should be separated from the other inferers.
Currently, they all sit in the same class: inferers.py.
Describe the solution you'd like
A separate inferer class for diffusion models.
Additional context
This was part of the requirements for porting Generative Models to Core.
Considerations
- Modify diffusion models class
- Modify every call to inferers
- Solve twin issue in MONAI tutorials: https://github.com/Project-MONAI/tutorials/issues/2027
- Solve twin issue in MONAI model zoo: https://github.com/Project-MONAI/model-zoo/issues/765
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.