Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

MONAI Bundle as an isolated python library #7287

Closed
surajpaib opened this issue Dec 4, 2023 · 1 comment
Closed

MONAI Bundle as an isolated python library #7287

surajpaib opened this issue Dec 4, 2023 · 1 comment
Labels
community community issue Feedback welcomed welcome developer and community feedback (make comments or create new tickets if needed)

Comments

@surajpaib
Copy link
Contributor

Is your feature request related to a problem? Please describe.
MONAI Bundle can be used to configure a wide range of workflows, and I see that a few issues are open for configuring it in simpler/ non-Pytorch environments.

Project-MONAI/tutorials#1454
Project-MONAI/tutorials#1453

On that note, earlier this year, for a traditional ML project based on optuna, I attempted to configure my search strategies using monai bundle. However, the issue was that the bundle is tied to MONAI core, which comes with a huge set of dependencies such as pytorch (~700MB), cudnn (~700MB), cublas (~400MB), nccl (~200MB), cuparse (~200MB), etc.

Describe the solution you'd like
If I want to use a bundle for other non-pytorch projects, it seems counterintuitive for end-users to download such heavy dependencies.

Is there a plan to release the bundle as a standalone?

I personally think this would be amazing as the bundle (with its config parser, resolvers, and CLI overrides) can be a very useful tool for several workflows beyond MONAI-based deep learning. For example, this could be a potential replacement for the more complex Hydra (which we used earlier and abandoned in favor of MONAI bundle).

@KumoLiu KumoLiu added Feedback welcomed welcome developer and community feedback (make comments or create new tickets if needed) community community issue labels Dec 5, 2023
@KumoLiu
Copy link
Contributor

KumoLiu commented Dec 8, 2023

Hi @surajpaib, thanks for your interest here!
It may be hard to decouple the bundle from MONAI. You could specify your own JSON or YAML file.

@Project-MONAI Project-MONAI locked and limited conversation to collaborators Dec 8, 2023
@KumoLiu KumoLiu converted this issue into discussion #7305 Dec 8, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
community community issue Feedback welcomed welcome developer and community feedback (make comments or create new tickets if needed)
Projects
None yet
Development

No branches or pull requests

2 participants