ComfyUI
ComfyUI copied to clipboard
--multi-user cmd arg doesn't work properly, different output dirs for different sessions
Issue
I want to keep different directories for users accessing the single endpoint session for comfyUI.
How to Reproduce
After launching Comfy for the first time I saw this message in the console:
****** For multi-user setups add the --multi-user CLI argument to enable multiple user profiles. ******
So I restarted it with this extra argument and It seems that Comfy already has a basic user system.
It seems to be a pretty basic, file-based user system used only for settings and templates (third screenshot), but It may help us to add some authenticated user sessions.
Commands
python3 main.py --multi-user
Then when i launch session, I get to created a user
But when i generate an image, output supposed to go within the user folder as shown in screenshot. I switched to another user but the outputs are all saved in the same folder. This users stuff seems to affect only settings.
Tested on
- Mac M1 Pro & Air
- Linux machine with Nvidia enabled GPU.
Expectation
User folders should save output to each correspondence user.
Correct me if i misunderstood the use of --multi-user arg.
Ask
As a team we are using single GPU enabled machine to run all of our sessions. We want to separate the output based on different browser sessions. Is there anyway to make it possible?
This is an unimplemented feature, it is not clear if the author has any plans to add it, if there is a lack of developers, I can help implement this feature.
This is an unimplemented feature, it is not clear if the author has any plans to add it, if there is a lack of developers, I can help implement this feature.
Yes that can be important feature as I am unable to find any similar solution. Any help would be appreciated.
Any update on this?
I'm also really looking forward to this feature :)
Is there any way to set the Output dir per user profile?
I know that I can redirect the output with --output-directory
but it would be nice if I could set that to the User profile
Same here, I'm looking for a solution to nest input/output folders in a user folder since I have multiple users working with the same Comfy server.
+1 for that feature request 🙏