[Template Bug]: Ovis text-to-image generating same style/content images

Open
#427 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
42/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
ubuntu
Domain
tooling

Research direction

Start with the ovis_text_to_image template and compare its Nodes 2.0 subgraph configuration with the full workflow, using the attached reproduction and logs. Verify that changing the prompt in subgraph mode changes the generated content and style, while the existing full-workflow behavior still works.

Written by the indexing model from the issue text.

Description

bug
Confirmation
  • I have confirmed this is a workflow template mistake
Template Name

ovis_text_to_image

Problem Description

In subgraph mode this template only generates kids with balloons. Like the prompt is not passed to it. In full workflow mode it works fine, however. Running ComfyUI under Ubuntu 24.04. See attachment, please.

Image
ComfyUI Mode

Nodes 2.0 Mode

Error Message / Logs
got prompt
Using pytorch attention in VAE
Using pytorch attention in VAE
VAE load device: cuda:0, offload device: cpu, dtype: torch.bfloat16
CLIP/text encoder model load device: cuda:0, offload device: cpu, current: cpu, dtype: torch.float16
Requested to load OvisTEModel_
loaded completely; 22440.30 MB usable, 3281.74 MB loaded, full load: True
model weight dtype torch.bfloat16, manual cast: None
model_type FLOW
Requested to load Flux
loaded completely; 18961.96 MB usable, 14058.02 MB loaded, full load: True
100%|██████████| 20/20 [00:31<00:00,  1.57s/it]
Requested to load AutoencodingEngine
loaded completely; 1563.74 MB usable, 159.87 MB loaded, full load: True
Prompt executed in 39.02 seconds
got prompt
100%|██████████| 20/20 [00:31<00:00,  1.57s/it]
Prompt executed in 33.62 seconds
got prompt
100%|██████████| 20/20 [00:32<00:00,  1.63s/it]
Prompt executed in 34.88 seconds
got prompt
100%|██████████| 20/20 [00:31<00:00,  1.58s/it]
Prompt executed in 33.75 seconds
Dominant language
TypeScript
Stars
1.5k
Forks
270
Avg merge
7h 23m
Merged PRs (30d)
65

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Comfy-Org/workflow_templates

All issues in Comfy-Org/workflow_templates

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.