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

Combined image with WebUI #3

Open
ddpasa opened this issue Aug 21, 2024 · 8 comments
Open

Combined image with WebUI #3

ddpasa opened this issue Aug 21, 2024 · 8 comments

Comments

@ddpasa
Copy link

ddpasa commented Aug 21, 2024

It is nice to combine Automatic1111 WebUI together with Kohya, mainly to test the models in between training. Is this possible to merge the two docker images into a single one?

@chrissy0
Copy link

I'm also looking for this

@robballantyne
Copy link
Member

@ddpasa @chrissy0 I've been really busy and missed the issue. Sorry about that.

I can add this as it seems to make sense, but would Forge suffice? There seems to be more development going on there, particularly for Flux and it's otherwise A1111 compatible.

Interested in your thoughts

@chrissy0
Copy link

I'm not familiar with the differences, but as long as the basic functionality is similar I'm totally fine with both. I just want to avoid renting two GPUs at the same time for a task that can easily be done on a single GPU. Thanks for your great work btw.

@ddpasa
Copy link
Author

ddpasa commented Sep 15, 2024

@ddpasa @chrissy0 I've been really busy and missed the issue. Sorry about that.

I can add this as it seems to make sense, but would Forge suffice? There seems to be more development going on there, particularly for Flux and it's otherwise A1111 compatible.

Interested in your thoughts

Forge makes more sense. For example forge already supports Flux but Automatic1111 is still lagging.

@lutzapps
Copy link

lutzapps commented Oct 3, 2024

I would opt for a combination of "FORGE + ComfyUI + Kohya_ss"

  • Kohya_ss for training a LoRA (potentially it will be a FLUX LoRA anyway most of the times)
  • FORGE for testing the LoRA model and compare different LoRA epochs with S&R X/Y/Z
  • ComfyUI for really using your custom LoRA with FLUX

During a training you still could play or prepare a ComfyUI workflow while waiting, and all FLUX models could be shared between all 3 environments. THAT would be my wish from @robballantyne ;-)

@paulpierre
Copy link

paulpierre commented Nov 19, 2024

I second this. I'm trying to run both docker-compose manifests for ComfyUI and Forge and despite setting offset ports, I'm getting errors with syncthing

supervisor_1  | [start] 2024/11/19 12:56:40 WARNING: Error opening database: resource temporarily unavailable (is another instance of Syncthing running?)

so effectively i can only run one docker-compose instance at a time.

cross-compat on the same VM would be nice or even a single docker-image.

great work btw. you're a mensch for making this for the rest of us 👏👏👏

@robballantyne
Copy link
Member

@paulpierre pass SUPERVISOR_NO_AUTOSTART="syncthing" to one of the containers.

This variable takes a comma delimited string of services you don't want to start.

This is the first move towards separating the services over several images - Focus has always been on the all-in-one image required by some cloud platforms but it's not ideal when orchestrating locally and some services simply don't make sense on a local machine

@paulpierre
Copy link

@paulpierre pass SUPERVISOR_NO_AUTOSTART="syncthing" to one of the containers.

This variable takes a comma delimited string of services you don't want to start.

This is the first move towards separating the services over several images - Focus has always been on the all-in-one image required by some cloud platforms but it's not ideal when orchestrating locally and some services simply don't make sense on a local machine

worked 👌

for anyone else wondering, add "SUPERVISOR_NO_AUTOSTART=jupyter,syncthing" to the environment: key in docker-compose.yaml

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

5 participants