-
Notifications
You must be signed in to change notification settings - Fork 7k
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
Load only needed custom-nodes by passing it as cli args #6527
base: master
Are you sure you want to change the base?
Conversation
This would be useful to cut down iteration times when developing custom nodes since you might be restarting ComfyUI quite a lot, and moving other custom nodes out of the way every time you want to work on one of your own is a bit bothersome. |
It would be even better if a feature to load a custom node list file were provided. |
@ltdrdata you can always just do |
We need to consider multiplatform environment. |
Could you tell me more about multiplatforms? @ltdrdata I'm thinking about this mainly for serverless platforms Most of serverless ComfyUI platforms use the it is really gpu container consuming. I started to use this changes to dynamically only needed custom nodes by passing it like
And it reduces the wake up time from 3 mins to 20 secs! |
Does this feature necessarily have to be serverless? I had also envisioned this feature, but I was thinking of using it for purposes like switching node packs, testing, or switching the work environment itself. |
There are equivalents on all platforms; I think cat works directly in powershell too, as an alias to Get-Content. |
Providing different usage methods for each environment can be a challenging task. |
Our custom_nodes are becoming heavier and heavier.
to reduce the app's startup time, I suggest using this arg option.
Here is an example of usage.