Skip to content
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

--multi-user cmd arg doesn't work properly, different output dirs for different sessions #3417

Open
ashish-aesthisia opened this issue May 7, 2024 · 2 comments

Comments

@ashish-aesthisia
Copy link

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.

image (28)

Commands

python3 main.py --multi-user

Then when i launch session, I get to created a user

image (29)

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?

@a67793581
Copy link

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.

@ashish-aesthisia
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants