Skip to content

[ComfyUI] Missing progress bar in Sampler node (docker related) #428

@divens

Description

@divens

Has this issue been opened before?

  • It is not in the FAQ, I checked.
  • It is not in the issues, I searched.

Describe the bug

Normally when you run ComfyUI from a local install, you get a progress bar in the sampling node like in this screenshot:

image

When running ComfyUI from the container built with this repo, we don't get the progress bar

image

It comes down to an issue with tqdm which Comfy piggybacks on to pass the progress from server to client.

To fix it, you have to declare a tty on the comfy service (will open a PR for that).

Which UI

comfy

Hardware / Software

  • OS: Windows 11
  • OS version: 22H2 | 22621.1555
  • WSL version (if applicable): WSL2 / Ubuntu-22.04
  • Docker Version: Docker Desktop v4.18.0
  • Docker compose version: v2.17.2
  • Repo version: 076b574

Steps to Reproduce

git clone https://github.com/AbdBarho/stable-diffusion-webui-docker/
docker compose --profile download up --build
docker compose --profile comfy up --build
open browser to localhost:7860
click on "Queue Prompt" button (there is a default workflow when you open Comfy for the first time)
watch the green outline go from node to node and see there is no progress on Sample node

Additional context

For what it's worth, this can be sidestepped without change by using docker compose run instead of docker compose up, but then you get a new container every time, and you have to modify the compose command from what is in the documentation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions